|
BDE 4.39.x Production Release
|
#include <bslh_wyhashincrementalalgorithm.h>
This class wraps an implementation of the "WyHash" hash algorithm in an interface that is usable in the modular hashing system in bslh.
Public Types | |
| enum | { k_SEED_LENGTH = sizeof(uint64_t) } |
| typedef bsls::Types::Uint64 | result_type |
Public Member Functions | |
| WyHashIncrementalAlgorithm () | |
| WyHashIncrementalAlgorithm (uint64_t seed) | |
| WyHashIncrementalAlgorithm (const char *seed) | |
| WyHashIncrementalAlgorithm (const WyHashIncrementalAlgorithm &original) ~WyHashIncrementalAlgorithm()=default | |
Typedef indicating the value type returned by this algorithm.
|
inline |
Create a WyHashIncrementalAlgorithm using a default initial seed.
|
inlineexplicit |
Create a bslh::WyHashIncrementalAlgorithm, seeded with the specified seed.
|
inlineexplicit |
Create a bslh::WyHashIncrementalAlgorithm, seeded with k_SEED_LENGTH bytes of data starting at the specified seed.
|
default |
Destroy this object.
Create a WyHashIncrementalAlgorithm object having the same accumulated state as the specified original.