CppTrader
1.0.4.0
C++ Trader
|
Fast hash helper. More...
#include <fast_hash.h>
Public Member Functions | |
FastHash ()=default | |
FastHash (const FastHash &)=default | |
FastHash (FastHash &&) noexcept=default | |
~FastHash ()=default | |
FastHash & | operator= (const FastHash &)=default |
FastHash & | operator= (FastHash &&) noexcept=default |
size_t | operator() (uint64_t value) const noexcept |
Calculate hash value. More... | |
Static Public Member Functions | |
static uint64_t | Parse (const char str[8]) noexcept |
Parse fixed size string value and return its 64-bit integer equivalent. More... | |
Fast hash helper.
Fast hash helper is used to calculate 64-bit hash in a fast way.
Thread-safe.
Definition at line 24 of file fast_hash.h.
|
default |
|
default |
|
defaultnoexcept |
|
default |
|
inlinenoexcept |
Calculate hash value.
Definition at line 12 of file fast_hash.inl.
|
inlinestaticnoexcept |
Parse fixed size string value and return its 64-bit integer equivalent.
str | - Fixed size string (8 bytes length) |
Definition at line 22 of file fast_hash.inl.