![]() |
Open CASCADE Technology Reference Manual 8.0.0
|
Implementation of Murmur hash with autodetect of sizeof(size_t). More...
Functions | |
| uint32_t | MurmurHash2A (const void *theKey, int theLen, uint32_t theSeed) noexcept |
| uint64_t | MurmurHash64A (const void *theKey, int theLen, uint64_t theSeed) noexcept |
| template<typename T1 , typename T = size_t> | |
| std::enable_if< sizeof(T)==8, uint64_t >::type | hash_combine (const T1 &theValue, const int theLen=sizeof(T1), const T theSeed=0xA329F1D3A586ULL) noexcept |
| template<typename T1 , typename T = size_t> | |
| std::enable_if< sizeof(T)!=8, T >::type | hash_combine (const T1 &theValue, const int theLen=sizeof(T1), const T theSeed=0xc70f6907U) noexcept |
| template<typename T = size_t> | |
| constexpr T | optimalSeed () noexcept |
Implementation of Murmur hash with autodetect of sizeof(size_t).
The default value for the seed is optimal for general cases at a certain hash size.
|
noexcept |
|
noexcept |
|
noexcept |
|
noexcept |