![]() |
MFEM v4.10.0
Finite element discretization library
|
Streaming implementation of MurmurHash3 128 (x64). More...
#include <hash_util.hpp>
Public Member Functions | |
| void | init (uint64_t seed=0) |
| Resets the Hasher back to an initial seed. | |
| void | append (const std::byte *vs, uint64_t bytes) |
| Append data vs of size bytes. | |
| void | finalize () |
Public Attributes | |
| uint64_t | data [2] = {0, 0} |
| Storage for the final hash result after finalize() is called. | |
Streaming implementation of MurmurHash3 128 (x64).
Constructs the hash in 3 stages: init, append, finalize.
Definition at line 29 of file hash_util.hpp.
| void mfem::Hasher::append | ( | const std::byte * | vs, |
| uint64_t | bytes ) |
Append data vs of size bytes.
Definition at line 65 of file hash_util.cpp.
| void mfem::Hasher::finalize | ( | ) |
Definition at line 92 of file hash_util.cpp.
| void mfem::Hasher::init | ( | uint64_t | seed = 0 | ) |
Resets the Hasher back to an initial seed.
Definition at line 22 of file hash_util.cpp.
| uint64_t mfem::Hasher::data[2] = {0, 0} |
Storage for the final hash result after finalize() is called.
Use data[1] when only 64 bits are required.
Definition at line 34 of file hash_util.hpp.