2010-09-15 01:33:11 +04:00
|
|
|
#ifndef UTIL_MURMUR_HASH__
|
|
|
|
#define UTIL_MURMUR_HASH__
|
|
|
|
#include <cstddef>
|
2011-11-12 02:24:25 +04:00
|
|
|
#include <stdint.h>
|
2010-09-10 04:36:07 +04:00
|
|
|
|
2010-09-15 01:33:11 +04:00
|
|
|
namespace util {
|
2010-09-10 04:36:07 +04:00
|
|
|
|
2012-06-28 18:58:59 +04:00
|
|
|
uint64_t MurmurHash64A(const void * key, std::size_t len, uint64_t seed = 0);
|
|
|
|
uint64_t MurmurHash64B(const void * key, std::size_t len, uint64_t seed = 0);
|
|
|
|
uint64_t MurmurHashNative(const void * key, std::size_t len, uint64_t seed = 0);
|
2010-09-15 01:33:11 +04:00
|
|
|
|
|
|
|
} // namespace util
|
|
|
|
|
|
|
|
#endif // UTIL_MURMUR_HASH__
|