sandbox
Loading...
Searching...
No Matches
sbx::utility::fnv1a_traits< std::uint32_t > Struct Reference

Traits for the fnv1a hash function specialized for 32-bit hashes. More...

#include <hash.hpp>

Static Public Attributes

static constexpr auto basis = std::uint32_t{0x811c9dc5}
 The offset basis for 32-bit fnv1a.
 
static constexpr auto prime = std::uint32_t{0x01000193}
 The prime for 32-bit fnv1a.
 

Detailed Description

Traits for the fnv1a hash function specialized for 32-bit hashes.

See also
https://en.wikipedia.org/wiki/Fowler%E2%80%93Noll%E2%80%93Vo_hash_function#FNV_hash_parameters

The documentation for this struct was generated from the following file: