summaryrefslogtreecommitdiffhomepage
path: root/compat/int-hash.hpp
blob: 6a6cbcd4f9be143377e8299dbce3fd6983250e8c (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* str, size_t size);
uint64_t fnvhash_32(const void* str, size_t size);

} // namespace floormat