#include <hash.h>
|
static CityHashState | combine_contiguous (CityHashState hash_state, const unsigned char *first, size_t size) |
|
template<typename T , absl::enable_if_t< IntegralFastPath< T >::value, int > = 0> |
static size_t | hash (T value) |
|
template<typename T , absl::enable_if_t<!IntegralFastPath< T >::value, int > = 0> |
static size_t | hash (const T &value) |
|
static CityHashState | combine (CityHashStatestate, const T &value, const Ts &...values) |
|
static CityHashState | combine (CityHashStatestate) |
|
static CityHashState | combine_contiguous (CityHashStatestate, const T *data, size_t size) |
|
|
static uint64_t | CombineContiguousImpl (uint64_t state, const unsigned char *first, size_t len, std::integral_constant< int, 4 >) |
|
static uint64_t | CombineContiguousImpl (uint64_t state, const unsigned char *first, size_t len, std::integral_constant< int, 8 >) |
|
static ABSL_ATTRIBUTE_ALWAYS_INLINE uint64_t | Mix (uint64_t state, uint64_t v) |
|
static uint32_t | Read1To3 (const unsigned char *p, size_t len) |
|
static uint64_t | Read4To8 (const unsigned char *p, size_t len) |
|
static std::pair< uint64_t, uint64_t > | Read9To16 (const unsigned char *p, size_t len) |
|
static ABSL_ATTRIBUTE_ALWAYS_INLINE uint64_t | Seed () |
|
|
static constexpr uint64_t | kMul |
|
static const void *const | kSeed = &kSeed |
|
Definition at line 633 of file internal/hash.h.
absl::hash_internal::CityHashState::CityHashState |
( |
CityHashState && |
| ) |
|
|
default |
absl::hash_internal::CityHashState::CityHashState |
( |
| ) |
|
|
inlineprivate |
absl::hash_internal::CityHashState::CityHashState |
( |
const CityHashState & |
| ) |
|
|
privatedefault |
absl::hash_internal::CityHashState::CityHashState |
( |
uint64_t |
state | ) |
|
|
inlineexplicitprivate |
static CityHashState absl::hash_internal::CityHashState::combine_contiguous |
( |
CityHashState |
hash_state, |
|
|
const unsigned char * |
first, |
|
|
size_t |
size |
|
) |
| |
|
inlinestatic |
uint64_t absl::hash_internal::CityHashState::CombineContiguousImpl |
( |
uint64_t |
state, |
|
|
const unsigned char * |
first, |
|
|
size_t |
len, |
|
|
std::integral_constant< int, 4 > |
|
|
) |
| |
|
inlinestaticprivate |
uint64_t absl::hash_internal::CityHashState::CombineContiguousImpl |
( |
uint64_t |
state, |
|
|
const unsigned char * |
first, |
|
|
size_t |
len, |
|
|
std::integral_constant< int, 8 > |
|
|
) |
| |
|
inlinestaticprivate |
template<typename T , absl::enable_if_t< IntegralFastPath< T >::value, int > = 0>
static size_t absl::hash_internal::CityHashState::hash |
( |
T |
value | ) |
|
|
inlinestatic |
template<typename T , absl::enable_if_t<!IntegralFastPath< T >::value, int > = 0>
static size_t absl::hash_internal::CityHashState::hash |
( |
const T & |
value | ) |
|
|
inlinestatic |
static uint32_t absl::hash_internal::CityHashState::Read1To3 |
( |
const unsigned char * |
p, |
|
|
size_t |
len |
|
) |
| |
|
inlinestaticprivate |
static uint64_t absl::hash_internal::CityHashState::Read4To8 |
( |
const unsigned char * |
p, |
|
|
size_t |
len |
|
) |
| |
|
inlinestaticprivate |
static std::pair<uint64_t, uint64_t> absl::hash_internal::CityHashState::Read9To16 |
( |
const unsigned char * |
p, |
|
|
size_t |
len |
|
) |
| |
|
inlinestaticprivate |
constexpr uint64_t absl::hash_internal::CityHashState::kMul |
|
staticprivate |
Initial value:=
sizeof(size_t) == 4 ? uint64_t{0xcc9e2d51} : uint64_t{0x9ddfea08eb382d69}
Definition at line 642 of file internal/hash.h.
ABSL_CONST_INIT const void *const absl::hash_internal::CityHashState::kSeed = &kSeed |
|
staticprivate |
uint64_t absl::hash_internal::CityHashState::state_ |
|
private |
The documentation for this class was generated from the following files: