#include <hash.h>

Public Member Functions | |
| CityHashState (CityHashState &&) | |
| CityHashState & | operator= (CityHashState &&) |
Static Public Member Functions | |
| 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) |
Private Member Functions | |
| CityHashState () | |
| CityHashState (const CityHashState &) | |
| CityHashState (uint64_t state) | |
Static Private Member Functions | |
| 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 () |
Private Attributes | |
| uint64_t | state_ |
Static Private Attributes | |
| 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 | ( | ) | [inline, private] |
Definition at line 688 of file internal/hash.h.
| absl::hash_internal::CityHashState::CityHashState | ( | const CityHashState & | ) | [private] |
| absl::hash_internal::CityHashState::CityHashState | ( | uint64_t | state | ) | [inline, explicit, private] |
Definition at line 696 of file internal/hash.h.
| static CityHashState absl::hash_internal::CityHashState::combine_contiguous | ( | CityHashState | hash_state, |
| const unsigned char * | first, | ||
| size_t | size | ||
| ) | [inline, static] |
Definition at line 658 of file internal/hash.h.
| uint64_t absl::hash_internal::CityHashState::CombineContiguousImpl | ( | uint64_t | state, |
| const unsigned char * | first, | ||
| size_t | len, | ||
| std::integral_constant< int, 4 > | |||
| ) | [inline, static, private] |
Definition at line 771 of file internal/hash.h.
| uint64_t absl::hash_internal::CityHashState::CombineContiguousImpl | ( | uint64_t | state, |
| const unsigned char * | first, | ||
| size_t | len, | ||
| std::integral_constant< int, 8 > | |||
| ) | [inline, static, private] |
Definition at line 791 of file internal/hash.h.
| static size_t absl::hash_internal::CityHashState::hash | ( | T | value | ) | [inline, static] |
Definition at line 675 of file internal/hash.h.
| static size_t absl::hash_internal::CityHashState::hash | ( | const T & | value | ) | [inline, static] |
Definition at line 681 of file internal/hash.h.
| static ABSL_ATTRIBUTE_ALWAYS_INLINE uint64_t absl::hash_internal::CityHashState::Mix | ( | uint64_t | state, |
| uint64_t | v | ||
| ) | [inline, static, private] |
Definition at line 734 of file internal/hash.h.
| CityHashState& absl::hash_internal::CityHashState::operator= | ( | CityHashState && | ) |
| static uint32_t absl::hash_internal::CityHashState::Read1To3 | ( | const unsigned char * | p, |
| size_t | len | ||
| ) | [inline, static, private] |
Definition at line 728 of file internal/hash.h.
| static uint64_t absl::hash_internal::CityHashState::Read4To8 | ( | const unsigned char * | p, |
| size_t | len | ||
| ) | [inline, static, private] |
Definition at line 721 of file internal/hash.h.
| static std::pair<uint64_t, uint64_t> absl::hash_internal::CityHashState::Read9To16 | ( | const unsigned char * | p, |
| size_t | len | ||
| ) | [inline, static, private] |
Definition at line 714 of file internal/hash.h.
| static ABSL_ATTRIBUTE_ALWAYS_INLINE uint64_t absl::hash_internal::CityHashState::Seed | ( | ) | [inline, static, private] |
Definition at line 762 of file internal/hash.h.
constexpr uint64_t absl::hash_internal::CityHashState::kMul [static, private] |
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 [static, private] |
Definition at line 765 of file internal/hash.h.
uint64_t absl::hash_internal::CityHashState::state_ [private] |
Definition at line 767 of file internal/hash.h.