folly::hash::fnv64_buf

fnv64_buf overloads

Synopses

Declared in <folly/hash/FnvHash.h>

FNV hash of a byte-range given as a type-erased pointer.

uint64_t
fnv64_buf(
    void const* buf,
    size_t n,
    uint64_t hash = fnv64_hash_start) noexcept;
» more...

Alias for fnv64_buf_BROKEN.

template</* implementation-defined */ C>
constexpr
uint64_t
fnv64_buf(
    C const* buf,
    size_t n,
    uint64_t hash = fnv64_hash_start) noexcept;
» more...

Return Value

The resulting FNV hash value

Parameters

NameDescription
bufPointer to the bytes to hash
nNumber of bytes to hash
hashInitial hash seed to continue from

See Also

fnv32_BROKEN methodset fnv