mosesdecoder/kenlm/util/murmur_hash.hh
Hieu Hoang a93f4691f6 win32
2011-10-23 09:37:47 +07:00

15 lines
412 B
C++

#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__