BloombergLP::bslh::SpookyHashAlgorithmImp::finalize

Load the finalized hash into the specified hash1 and hash2. hash1 will contain the higher order bits of the hash and hash2 will contain the lower order bits. The internal state of the algorithm will be modified, meaning that calling final multiple times will result in different hash values being returned. The returned hash will be the same as if Hash128 had been called will all of the accumulated data in one block. The behavior is undefined unless both hash1 and hash2 point to 8 bytes of modifiable memory. Note that a value will be returned even if update has not been called.

Synopsis

Declared in <bslh_spookyhashalgorithmimp.h>

void
finalize(
    Uint64* hash1,
    Uint64* hash2);