blob: 638aaeb22fe8335351ee2bd4e95be043bcdcd24a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
#ifndef UTIL_MURMUR_HASH__
#define UTIL_MURMUR_HASH__
#include <cstddef>
#include <stdint.h>
namespace util {
uint64_t MurmurHash64A(const void * key, std::size_t len, unsigned int seed = 0);
uint64_t MurmurHash64B(const void * key, std::size_t len, unsigned int seed = 0);
uint64_t MurmurHashNative(const void * key, std::size_t len, unsigned int seed = 0);
} // namespace util
#endif // UTIL_MURMUR_HASH__
|