DAW JSON Link
Namespaces | Functions
daw_murmur3.h File Reference
#include <daw/daw_do_n.h>
#include <daw/daw_endian.h>
#include <daw/daw_string_view.h>
#include <daw/daw_uint_buffer.h>
#include <ciso646>
#include <cstddef>
#include <cstdint>
#include <iterator>

Go to the source code of this file.

Namespaces

namespace  daw
 

Functions

template<bool expect_long_strings, typename StringView >
constexpr DAW_ATTRIB_FLATTEN auto daw::fnv1a_32 (StringView key) -> std::enable_if_t< daw::traits::is_string_view_like_v< StringView >, UInt32 >
 
template<std::size_t N, typename CharT >
constexpr DAW_ATTRIB_INLINE UInt32 daw::fnv1a_32_N (CharT *first, UInt32 hash=0x811c '9dc5_u32)
 
template<typename StringView >
constexpr DAW_ATTRIB_FLATINLINE auto daw::murmur3_32 (StringView key, std::uint32_t seed=0) -> std::enable_if_t< daw::traits::is_string_view_like_v< StringView >, UInt32 >
 
template<bool expect_long_strings, typename StringView >
constexpr DAW_ATTRIB_INLINE auto daw::name_hash (StringView key) -> std::enable_if_t< daw::traits::is_string_view_like_v< StringView >, UInt32 >