CommonLib
Toggle main menu visibility
Loading...
Searching...
No Matches
xxhash64_provider.inl
Go to the documentation of this file.
1
#
include
"../thirdparty/xxHash/xxh3.h"
2
3
namespace
hedgedev::csl::
hash
4
{
5
inline
xxhash64_provider
::
xxhash64_provider
()
6
{
7
xxhash64_provider
::
reset
();
8
}
9
10
inline
bool
xxhash64_provider
::
reset
()
11
{
12
return
XXH3_64bits_reset(&
m_state
) == XXH_OK;
13
}
14
15
inline
bool
xxhash64_provider
::
update
(
const
uint8_t
*
in_data
,
const
size_t
in_length
)
16
{
17
return
XXH3_64bits_update(&
m_state
,
in_data
,
in_length
) == XXH_OK;
18
}
19
20
inline
uint64_t
xxhash64_provider
::
digest
()
21
{
22
return
XXH3_64bits_digest(&
m_state
);
23
}
24
}
hedgedev::csl::hash
Definition
xxhash64_provider.inl:4
include
hash
xxhash64_provider.inl
Generated by
1.18.0