A Discrete-Event Network Simulator
API
Loading...
Searching...
No Matches
hash-murmur3.cc File Reference

ns3::Hash::Function::Murmur3 implementation. More...

#include "hash-murmur3.h"
#include "log.h"
#include <iomanip>
+ Include dependency graph for hash-murmur3.cc:

Go to the source code of this file.

Namespaces

namespace  ns3
 Every class exported by the ns3 library is enclosed in the ns3 namespace.
 
namespace  ns3::Hash
 Hash function implementations.
 
namespace  ns3::Hash::Function
 Hash functions.
 
namespace  ns3::Hash::Function::Murmur3Implementation
 Murmur3 hash implementation details.
 

Macros

#define BIG_CONSTANT(x)   (x##LLU)
 Unsigned long long constants.
 

Functions

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

Detailed Description

ns3::Hash::Function::Murmur3 implementation.

Definition in file hash-murmur3.cc.