|
ATLAS Offline Software
|
Go to the documentation of this file.
15 #ifndef CXXUTILS_MURMURHASH2_H
16 #define CXXUTILS_MURMURHASH2_H
29 #define MurmurHash_mmix(h,k) { k *= M; k ^= k >> R; k *= M; h *= M; h ^= k; }
71 void Add (
const unsigned char *
data,
int len )
105 static constexpr
int R = 24;
109 while( len && ((len<4) ||
m_count) )
135 #endif // not CXXUTILS_MURMURHASH2_H
uint64_t MurmurHash64A(const void *key, int len, uint64_t seed)
char data[hepevt_bytes_allocation_ATLAS]
void Begin(uint32_t seed=0)
#define MurmurHash_mmix(h, k)
uint32_t MurmurHashAligned2(const void *key, int len, uint32_t seed)
void MixTail(const unsigned char *&data, int &len)
uint32_t MurmurHash2(const void *key, int len, uint32_t seed)
uint64_t MurmurHash64B(const void *key, int len, uint64_t seed)
uint32_t MurmurHashNeutral2(const void *key, int len, uint32_t seed)
void Add(const unsigned char *data, int len)
uint32_t MurmurHash2A(const void *key, int len, uint32_t seed)
static constexpr uint32_t M