ReXGlue SDK
Loading...
Searching...
No Matches
hash.h File Reference
#include <functional>
#include <span>
#include <cstddef>
#include <filesystem>
#include <string>
#include <string_view>
#include <type_traits>
#include <rex/types.h>
#include <rex/platform.h>

Go to the source code of this file.

Classes

struct  rex::IdentityHasher< Key >
struct  rex::KeyHasher< Key >
struct  rex::XXHasher< Key >

Namespaces

namespace  rex

Functions

u64 rex::HashXXH3 (std::span< const u8 > data)
std::string rex::HashBytes (std::string_view data)
std::string rex::HashFile (const std::filesystem::path &path)
size_t rex::hash_combine (size_t hash)
template<typename T, typename... Ts>
size_t rex::hash_combine (size_t hash, const T &v, const Ts &... vs)

Detailed Description

License
BSD 3-Clause License See LICENSE file in the project root for full license text.
Remarks
Derived from Xenia's xenia/base/hash.h (Ben Vanik, 2020).