fnv32_FIXED overloads
Synopses
Declared in <folly/hash/FnvHash.h>
overloadbrief FNV hash of a string.
uint32_t
fnv32_FIXED(
std::string const& str,
uint32_t hash = fnv32_hash_start) noexcept;
FNV hash of a c‐str.
constexpr
uint32_t
fnv32_FIXED(
char const* buf,
uint32_t hash = fnv32_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 |
Created with MrDocs