fnv32_buf_FIXED overloads

Synopses

Declared in <folly/hash/FnvHash.h>

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

uint32_t
fnv32_buf_FIXED(
    void const* buf,
    size_t n,
    uint32_t hash = fnv32_hash_start) noexcept;

FNV hash of a byte‐range.

template</* implementation-defined */ C>
constexpr
uint32_t
fnv32_buf_FIXED(
    C const* buf,
    size_t n,
    uint32_t hash = fnv32_hash_start) noexcept;

Return Value

The resulting FNV hash value

Parameters

Name

Description

buf

Pointer to the bytes to hash

n

Number of bytes to hash

hash

Initial hash seed to continue from

See Also

fnv32 methodset fnv

Created with MrDocs