Skip to content

std::hash< EntropyEngine::Networking::PropertyHash >

std::hash< EntropyEngine::Networking::PropertyHash >

Section titled “std::hash< EntropyEngine::Networking::PropertyHash >”
Name
uint64_t[splitmix64](/api/std/hash< EntropyEngine/Networking/PropertyHash >/#function-splitmix64)(uint64_t x)
SplitMix64 hash mixing function.
size_t[operator()](/api/std/hash< EntropyEngine/Networking/PropertyHash >/#function-operator())(const EntropyEngine::Networking::PropertyHash & h) const
Name
uint64_t[SPLITMIX64_MIX2](/api/std/hash< EntropyEngine/Networking/PropertyHash >/#variable-splitmix64-mix2)
uint64_t[SPLITMIX64_MIX1](/api/std/hash< EntropyEngine/Networking/PropertyHash >/#variable-splitmix64-mix1)
uint64_t[GOLDEN_RATIO_64](/api/std/hash< EntropyEngine/Networking/PropertyHash >/#variable-golden-ratio-64)
static inline uint64_t splitmix64(
uint64_t x
)

SplitMix64 hash mixing function.

Parameters:

  • x Input value to mix

See: https://xorshift.di.unimi.it/splitmix64.c

Return: Mixed 64-bit hash value with good distribution

High-quality 64-bit hash finalizer from the SplitMix64 PRNG algorithm. Used to distribute combined hash bits uniformly across the hash space.

The constants and bit operations provide excellent avalanche properties, ensuring small changes in input produce large changes in output.

inline size_t operator()(
const EntropyEngine::Networking::PropertyHash & h
) const
static uint64_t SPLITMIX64_MIX2 = 0x94d049bb133111ebull;
static uint64_t SPLITMIX64_MIX1 = 0xbf58476d1ce4e5b9ull;
static uint64_t GOLDEN_RATIO_64 = 0x9e3779b97f4a7c15ull;

Updated on 2026-01-26 at 17:14:35 -0500