Skip to main content

Module hash

Module hash 

Source
Expand description

FNV-1a hashes, message IDs and predictor state hashes.

Constants§

FNV1A64_OFFSET

Functions§

ewma_state_hash
State hash for an EWMA predictor.
fnv1a32
FNV-1a over 32-bit words.
fnv1a64
FNV-1a over 64-bit words.
fnv1a64_update
Add bytes to an in-progress FNV-1a 64-bit hash.
message_id
Fold a qualified message name into the one-byte wire message ID.
state_hash
State hash over an ordered predictor window, oldest entry first.
state_hash_u64_pair_slice
State hash over an ordered predictor window, oldest entry first.