A Discrete-Event Network Simulator
API
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
ns3::Hash::Function::Murmur3Implementation Namespace Reference

Murmur3 hash implementation details. More...

Functions

uint32_t fmix (uint32_t h)
 Finalization mix - force all bits of a hash block to avalanche. More...
 
uint64_t fmix (uint64_t h)
 Finalization mix - force all bits of a hash block to avalanche. More...
 
uint32_t getblock (const uint32_t *p, int i)
 Block read. More...
 
uint64_t getblock (const uint64_t *p, int i)
 Block read. More...
 
void MurmurHash3_x64_128 (const void *key, const int len, const uint32_t seed, void *out)
 Initial and incremental hash. More...
 
void MurmurHash3_x86_128 (const void *key, const int len, uint32_t seed, void *out)
 Initial and incremental hash. More...
 
void MurmurHash3_x86_128_fin (const int len, uint32_t *seeds, void *out)
 Finalize a hash. More...
 
void MurmurHash3_x86_128_incr (const void *key, const int len, uint32_t *seeds, void *out)
 Initial and incremental hash. More...
 
void MurmurHash3_x86_32 (const void *key, int len, uint32_t seed, void *out)
 Initial and incremental hash. More...
 
void MurmurHash3_x86_32_fin (int len, uint32_t seed, void *out)
 Finalize a hash. More...
 
void MurmurHash3_x86_32_incr (const void *key, int len, uint32_t seed, void *out)
 Initial and incremental hash. More...
 
uint32_t rotl32 (uint32_t x, int8_t r)
 Barrel shift (rotate) left on 32 bits. More...
 
uint64_t rotl64 (uint64_t x, int8_t r)
 Barrel shift (rotate) left on 64 bits. More...
 

Detailed Description

Murmur3 hash implementation details.