17 k = (k << 15) | (k >> 17);
24 h = (h << 13) | (h >> 19);
25 h = h * 5 + 0xe6546b64;
32 h = (h << 13) | (h >> 19);
33 h = h * 5 + 0xe6546b64;
36 h = (h << 13) | (h >> 19);
37 h = h * 5 + 0xe6546b64;
83 static_assert(std::is_signed<T>::value || std::is_unsigned<T>::value,
"please provide your own hash function");
86 for (
hash_t i = 0; i <
sizeof(T); ++i) {
87 hash_t octet = val & 0xff_u32;
hash_t murmur_32_scramble(hash_t k)
hash_t hash_combine(hash_t seed, T v)
Returns a new hash by combining the hash seed with val.
hash_t murmur3(hash_t h, uint32_t key)
hash_t hash(const char *)
hash_t murmur3_finalize(hash_t h, hash_t len)
hash_t murmur3_rest(hash_t h, uint8_t key)
static const hash_t offset
static const hash_t prime