Aware hash. More...
#include <hash.h>

Public Member Functions | |
| AwareHash () | |
| Construct an AwareHash instance. More... | |
Public Member Functions inherited from OmniSketch::Hash::HashBase | |
| virtual uint64_t | operator() (const uint8_t *key, const int32_t len) const final |
| Hash byte array. More... | |
| virtual uint64_t | operator() (const size_t val) const final |
| Hash an integer. More... | |
| template<int32_t key_len> | |
| uint64_t | operator() (const FlowKey< key_len > &flowkey) const |
| Hash a flowkey. More... | |
Additional Inherited Members | |
Static Public Member Functions inherited from OmniSketch::Hash::HashBase | |
| static void | random_seed () |
| Randomize the seed of the pseudo-randomness generator. More... | |
Aware hash.
Refs are wanted!
| OmniSketch::Hash::AwareHash::AwareHash | ( | ) |
Construct an AwareHash instance.
Seeds are internally mangled and hashed so that fewer hash collisions are expected.