DAW JSON Link
Namespaces | Functions
daw Namespace Reference

Namespaces

 json
 Customization point traits.
 

Functions

template<bool expect_long_strings, typename StringView >
static constexpr UInt32 fnv1a_32 (StringView key)
 
template<std::size_t N, typename CharT >
static constexpr DAW_ATTRIB_INLINE UInt32 fnv1a_32_N (CharT *first, UInt32 hash=0x811c '9dc5_u32)
 
template<typename StringView >
static constexpr UInt32 murmur3_32 (StringView key, std::uint32_t seed=0)
 
template<bool expect_long_strings>
static constexpr DAW_ATTRIB_INLINE UInt32 name_hash (daw::string_view key)
 

Function Documentation

◆ fnv1a_32()

template<bool expect_long_strings, typename StringView >
static constexpr UInt32 daw::fnv1a_32 ( StringView  key)
staticconstexpr

Definition at line 47 of file daw_murmur3.h.

◆ fnv1a_32_N()

template<std::size_t N, typename CharT >
static constexpr DAW_ATTRIB_INLINE UInt32 daw::fnv1a_32_N ( CharT *  first,
UInt32  hash = 0x811c'9dc5_u32 
)
staticconstexpr

Definition at line 38 of file daw_murmur3.h.

◆ murmur3_32()

template<typename StringView >
static constexpr UInt32 daw::murmur3_32 ( StringView  key,
std::uint32_t  seed = 0 
)
staticconstexpr

Definition at line 89 of file daw_murmur3.h.

◆ name_hash()

template<bool expect_long_strings>
static constexpr DAW_ATTRIB_INLINE UInt32 daw::name_hash ( daw::string_view  key)
staticconstexpr

Definition at line 74 of file daw_murmur3.h.