rippled
Namespaces | Classes | Typedefs | Enumerations | Functions | Variables
beast::detail Namespace Reference

Namespaces

 zero_helper
 

Classes

struct  _U32_S
 
struct  _U64_S
 
struct  abstract_clock_wrapper
 
struct  aged_associative_container_extract_t
 
struct  aged_associative_container_extract_t< false >
 
class  aged_container_iterator
 
class  aged_ordered_container
 Associative container where each element is also indexed by time. More...
 
class  aged_unordered_container
 Associative container where each element is also indexed by time. More...
 
struct  CopyConst
 Copy const attribute from T to U if present. More...
 
struct  CopyConst< T const, U >
 
class  empty_base_optimization
 
class  empty_base_optimization< T, UniqueID, false >
 
struct  is_boost_reverse_iterator
 
struct  is_boost_reverse_iterator< boost::intrusive::reverse_iterator< It > >
 
struct  is_empty_base_optimization_derived
 
struct  LexicalCast
 
struct  LexicalCast< Out, char * >
 
struct  LexicalCast< Out, char const * >
 
struct  LexicalCast< Out, std::string >
 
struct  LexicalCast< std::string, In >
 
class  ListIterator
 
class  ListNode
 
class  logstream_buf
 
class  xor_shift_engine
 
struct  XXH32_state_t
 
struct  XXH64_state_t
 
struct  XXH_istate32_t
 
struct  XXH_istate64_t
 

Typedefs

typedef struct beast::detail::_U32_S U32_S
 
typedef struct beast::detail::_U64_S U64_S
 

Enumerations

enum  XXH_endianess { XXH_bigEndian = 0, XXH_littleEndian = 1 }
 
enum  XXH_alignment { XXH_aligned, XXH_unaligned }
 
enum  XXH_errorcode { XXH_OK = 0, XXH_ERROR }
 

Functions

template<class Int , class FwdIt , class Accumulator >
bool parse_integral (Int &num, FwdIt first, FwdIt last, Accumulator accumulator)
 
template<class Int , class FwdIt >
bool parse_negative_integral (Int &num, FwdIt first, FwdIt last)
 
template<class Int , class FwdIt >
bool parse_positive_integral (Int &num, FwdIt first, FwdIt last)
 
template<class IntType , class FwdIt >
bool parseSigned (IntType &result, FwdIt first, FwdIt last)
 
template<class UIntType , class FwdIt >
bool parseUnsigned (UIntType &result, FwdIt first, FwdIt last)
 
template<class T >
void reverse_bytes (T &t)
 
template<class T >
void maybe_reverse_bytes (T &t, std::false_type)
 
template<class T >
void maybe_reverse_bytes (T &t, std::true_type)
 
template<class T , class Hasher >
void maybe_reverse_bytes (T &t, Hasher &)
 
void for_each_item (...) noexcept
 
template<class Hasher , class T >
int hash_one (Hasher &h, T const &t) noexcept
 
template<class Hasher , class... T, std::size_t... I>
void tuple_hash (Hasher &h, std::tuple< T... > const &t, std::index_sequence< I... >) noexcept
 
FORCE_INLINE U32 XXH_readLE32_align (const void *ptr, XXH_endianess endian, XXH_alignment align)
 
FORCE_INLINE U32 XXH_readLE32 (const void *ptr, XXH_endianess endian)
 
FORCE_INLINE U64 XXH_readLE64_align (const void *ptr, XXH_endianess endian, XXH_alignment align)
 
FORCE_INLINE U64 XXH_readLE64 (const void *ptr, XXH_endianess endian)
 
FORCE_INLINE U32 XXH32_endian_align (const void *input, size_t len, U32 seed, XXH_endianess endian, XXH_alignment align)
 
unsigned int XXH32 (const void *input, size_t len, unsigned seed)
 
FORCE_INLINE U64 XXH64_endian_align (const void *input, size_t len, U64 seed, XXH_endianess endian, XXH_alignment align)
 
unsigned long long XXH64 (const void *input, size_t len, unsigned long long seed)
 
XXH32_state_tXXH32_createState (void)
 
XXH_errorcode XXH32_freeState (XXH32_state_t *statePtr)
 
XXH64_state_tXXH64_createState (void)
 
XXH_errorcode XXH64_freeState (XXH64_state_t *statePtr)
 
XXH_errorcode XXH32_reset (XXH32_state_t *state_in, U32 seed)
 
XXH_errorcode XXH64_reset (XXH64_state_t *state_in, unsigned long long seed)
 
FORCE_INLINE XXH_errorcode XXH32_update_endian (XXH32_state_t *state_in, const void *input, size_t len, XXH_endianess endian)
 
