55#ifndef MY_HASH_COMBINE_INCLUDED
56#define MY_HASH_COMBINE_INCLUDED
59#define MY_FUNCTIONAL_HASH_ROTL32(x, r) _rotl(x, r)
61#define MY_FUNCTIONAL_HASH_ROTL32(x, r) (x << r) | (x >> (32 - r))
66template <
typename SizeT>
68 seed ^= value + 0x9e3779b9 + (seed << 6) + (seed >> 2);
72 const uint32_t c1 = 0xcc9e2d51;
73 const uint32_t c2 = 0x1b873593;
81 h1 = h1 * 5 + 0xe6546b64;
85 const uint64_t m = 0xc6a4a7935bd1e995ull;
#define MY_FUNCTIONAL_HASH_ROTL32(x, r)
Definition: my_hash_combine.h:61
void my_hash_combine(SizeT &seed, SizeT value)
Definition: my_hash_combine.h:67
const mysql_service_registry_t * r
Definition: pfs_example_plugin_employee.cc:86