Fast hash helper.
More...
#include <fast_hash.h>
|
static uint64_t | Parse (const char str[8]) noexcept |
| Parse fixed size string value and return its 64-bit integer equivalent.
|
|
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.
◆ FastHash() [1/3]
CppTrader::Matching::FastHash::FastHash |
( |
| ) |
|
|
default |
◆ FastHash() [2/3]
CppTrader::Matching::FastHash::FastHash |
( |
const FastHash & |
| ) |
|
|
default |
◆ FastHash() [3/3]
CppTrader::Matching::FastHash::FastHash |
( |
FastHash && |
| ) |
|
|
defaultnoexcept |
◆ ~FastHash()
CppTrader::Matching::FastHash::~FastHash |
( |
| ) |
|
|
default |
◆ operator()()
size_t CppTrader::Matching::FastHash::operator() |
( |
uint64_t |
value | ) |
const |
|
inlinenoexcept |
◆ operator=() [1/2]
◆ operator=() [2/2]
◆ Parse()
uint64_t CppTrader::Matching::FastHash::Parse |
( |
const char |
str[8] | ) |
|
|
inlinestaticnoexcept |
Parse fixed size string value and return its 64-bit integer equivalent.
- Parameters
-
str | - Fixed size string (8 bytes length) |
- Returns
- 64-bit integer value
Definition at line 22 of file fast_hash.inl.
The documentation for this class was generated from the following files: