mirror of
https://github.com/moses-smt/mosesdecoder.git
synced 2024-12-29 15:04:05 +03:00
15 lines
400 B
C++
15 lines
400 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, 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);
|
|
|
|
} // namespace util
|
|
|
|
#endif // UTIL_MURMUR_HASH__
|