std::hash< EntropyEngine::Networking::PropertyHash >
std::hash< EntropyEngine::Networking::PropertyHash >
Section titled “std::hash< EntropyEngine::Networking::PropertyHash >”Public Functions
Section titled “Public Functions”| 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 |
Public Attributes
Section titled “Public Attributes”| 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) |
Public Functions Documentation
Section titled “Public Functions Documentation”function splitmix64
Section titled “function splitmix64”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.
function operator()
Section titled “function operator()”inline size_t operator()( const EntropyEngine::Networking::PropertyHash & h) constPublic Attributes Documentation
Section titled “Public Attributes Documentation”variable SPLITMIX64_MIX2
Section titled “variable SPLITMIX64_MIX2”static uint64_t SPLITMIX64_MIX2 = 0x94d049bb133111ebull;variable SPLITMIX64_MIX1
Section titled “variable SPLITMIX64_MIX1”static uint64_t SPLITMIX64_MIX1 = 0xbf58476d1ce4e5b9ull;variable GOLDEN_RATIO_64
Section titled “variable GOLDEN_RATIO_64”static uint64_t GOLDEN_RATIO_64 = 0x9e3779b97f4a7c15ull;Updated on 2026-01-26 at 17:14:35 -0500