IceShard 1
A personal game engine project, with development focused on 2D/2.5D games.
Loading...
Searching...
No Matches
murmur2.hxx File Reference
#include <ice/types.hxx>
#include <string_view>

Go to the source code of this file.

Classes

struct  ice::detail::murmur2_hash::mm2_x64_64

Namespaces

namespace  ice
 SPDX-License-Identifier: MIT.
namespace  ice::detail
namespace  ice::detail::murmur2_hash

Functions

constexpr auto ice::detail::murmur2_hash::cexpr_murmur2_x64_64 (std::u8string_view key, ice::u64 seed) noexcept -> mm2_x64_64
constexpr auto ice::detail::murmur2_hash::cexpr_murmur2_x64_64 (std::string_view key, ice::u64 seed) noexcept -> mm2_x64_64
constexpr auto ice::detail::murmur2_hash::crotate (ice::u64 a) noexcept -> ice::u64
template<typename CharType>
constexpr auto ice::detail::murmur2_hash::cfinalize_h (CharType const *data, size_t key, ice::u64 h) noexcept -> ice::u64
template<typename CharType>
constexpr auto ice::detail::murmur2_hash::cfinalize (CharType const *data, size_t len, ice::u64 h) noexcept -> ice::u64
template<typename CharType>
constexpr auto ice::detail::murmur2_hash::cblock (CharType const *data, size_t offset=0) noexcept -> ice::u64
template<typename CharType>
constexpr auto ice::detail::murmur2_hash::cmix_h (CharType const *data, ice::u64 h, size_t offset) noexcept -> ice::u64
template<typename CharType>
constexpr auto ice::detail::murmur2_hash::cmix (CharType const *data, size_t len, ice::u64 h, size_t offset=0) noexcept -> ice::u64

Variables

constexpr ice::u64 ice::detail::murmur2_hash::m = 0xc6a4a7935bd1e995
constexpr ice::u32 ice::detail::murmur2_hash::r = 47