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

Go to the source code of this file.

Namespaces

namespace  ice
 SPDX-License-Identifier: MIT.
namespace  ice::_validation

Functions

template<typename T>
constexpr auto ice::hash (T value) noexcept -> ice::u64
template<>
constexpr auto ice::hash (std::u8string_view value) noexcept -> ice::u64
template<>
constexpr auto ice::hash (ice::utf8 const *value) noexcept -> ice::u64
template<>
constexpr auto ice::hash (std::string_view value) noexcept -> ice::u64
template<>
constexpr auto ice::hash (char const *value) noexcept -> ice::u64
template<typename T>
constexpr auto ice::hash32 (T value) noexcept -> uint32_t
template<>
constexpr auto ice::hash32 (std::u8string_view value) noexcept -> ice::u32
template<>
constexpr auto ice::hash32 (ice::utf8 const *value) noexcept -> ice::u32
template<>
constexpr auto ice::hash32 (std::string_view value) noexcept -> ice::u32
template<>
constexpr auto ice::hash32 (char const *value) noexcept -> ice::u32
template<typename T>
constexpr auto ice::hash_from_ptr (T *ptr) noexcept -> ice::u64
template<>
constexpr auto ice::hash (std::u8string_view value) noexcept -> ice::u64
template<>
constexpr auto ice::hash (ice::utf8 const *value) noexcept -> ice::u64
template<>
constexpr auto ice::hash (std::string_view value) noexcept -> ice::u64
template<>
constexpr auto ice::hash (char const *value) noexcept -> ice::u64
template<>
constexpr auto ice::hash32 (std::u8string_view value) noexcept -> ice::u32
template<>
constexpr auto ice::hash32 (ice::utf8 const *value) noexcept -> ice::u32
template<>
constexpr auto ice::hash32 (std::string_view value) noexcept -> ice::u32
template<>
constexpr auto ice::hash32 (char const *value) noexcept -> ice::u32