fnv64_BROKEN overloads

Synopses

Declared in <folly/hash/FnvHash.h>

overloadbrief FNV hash of a string.

uint64_t
fnv64_BROKEN(
    std::string_view str,
    uint64_t hash = fnv64_hash_start) noexcept;

FNV hash of a c‐str.

constexpr
uint64_t
fnv64_BROKEN(
    char const* buf,
    uint64_t hash = fnv64_hash_start) noexcept;

Return Value

The resulting FNV hash value

Parameters

Name

Description

hash

The initial hash seed.

str

String whose bytes are hashed

buf

Null‐terminated C string to hash

See Also

fnv32 methodset fnv

Created with MrDocs