xxhash namespace.
More...
|
constexpr hash< 32 >::hash_type | xxh32 (const char *buf, std::size_t len, hash< 32 >::hash_type seed) |
| xxHash32.
|
|
constexpr hash< 64 >::hash_type | xxh64 (const char *buf, std::size_t len, hash< 64 >::hash_type seed) |
| xxHash64.
|
|
constexpr hash< 32 >::hash_type | operator""_xxh32 (const char *str, std::size_t len) |
| user defined literals - xxHash32.
|
|
constexpr hash< 64 >::hash_type | operator""_xxh64 (const char *str, std::size_t len) |
| user defined literals - xxHash64.
|
|
◆ xxh32()
hash< 32 >::hash_type xxhash::xxh32 |
( |
const char * | buf, |
|
|
std::size_t | len, |
|
|
hash< 32 >::hash_type | seed ) |
|
constexpr |
xxHash32.
- Parameters
-
buf | data. |
len | data length(byte). |
seed | seed. |
- Returns
- xxHash32
◆ xxh64()
hash< 64 >::hash_type xxhash::xxh64 |
( |
const char * | buf, |
|
|
std::size_t | len, |
|
|
hash< 64 >::hash_type | seed ) |
|
constexpr |
xxHash64.
- Parameters
-
buf | data. |
len | data length(byte). |
seed | seed. |
- Returns
- xxHash64