Some utils. More...
#include <string_view>#include <toml++/toml.h>#include <vector>

Classes | |
| class | OmniSketch::Util::ConfigParser |
| Parse config file and return its configurations in a versatile manner. More... | |
| class | OmniSketch::Util::DynamicIntX< T > |
| Integer of any fixed length. More... | |
Namespaces | |
| OmniSketch | |
| OmniSketch::Util | |
| Utils of manipulating integers, parsing configuration files and so on. | |
Macros | |
| #define | MANGLE_MAGIC ((int32_t)2083697005) |
Functions | |
| template<typename T > | |
| T | OmniSketch::Util::Mangle (T key) |
| Mangling a multi-byte object. More... | |
| bool | OmniSketch::Util::IsPrime (int32_t n) |
| Compute primality of a 32-bit number. More... | |
| int32_t | OmniSketch::Util::NextPrime (int32_t n) |
| Find the next prime number. More... | |
| uint16_t | OmniSketch::Util::Net2Host16 (uint16_t val) |
| Convert a 2-byte word from network endian to the host endian. More... | |
| uint32_t | OmniSketch::Util::Net2Host32 (uint32_t val) |
| Convert a 4-byte word from network endian to host endian. More... | |
| bool | OmniSketch::Util::Endianness () |
| Endianness of the platform. More... | |
Some utils.
| #define MANGLE_MAGIC ((int32_t)2083697005) |