XXH_errorcode XXH32_update (XXH32_state_t *state_in, const void *input, size_t len)
 
FORCE_INLINE U32 XXH32_digest_endian (const XXH32_state_t *state_in, XXH_endianess endian)
 
U32 XXH32_digest (const XXH32_state_t *state_in)
 
FORCE_INLINE XXH_errorcode XXH64_update_endian (XXH64_state_t *state_in, const void *input, size_t len, XXH_endianess endian)
 
XXH_errorcode XXH64_update (XXH64_state_t *state_in, const void *input, size_t len)
 
FORCE_INLINE U64 XXH64_digest_endian (const XXH64_state_t *state_in, XXH_endianess endian)
 
unsigned long long XXH64_digest (const XXH64_state_t *state_in)
 
XXH_errorcode XXH32_reset (XXH32_state_t *statePtr, unsigned seed)
 
template<typename T >
std::string to_string (T const &t)
 

Variables

thread_local std::string threadName
 
static const int one = 1
 

Typedef Documentation

◆ U32_S

◆ U64_S

Enumeration Type Documentation

◆ XXH_endianess

Enumerator
XXH_bigEndian 
XXH_littleEndian 

Definition at line 225 of file xxhash.cpp.

◆ XXH_alignment

Enumerator
XXH_aligned 
XXH_unaligned 

Definition at line 244 of file xxhash.cpp.

◆ XXH_errorcode

Enumerator
XXH_OK 
XXH_ERROR 

Definition at line 79 of file xxhash.h.

Function Documentation

◆ parse_integral()

template<class Int , class FwdIt , class Accumulator >
bool beast::detail::parse_integral ( Int &  num,
FwdIt  first,
FwdIt  last,
Accumulator  accumulator 
)

Definition at line 49 of file LexicalCast.h.

◆ parse_negative_integral()

template<class Int , class FwdIt >
bool beast::detail::parse_negative_integral ( Int &  num,
FwdIt  first,
FwdIt  last 
)

Definition at line 70 of file LexicalCast.h.

◆ parse_positive_integral()

template<class Int , class FwdIt >
bool beast::detail::parse_positive_integral ( Int &  num,
FwdIt  first,
FwdIt  last 
)

Definition at line 91 of file LexicalCast.h.

◆ parseSigned()

template<class IntType , class FwdIt >
bool beast::detail::parseSigned ( IntType &  result,
FwdIt  first,
FwdIt  last 
)

Definition at line 109 of file LexicalCast.h.

◆ parseUnsigned()

template<class UIntType , class FwdIt >
bool beast::detail::parseUnsigned ( UIntType &  result,
FwdIt  first,
FwdIt  last 
)

Definition at line 126 of file LexicalCast.h.

◆ reverse_bytes()

template<class T >
void beast::detail::reverse_bytes ( T &  t)

Definition at line 50 of file hash_append.h.

◆ maybe_reverse_bytes() [1/3]

template<class T >
void beast::detail::maybe_reverse_bytes ( T &  t,
std::false_type   
)

Definition at line 61 of file hash_append.h.

◆ maybe_reverse_bytes() [2/3]

template<class T >
void beast::detail::maybe_reverse_bytes ( T &  t,
std::true_type   
)

Definition at line 68 of file hash_append.h.

◆ maybe_reverse_bytes() [3/3]

template<class T , class Hasher >
void beast::detail::maybe_reverse_bytes ( T &  t,
Hasher &   
)

Definition at line 76 of file hash_append.h.

◆ for_each_item()

void beast::detail::for_each_item (   ...)
noexcept

Definition at line 425 of file hash_append.h.

◆ hash_one()

template<class Hasher , class T >
int beast::detail::hash_one ( Hasher &  h,
T const &  t 
)
noexcept

Definition at line 431 of file hash_append.h.

◆ tuple_hash()

template<class Hasher , class... T, std::size_t... I>
void beast::detail::tuple_hash ( Hasher &  h,
std::tuple< T... > const &  t,
std::index_sequence< I... >   
)
noexcept

Definition at line 439 of file hash_append.h.

◆ XXH_readLE32_align()

FORCE_INLINE U32 beast::detail::XXH_readLE32_align ( const void *  ptr,
XXH_endianess  endian,
XXH_alignment  align 
)

Definition at line 247 of file xxhash.cpp.

◆ XXH_readLE32()

FORCE_INLINE U32 beast::detail::XXH_readLE32 ( const void *  ptr,
XXH_endianess  endian 
)

Definition at line 256 of file xxhash.cpp.

◆ XXH_readLE64_align()

