roo_collections
API Documentation for roo_collections
Loading...
Searching...
No Matches
hash.h
Go to the documentation of this file.
1
#pragma once
2
3
/// @file
4
/// @brief Hashing utilities used by roo_collections containers.
5
/// @ingroup roo_collections
6
7
#include <inttypes.h>
8
#include <stddef.h>
9
10
namespace
roo_collections
{
11
12
/// @brief Computes 32-bit MurmurHash3 of a binary buffer.
13
/// @param key Pointer to the first byte of the buffer.
14
/// @param len Number of bytes to hash.
15
/// @param seed Hash seed.
16
/// @return 32-bit hash value.
17
uint32_t
murmur3_32
(
const
void
* key,
size_t
len, uint32_t seed);
18
19
}
// namespace roo_collections
roo_collections
Definition
roo_collections.h:10
roo_collections::murmur3_32
uint32_t murmur3_32(const void *key, size_t len, uint32_t seed)
Computes 32-bit MurmurHash3 of a binary buffer.
Definition
hash.cpp:12
temp_repos
roo_collections
src
roo_collections
hash.h
Generated by
1.9.8