3#include "CombBLAS/hash.hpp"
8 return ((value) << (
amount)) | ((value) >> (64 - (
amount)));
15 if (
len <= 0 || data ==
NULL)
return 0;
24 hash = (hash << 16) ^
tmp;
33 hash ^= data[
sizeof (
uint16_t)] << 18;
40 case 1: hash += *data;
100 k *= 0xff51afd7ed558ccd;
102 k *= 0xc4ceb9fe1a85ec53;
124 for(
int i = 0; i <
nblocks; i++)
uint64_t getblock(const uint64_t *p, int i)
void MurmurHash3_x64_32(const void *key, int len, uint32_t seed, void *out)
void MurmurHash3_x64_64(const void *key, int len, uint32_t seed, void *out)
uint64_t fmix64(uint64_t k)
void MurmurHash3_x64_128(const void *key, const int len, const uint32_t seed, void *out)
uint32_t SuperFastHash(const char *data, int len)
void bmix64(uint64_t &h1, uint64_t &h2, uint64_t &k1, uint64_t &k2, uint64_t &c1, uint64_t &c2)
uint64_t _rotl64(uint64_t value, int8_t amount)
unsigned __int64 uint64_t