Harlinn.Windows 0.1
Loading...
Searching...
No Matches
xxhash::hash< 64 > Class Reference

xxHash64. More...

#include <xxhash_cx.h>

Collaboration diagram for xxhash::hash< 64 >:
[legend]

Public Types

using hash_type = std::uint64_t
 xxHash64 data.
 
using long_type = std::uintmax_t
 

Static Public Member Functions

static constexpr hash_type xxh (const char *input, std::size_t len, hash_type seed)
 xxHash64
 

Static Private Member Functions

static constexpr hash_type prime (int i)
 
static constexpr hash_type round (hash_type acc, hash_type input)
 
static constexpr hash_type mearge_accumulator (hash_type acc, hash_type acc_n)
 
static constexpr hash_type convergence (hash_type acc0, hash_type acc1, hash_type acc2, hash_type acc3)
 
static constexpr hash_type final_mix (hash_type acc)
 

Static Private Attributes

static constexpr std::array< hash_type, 5 > primes
 

Detailed Description

xxHash64.

Member Typedef Documentation

◆ hash_type

using xxhash::hash< 64 >::hash_type = std::uint64_t

xxHash64 data.

◆ long_type

using xxhash::hash< 64 >::long_type = std::uintmax_t

Member Function Documentation

◆ convergence()

static constexpr hash_type xxhash::hash< 64 >::convergence ( hash_type acc0,
hash_type acc1,
hash_type acc2,
hash_type acc3 )
inlinestaticconstexprprivate

◆ final_mix()

static constexpr hash_type xxhash::hash< 64 >::final_mix ( hash_type acc)
inlinestaticconstexprprivate

◆ mearge_accumulator()

static constexpr hash_type xxhash::hash< 64 >::mearge_accumulator ( hash_type acc,
hash_type acc_n )
inlinestaticconstexprprivate

◆ prime()

static constexpr hash_type xxhash::hash< 64 >::prime ( int i)
inlinestaticconstexprprivate

◆ round()

static constexpr hash_type xxhash::hash< 64 >::round ( hash_type acc,
hash_type input )
inlinestaticconstexprprivate

◆ xxh()

static constexpr hash_type xxhash::hash< 64 >::xxh ( const char * input,
std::size_t len,
hash_type seed )
inlinestaticconstexpr

xxHash64

Parameters
bufdata.
lendata length(byte).
seedseed.
Returns
xxHash64

Member Data Documentation

◆ primes

std::array<hash_type, 5> xxhash::hash< 64 >::primes
staticconstexprprivate
Initial value:
{ {
11400714785074694791ULL, 14029467366897019727ULL, 1609587929392839161ULL, 9650029242287828579ULL, 2870177450012600261ULL
} }

The documentation for this class was generated from the following file: