maliput
|
The FNV1a hash algorithm, used for hash_append generic hashing.
https://en.wikipedia.org/wiki/Fowler%E2%80%93Noll%E2%80%93Vo_hash_function
#include <include/maliput/common/maliput_hash.h>
Public Types | |
using | result_type = size_t |
Public Member Functions | |
void | operator() (const void *data, size_t length) noexcept |
Feeds a block of memory into this hash. More... | |
void | add_byte (uint8_t byte) noexcept |
Feeds a single byte into this hash. More... | |
constexpr | operator size_t () noexcept |
Returns the hash. More... | |
using result_type = size_t |
|
noexcept |
Feeds a single byte into this hash.
|
explicitconstexprnoexcept |
Returns the hash.
|
noexcept |
Feeds a block of memory into this hash.