summaryrefslogtreecommitdiffhomepage
path: root/compat/int-hash.hpp
blob: 86fc6a45b67bcb1f194e7e5bfaac518bc4d3aec3 (plain)
1
2
3
4
5
6
7
8
9
10
11
#pragma once

namespace floormat {

size_t int_hash(uint32_t x) noexcept;
size_t int_hash(uint64_t x) noexcept;

uint64_t fnvhash_64(const void* buf, size_t size);
uint64_t fnvhash_32(const void* buf, size_t size);

} // namespace floormat