mirror of
https://github.com/moses-smt/mosesdecoder.git
synced 2024-11-10 10:59:21 +03:00
15 lines
412 B
C++
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__
|