DAW JSON Link
Loading...
Searching...
No Matches
Namespaces | Typedefs | Functions | Variables
daw_murmur3.h File Reference
#include "version.h"
#include <daw/daw_do_n.h>
#include <daw/daw_endian.h>
#include <daw/daw_string_view.h>
#include <daw/daw_uint_buffer.h>
#include <cstddef>
#include <cstdint>
#include <iterator>

Go to the source code of this file.

Namespaces

namespace  daw
 

Typedefs

using daw::json_name_hash_t = daw::UInt64
 

Functions

template<typename Hash , bool expect_long_strings, typename StringView >
static constexpr Hash daw::fnv1a (StringView key)
 
template<std::size_t N, typename Hash >
static DAW_ATTRIB_INLINE constexpr auto daw::fnv1a_N (daw::not_null< char const * > first, Hash hash=fnv1a_basis_v< Hash >)
 
template<typename StringView >
static constexpr daw::UInt32 daw::murmur3_32 (StringView key, std::uint32_t seed=0)
 
template<bool expect_long_strings>
static DAW_ATTRIB_INLINE constexpr json_name_hash_t daw::name_hash (daw::string_view key)
 

Variables

template<typename T >
constexpr T daw::fnv1a_basis_v = daw::undefined_v<T>
 
template<typename T >
constexpr T daw::fnv1a_prime_v = daw::undefined_v<T>