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

Functions

uint32_t fmix (uint32_t h)
 
uint64_t fmix (uint64_t k)
 
uint32_t getblock (const uint32_t *p, int i)
 
uint64_t getblock (const uint64_t *p, int i)
 
void MurmurHash3_x64_128 (const void *key, const int len, const uint32_t seed, void *out)
 
void MurmurHash3_x86_128 (const void *key, const int len, uint32_t seed, void *out)
 
void MurmurHash3_x86_128_fin (const int len, uint32_t *seeds, void *out)
 
void MurmurHash3_x86_128_incr (const void *key, const int len, uint32_t *seeds, void *out)
 
void MurmurHash3_x86_32 (const void *key, int len, uint32_t seed, void *out)
 
void MurmurHash3_x86_32_fin (int len, uint32_t seed, void *out)
 
void MurmurHash3_x86_32_incr (const void *key, int len, uint32_t seed, void *out)
 
uint32_t rotl32 (uint32_t x, int8_t r)
 
uint64_t rotl64 (uint64_t x, int8_t r)
 

Function Documentation

uint32_t ns3::Hash::Function::Murmur3Implementation::fmix ( uint32_t  h)
inline

Definition at line 98 of file hash-murmur3.cc.

Referenced by MurmurHash3_x64_128(), MurmurHash3_x86_128_fin(), and MurmurHash3_x86_32_fin().

+ Here is the caller graph for this function:

uint64_t ns3::Hash::Function::Murmur3Implementation::fmix ( uint64_t  k)
inline

Definition at line 111 of file hash-murmur3.cc.

References BIG_CONSTANT.

uint32_t ns3::Hash::Function::Murmur3Implementation::getblock ( const uint32_t *  p,
int  i 
)
inline

Definition at line 85 of file hash-murmur3.cc.

Referenced by MurmurHash3_x64_128(), MurmurHash3_x86_128_incr(), and MurmurHash3_x86_32_incr().

+ Here is the caller graph for this function:

uint64_t ns3::Hash::Function::Murmur3Implementation::getblock ( const uint64_t *  p,
int  i 
)
inline

Definition at line 90 of file hash-murmur3.cc.

void ns3::Hash::Function::Murmur3Implementation::MurmurHash3_x64_128 ( const void *  key,
const int  len,
const uint32_t  seed,
void *  out 
)

Definition at line 341 of file hash-murmur3.cc.

References BIG_CONSTANT, data, fmix(), getblock(), and rotl64().

+ Here is the call graph for this function:

void ns3::Hash::Function::Murmur3Implementation::MurmurHash3_x86_128 ( const void *  key,
const int  len,
uint32_t  seed,
void *  out 
)

Definition at line 211 of file hash-murmur3.cc.

References MurmurHash3_x86_128_fin(), and MurmurHash3_x86_128_incr().

+ Here is the call graph for this function:

void ns3::Hash::Function::Murmur3Implementation::MurmurHash3_x86_128_fin ( const int  len,
uint32_t *  seeds,
void *  out 
)

Definition at line 309 of file hash-murmur3.cc.

References fmix().

Referenced by ns3::Hash::Function::Murmur3::GetHash64(), and MurmurHash3_x86_128().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void ns3::Hash::Function::Murmur3Implementation::MurmurHash3_x86_128_incr ( const void *  key,
const int  len,
uint32_t *  seeds,
void *  out 
)

Definition at line 221 of file hash-murmur3.cc.

References data, getblock(), and rotl32().

Referenced by ns3::Hash::Function::Murmur3::GetHash64(), and MurmurHash3_x86_128().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void ns3::Hash::Function::Murmur3Implementation::MurmurHash3_x86_32 ( const void *  key,
int  len,
uint32_t  seed,
void *  out 
)

Definition at line 131 of file hash-murmur3.cc.

References MurmurHash3_x86_32_fin(), and MurmurHash3_x86_32_incr().

+ Here is the call graph for this function:

void ns3::Hash::Function::Murmur3Implementation::MurmurHash3_x86_32_fin ( int  len,
uint32_t  seed,
void *  out 
)

Definition at line 187 of file hash-murmur3.cc.

References fmix().

Referenced by ns3::Hash::Function::Murmur3::GetHash32(), and MurmurHash3_x86_32().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void ns3::Hash::Function::Murmur3Implementation::MurmurHash3_x86_32_incr ( const void *  key,
int  len,
uint32_t  seed,
void *  out 
)

Definition at line 139 of file hash-murmur3.cc.

References data, getblock(), and rotl32().

Referenced by ns3::Hash::Function::Murmur3::GetHash32(), and MurmurHash3_x86_32().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

uint32_t ns3::Hash::Function::Murmur3Implementation::rotl32 ( uint32_t  x,
int8_t  r 
)
inline

Definition at line 69 of file hash-murmur3.cc.

Referenced by MurmurHash3_x86_128_incr(), and MurmurHash3_x86_32_incr().

+ Here is the caller graph for this function:

uint64_t ns3::Hash::Function::Murmur3Implementation::rotl64 ( uint64_t  x,
int8_t  r 
)
inline

Definition at line 74 of file hash-murmur3.cc.

Referenced by MurmurHash3_x64_128().

+ Here is the caller graph for this function: