summaryrefslogtreecommitdiffhomepage
path: root/hash/hash-impl.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'hash/hash-impl.hpp')
-rw-r--r--hash/hash-impl.hpp25
1 files changed, 25 insertions, 0 deletions
diff --git a/hash/hash-impl.hpp b/hash/hash-impl.hpp
new file mode 100644
index 00000000..3e33b38b
--- /dev/null
+++ b/hash/hash-impl.hpp
@@ -0,0 +1,25 @@
+#pragma once
+
+namespace floormat::xxHash {
+size_t hash_buf(const void* __restrict buf, size_t size) noexcept;
+size_t hash_int(uint32_t x) noexcept;
+size_t hash_int(uint64_t x) noexcept;
+} // namespace floormat::xxHash
+
+namespace floormat::SipHash {
+size_t hash_buf(const void* __restrict buf, size_t size) noexcept;
+size_t hash_int(uint32_t x) noexcept;
+size_t hash_int(uint64_t x) noexcept;
+} // namespace floormat::SipHash
+
+namespace floormat::MurmurHash {
+size_t hash_buf(const void* __restrict buf, size_t size) noexcept;
+size_t hash_int(uint32_t x) noexcept;
+size_t hash_int(uint64_t x) noexcept;
+} // namespace floormat::MurmurHash
+
+namespace floormat::FNVHash {
+size_t hash_buf(const void* __restrict buf, size_t size) noexcept;
+size_t hash_int(uint32_t x) noexcept;
+size_t hash_int(uint64_t x) noexcept;
+} // namespace floormat::FNVHash