FORCE_INLINE U64 beast::detail::XXH_readLE64_align ( const void *  ptr,
XXH_endianess  endian,
XXH_alignment  align 
)

Definition at line 262 of file xxhash.cpp.

◆ XXH_readLE64()

FORCE_INLINE U64 beast::detail::XXH_readLE64 ( const void *  ptr,
XXH_endianess  endian 
)

Definition at line 277 of file xxhash.cpp.

◆ XXH32_endian_align()

FORCE_INLINE U32 beast::detail::XXH32_endian_align ( const void *  input,
size_t  len,
U32  seed,
XXH_endianess  endian,
XXH_alignment  align 
)

Definition at line 286 of file xxhash.cpp.

◆ XXH32()

unsigned int beast::detail::XXH32 ( const void *  input,
size_t  len,
unsigned  seed 
)

Definition at line 368 of file xxhash.cpp.

◆ XXH64_endian_align()

FORCE_INLINE U64 beast::detail::XXH64_endian_align ( const void *  input,
size_t  len,
U64  seed,
XXH_endianess  endian,
XXH_alignment  align 
)

Definition at line 402 of file xxhash.cpp.

◆ XXH64()

unsigned long long beast::detail::XXH64 ( const void *  input,
size_t  len,
unsigned long long  seed 
)

Definition at line 519 of file xxhash.cpp.

◆ XXH32_createState()

XXH32_state_t * beast::detail::XXH32_createState ( void  )

Definition at line 582 of file xxhash.cpp.

◆ XXH32_freeState()

XXH_errorcode beast::detail::XXH32_freeState ( XXH32_state_t statePtr)

Definition at line 591 of file xxhash.cpp.

◆ XXH64_createState()

XXH64_state_t * beast::detail::XXH64_createState ( void  )

Definition at line 598 of file xxhash.cpp.

◆ XXH64_freeState()

XXH_errorcode beast::detail::XXH64_freeState ( XXH64_state_t statePtr)

Definition at line 607 of file xxhash.cpp.

◆ XXH32_reset() [1/2]

XXH_errorcode beast::detail::XXH32_reset ( XXH32_state_t state_in,
U32  seed 
)

Definition at line 616 of file xxhash.cpp.

◆ XXH64_reset()

XXH_errorcode beast::detail::XXH64_reset ( XXH64_state_t state_in,
unsigned long long  seed 
)

Definition at line 630 of file xxhash.cpp.

◆ XXH32_update_endian()

FORCE_INLINE XXH_errorcode beast::detail::XXH32_update_endian ( XXH32_state_t state_in,
const void *  input,
size_t  len,
XXH_endianess  endian 
)

Definition at line 644 of file xxhash.cpp.

◆ XXH32_update()

XXH_errorcode beast::detail::XXH32_update ( XXH32_state_t state_in,
const void *  input,
size_t  len 
)

Definition at line 739 of file xxhash.cpp.

◆ XXH32_digest_endian()

FORCE_INLINE U32 beast::detail::XXH32_digest_endian ( const XXH32_state_t state_in,
XXH_endianess  endian 
)

Definition at line 750 of file xxhash.cpp.

◆ XXH32_digest()

unsigned int beast::detail::XXH32_digest ( const XXH32_state_t state_in)

Definition at line 793 of file xxhash.cpp.

◆ XXH64_update_endian()

FORCE_INLINE XXH_errorcode beast::detail::XXH64_update_endian ( XXH64_state_t state_in,
const void *  input,
size_t  len,
XXH_endianess  endian 
)

Definition at line 804 of file xxhash.cpp.

◆ XXH64_update()

XXH_errorcode beast::detail::XXH64_update ( XXH64_state_t state_in,
const void *  input,
size_t  len 
)

Definition at line 899 of file xxhash.cpp.

◆ XXH64_digest_endian()

FORCE_INLINE U64 beast::detail::XXH64_digest_endian ( const XXH64_state_t state_in,
XXH_endianess  endian 
)

Definition at line 910 of file xxhash.cpp.

◆ XXH64_digest()

unsigned long long beast::detail::XXH64_digest ( const XXH64_state_t state_in)

Definition at line 993 of file xxhash.cpp.

◆ XXH32_reset() [2/2]

XXH_errorcode beast::detail::XXH32_reset ( XXH32_state_t statePtr,
unsigned  seed 
)

◆ to_string()

template<typename T >
std::string beast::detail::to_string ( T const &  t)

Definition at line 106 of file iosformat.h.

Variable Documentation

◆ threadName

thread_local std::string beast::detail::threadName

Definition at line 109 of file CurrentThreadName.cpp.

◆ one

const int beast::detail::one = 1
static

Definition at line 229 of file xxhash.cpp.