LibQuicR
Loading...
Searching...
No Matches
hash.h File Reference
#include "detail/utilities.h"
#include <array>
#include <concepts>
#include <cstdint>
#include <span>
#include <string_view>

Go to the source code of this file.

Classes

class  quicr::detail::CityHash64
 Computes a CityHash64 hash for a span of bytes. More...
struct  std::hash< std::span< const std::uint8_t > >

Namespaces

namespace  quicr
namespace  quicr::detail

Functions

constexpr std::uint64_t quicr::hash (std::span< const std::uint8_t > bytes)
 Hash a span of bytes to a 64bit number.
constexpr void quicr::hash_combine (std::uint64_t &seed, const std::uint64_t &value)
 Combine (aka add) hash to existing hash.