|
rippled
|
#include <xxhasher.h>

Public Types | |
| using | result_type = std::size_t |
Public Member Functions | |
| xxhasher (xxhasher const &)=delete | |
| xxhasher & | operator= (xxhasher const &)=delete |
| xxhasher () | |
| ~xxhasher () noexcept | |
| template<class Seed , std::enable_if_t< std::is_unsigned< Seed >::value > * = nullptr> | |
| xxhasher (Seed seed) | |
| template<class Seed , std::enable_if_t< std::is_unsigned< Seed >::value > * = nullptr> | |
| xxhasher (Seed seed, Seed) | |
| void | operator() (void const *key, std::size_t len) noexcept |
| operator result_type () noexcept | |
Static Public Attributes | |
| static constexpr auto const | endian = boost::endian::order::native |
Private Member Functions | |
| void | resetBuffers () |
| void | updateHash (void const *data, std::size_t len) |
| void | flushToState (void const *data, std::size_t len) |
| result_type | retrieveHash () |
Static Private Member Functions | |
| static XXH3_state_t * | allocState () |
Private Attributes | |
| std::array< std::uint8_t, INTERNAL_BUFFER_SIZE > | buffer_ |
| std::span< std::uint8_t > | readBuffer_ |
| std::span< std::uint8_t > | writeBuffer_ |
| std::optional< XXH64_hash_t > | seed_ |
| XXH3_state_t * | state_ = nullptr |
Static Private Attributes | |
| static constexpr std::size_t | INTERNAL_BUFFER_SIZE = 64 |
Definition at line 35 of file xxhasher.h.
Definition at line 38 of file xxhasher.h.
|
delete |
| beast::xxhasher::xxhasher | ( | ) |
Definition at line 137 of file xxhasher.h.
|
noexcept |
Definition at line 142 of file xxhasher.h.
|
explicit |
Definition at line 153 of file xxhasher.h.
| beast::xxhasher::xxhasher | ( | Seed | seed, |
| Seed | |||
| ) |
Definition at line 161 of file xxhasher.h.
|
private |
Definition at line 54 of file xxhasher.h.
|
private |
Definition at line 61 of file xxhasher.h.
|
staticprivate |
Definition at line 77 of file xxhasher.h.
|
private |
Definition at line 86 of file xxhasher.h.
|
private |
Definition at line 109 of file xxhasher.h.
|
noexcept |
Definition at line 167 of file xxhasher.h.
|
explicitnoexcept |
Definition at line 173 of file xxhasher.h.
|
staticconstexprprivate |
Definition at line 44 of file xxhasher.h.
|
private |
Definition at line 46 of file xxhasher.h.
|
private |
Definition at line 47 of file xxhasher.h.
|
private |
Definition at line 48 of file xxhasher.h.
|
private |
Definition at line 50 of file xxhasher.h.
|
private |
Definition at line 51 of file xxhasher.h.
|
staticconstexpr |
Definition at line 131 of file xxhasher.h.