streaming implementation for murmurhash3 128 (x64). Constructs the hash in 3 stages: init, append, finalize.
More...
#include <hash.hpp>
|
void | init (uint64_t seed=0) |
| resets this hasher back to an initial seed
|
|
void | append (const uint8_t *vs, uint64_t bytes) |
|
void | finalize () |
|
|
uint64_t | data [2] = {0, 0} |
|
streaming implementation for murmurhash3 128 (x64). Constructs the hash in 3 stages: init, append, finalize.
Definition at line 462 of file hash.hpp.
◆ append()
void mfem::Hasher::append |
( |
const uint8_t * | vs, |
|
|
uint64_t | bytes ) |
◆ finalize()
void mfem::Hasher::finalize |
( |
| ) |
|
◆ init()
void mfem::Hasher::init |
( |
uint64_t | seed = 0 | ) |
|
resets this hasher back to an initial seed
Definition at line 88 of file hash.cpp.
◆ data
uint64_t mfem::Hasher::data[2] = {0, 0} |
where the final hash result is stored after finalize. Use data[1] when only 64 bits are required.
Definition at line 466 of file hash.hpp.
The documentation for this struct was generated from the following files: