NAMD
|
Go to the source code of this file.
Macros | |
#define | XXH_INLINE_ALL |
#define | XXH_RESTRICT /* disable */ |
#define | XXH_likely(x) (x) |
#define | XXH_unlikely(x) (x) |
#define | XXH_SCALAR 0 /* Portable scalar version */ |
#define | XXH_SSE2 1 /* SSE2 for Pentium 4 and all x86_64 */ |
#define | XXH_AVX2 2 /* AVX2 for Haswell and Bulldozer */ |
#define | XXH_NEON 3 /* NEON for most ARMv7-A and all AArch64 */ |
#define | XXH_VSX 4 /* VSX and ZVector for POWER8/z13 */ |
#define | XXH_PREFETCH(ptr) (void)(ptr) /* disabled */ |
#define | XXH_SECRET_DEFAULT_SIZE 192 /* minimum XXH3_SECRET_SIZE_MIN */ |
#define | XXH_mult32to64(x, y) ((xxh_u64)(xxh_u32)(x) * (xxh_u64)(xxh_u32)(y)) |
#define | XXH3_MIDSIZE_MAX 240 |
#define | XXH3_MIDSIZE_STARTOFFSET 3 |
#define | XXH3_MIDSIZE_LASTOFFSET 17 |
#define | STRIPE_LEN 64 |
#define | XXH_SECRET_CONSUME_RATE 8 /* nb of secret bytes consumed at each accumulation */ |
#define | ACC_NB (STRIPE_LEN / sizeof(xxh_u64)) |
#define | XXH_PREFETCH_DIST 384 |
#define | XXH_SECRET_LASTACC_START 7 |
#define | XXH3_INIT_ACC |
#define | XXH_SECRET_MERGEACCS_START 11 |
#define | XXH3_INTERNALBUFFER_STRIPES (XXH3_INTERNALBUFFER_SIZE / STRIPE_LEN) |
Enumerations | |
enum | XXH3_accWidth_e { XXH3_acc_64bits, XXH3_acc_128bits } |
Functions | |
XXH_ALIGN (64) static const xxh_u8 kSecret[XXH_SECRET_DEFAULT_SIZE] | |
static XXH128_hash_t | XXH_mult64to128 (xxh_u64 lhs, xxh_u64 rhs) |
static xxh_u64 | XXH3_mul128_fold64 (xxh_u64 lhs, xxh_u64 rhs) |
XXH_FORCE_INLINE xxh_u64 | XXH_xorshift64 (xxh_u64 v64, int shift) |
static XXH64_hash_t | XXH3_avalanche (xxh_u64 h64) |
XXH_FORCE_INLINE XXH64_hash_t | XXH3_len_1to3_64b (const xxh_u8 *input, size_t len, const xxh_u8 *secret, XXH64_hash_t seed) |
XXH_FORCE_INLINE XXH64_hash_t | XXH3_len_4to8_64b (const xxh_u8 *input, size_t len, const xxh_u8 *secret, XXH64_hash_t seed) |
XXH_FORCE_INLINE XXH64_hash_t | XXH3_len_9to16_64b (const xxh_u8 *input, size_t len, const xxh_u8 *secret, XXH64_hash_t seed) |
XXH_FORCE_INLINE XXH64_hash_t | XXH3_len_0to16_64b (const xxh_u8 *input, size_t len, const xxh_u8 *secret, XXH64_hash_t seed) |
XXH_FORCE_INLINE xxh_u64 | XXH3_mix16B (const xxh_u8 *XXH_RESTRICT input, const xxh_u8 *XXH_RESTRICT secret, xxh_u64 seed64) |
XXH_FORCE_INLINE XXH64_hash_t | XXH3_len_17to128_64b (const xxh_u8 *XXH_RESTRICT input, size_t len, const xxh_u8 *XXH_RESTRICT secret, size_t secretSize, XXH64_hash_t seed) |
XXH_NO_INLINE XXH64_hash_t | XXH3_len_129to240_64b (const xxh_u8 *XXH_RESTRICT input, size_t len, const xxh_u8 *XXH_RESTRICT secret, size_t secretSize, XXH64_hash_t seed) |
XXH_FORCE_INLINE void | XXH3_accumulate_512 (void *XXH_RESTRICT acc, const void *XXH_RESTRICT input, const void *XXH_RESTRICT secret, XXH3_accWidth_e accWidth) |
XXH_FORCE_INLINE void | XXH3_scrambleAcc (void *XXH_RESTRICT acc, const void *XXH_RESTRICT secret) |
XXH_FORCE_INLINE void | XXH3_accumulate (xxh_u64 *XXH_RESTRICT acc, const xxh_u8 *XXH_RESTRICT input, const xxh_u8 *XXH_RESTRICT secret, size_t nbStripes, XXH3_accWidth_e accWidth) |
XXH_FORCE_INLINE void | XXH3_hashLong_internal_loop (xxh_u64 *XXH_RESTRICT acc, const xxh_u8 *XXH_RESTRICT input, size_t len, const xxh_u8 *XXH_RESTRICT secret, size_t secretSize, XXH3_accWidth_e accWidth) |
XXH_FORCE_INLINE xxh_u64 | XXH3_mix2Accs (const xxh_u64 *XXH_RESTRICT acc, const xxh_u8 *XXH_RESTRICT secret) |
static XXH64_hash_t | XXH3_mergeAccs (const xxh_u64 *XXH_RESTRICT acc, const xxh_u8 *XXH_RESTRICT secret, xxh_u64 start) |
XXH_FORCE_INLINE XXH64_hash_t | XXH3_hashLong_internal (const xxh_u8 *XXH_RESTRICT input, size_t len, const xxh_u8 *XXH_RESTRICT secret, size_t secretSize) |
XXH_NO_INLINE XXH64_hash_t | XXH3_hashLong_64b_defaultSecret (const xxh_u8 *XXH_RESTRICT input, size_t len) |
XXH_NO_INLINE XXH64_hash_t | XXH3_hashLong_64b_withSecret (const xxh_u8 *XXH_RESTRICT input, size_t len, const xxh_u8 *XXH_RESTRICT secret, size_t secretSize) |
XXH_FORCE_INLINE void | XXH_writeLE64 (void *dst, xxh_u64 v64) |
XXH_FORCE_INLINE void | XXH3_initCustomSecret (xxh_u8 *customSecret, xxh_u64 seed64) |
XXH_NO_INLINE XXH64_hash_t | XXH3_hashLong_64b_withSeed (const xxh_u8 *input, size_t len, XXH64_hash_t seed) |
XXH_PUBLIC_API XXH64_hash_t | XXH3_64bits (const void *input, size_t len) |
XXH_PUBLIC_API XXH64_hash_t | XXH3_64bits_withSecret (const void *input, size_t len, const void *secret, size_t secretSize) |
XXH_PUBLIC_API XXH64_hash_t | XXH3_64bits_withSeed (const void *input, size_t len, XXH64_hash_t seed) |
XXH_PUBLIC_API XXH3_state_t * | XXH3_createState (void) |
XXH_PUBLIC_API XXH_errorcode | XXH3_freeState (XXH3_state_t *statePtr) |
XXH_PUBLIC_API void | XXH3_copyState (XXH3_state_t *dst_state, const XXH3_state_t *src_state) |
static void | XXH3_64bits_reset_internal (XXH3_state_t *statePtr, XXH64_hash_t seed, const xxh_u8 *secret, size_t secretSize) |
XXH_PUBLIC_API XXH_errorcode | XXH3_64bits_reset (XXH3_state_t *statePtr) |
XXH_PUBLIC_API XXH_errorcode | XXH3_64bits_reset_withSecret (XXH3_state_t *statePtr, const void *secret, size_t secretSize) |
XXH_PUBLIC_API XXH_errorcode | XXH3_64bits_reset_withSeed (XXH3_state_t *statePtr, XXH64_hash_t seed) |
XXH_FORCE_INLINE void | XXH3_consumeStripes (xxh_u64 *acc, XXH32_hash_t *nbStripesSoFarPtr, XXH32_hash_t nbStripesPerBlock, const xxh_u8 *input, size_t totalStripes, const xxh_u8 *secret, size_t secretLimit, XXH3_accWidth_e accWidth) |
XXH_FORCE_INLINE XXH_errorcode | XXH3_update (XXH3_state_t *state, const xxh_u8 *input, size_t len, XXH3_accWidth_e accWidth) |
XXH_PUBLIC_API XXH_errorcode | XXH3_64bits_update (XXH3_state_t *state, const void *input, size_t len) |
XXH_FORCE_INLINE void | XXH3_digest_long (XXH64_hash_t *acc, const XXH3_state_t *state, XXH3_accWidth_e accWidth) |
XXH_PUBLIC_API XXH64_hash_t | XXH3_64bits_digest (const XXH3_state_t *state) |
XXH_FORCE_INLINE XXH128_hash_t | XXH3_len_1to3_128b (const xxh_u8 *input, size_t len, const xxh_u8 *secret, XXH64_hash_t seed) |
XXH_FORCE_INLINE XXH128_hash_t | XXH3_len_4to8_128b (const xxh_u8 *input, size_t len, const xxh_u8 *secret, XXH64_hash_t seed) |
XXH_FORCE_INLINE XXH128_hash_t | XXH3_len_9to16_128b (const xxh_u8 *input, size_t len, const xxh_u8 *secret, XXH64_hash_t seed) |
XXH_FORCE_INLINE XXH128_hash_t | XXH3_len_0to16_128b (const xxh_u8 *input, size_t len, const xxh_u8 *secret, XXH64_hash_t seed) |
XXH_FORCE_INLINE XXH128_hash_t | XXH128_mix32B (XXH128_hash_t acc, const xxh_u8 *input_1, const xxh_u8 *input_2, const xxh_u8 *secret, XXH64_hash_t seed) |
XXH_FORCE_INLINE XXH128_hash_t | XXH3_len_17to128_128b (const xxh_u8 *XXH_RESTRICT input, size_t len, const xxh_u8 *XXH_RESTRICT secret, size_t secretSize, XXH64_hash_t seed) |
XXH_NO_INLINE XXH128_hash_t | XXH3_len_129to240_128b (const xxh_u8 *XXH_RESTRICT input, size_t len, const xxh_u8 *XXH_RESTRICT secret, size_t secretSize, XXH64_hash_t seed) |
XXH_FORCE_INLINE XXH128_hash_t | XXH3_hashLong_128b_internal (const xxh_u8 *XXH_RESTRICT input, size_t len, const xxh_u8 *XXH_RESTRICT secret, size_t secretSize) |
XXH_NO_INLINE XXH128_hash_t | XXH3_hashLong_128b_defaultSecret (const xxh_u8 *input, size_t len) |
XXH_NO_INLINE XXH128_hash_t | XXH3_hashLong_128b_withSecret (const xxh_u8 *input, size_t len, const xxh_u8 *secret, size_t secretSize) |
XXH_NO_INLINE XXH128_hash_t | XXH3_hashLong_128b_withSeed (const xxh_u8 *input, size_t len, XXH64_hash_t seed) |
XXH_PUBLIC_API XXH128_hash_t | XXH3_128bits (const void *input, size_t len) |
XXH_PUBLIC_API XXH128_hash_t | XXH3_128bits_withSecret (const void *input, size_t len, const void *secret, size_t secretSize) |
XXH_PUBLIC_API XXH128_hash_t | XXH3_128bits_withSeed (const void *input, size_t len, XXH64_hash_t seed) |
XXH_PUBLIC_API XXH128_hash_t | XXH128 (const void *input, size_t len, XXH64_hash_t seed) |
static void | XXH3_128bits_reset_internal (XXH3_state_t *statePtr, XXH64_hash_t seed, const xxh_u8 *secret, size_t secretSize) |
XXH_PUBLIC_API XXH_errorcode | XXH3_128bits_reset (XXH3_state_t *statePtr) |
XXH_PUBLIC_API XXH_errorcode | XXH3_128bits_reset_withSecret (XXH3_state_t *statePtr, const void *secret, size_t secretSize) |
XXH_PUBLIC_API XXH_errorcode | XXH3_128bits_reset_withSeed (XXH3_state_t *statePtr, XXH64_hash_t seed) |
XXH_PUBLIC_API XXH_errorcode | XXH3_128bits_update (XXH3_state_t *state, const void *input, size_t len) |
XXH_PUBLIC_API XXH128_hash_t | XXH3_128bits_digest (const XXH3_state_t *state) |
XXH_PUBLIC_API int | XXH128_isEqual (XXH128_hash_t h1, XXH128_hash_t h2) |
XXH_PUBLIC_API int | XXH128_cmp (const void *h128_1, const void *h128_2) |
XXH_PUBLIC_API void | XXH128_canonicalFromHash (XXH128_canonical_t *dst, XXH128_hash_t hash) |
XXH_PUBLIC_API XXH128_hash_t | XXH128_hashFromCanonical (const XXH128_canonical_t *src) |
#define ACC_NB (STRIPE_LEN / sizeof(xxh_u64)) |
Definition at line 894 of file xxh3.h.
Referenced by XXH3_128bits_digest(), XXH3_64bits_digest(), XXH3_accumulate_512(), XXH3_hashLong_128b_internal(), XXH3_hashLong_internal(), and XXH3_scrambleAcc().
#define STRIPE_LEN 64 |
Definition at line 892 of file xxh3.h.
Referenced by XXH3_128bits_digest(), XXH3_64bits_digest(), XXH3_64bits_reset_internal(), XXH3_accumulate(), XXH3_accumulate_512(), XXH3_consumeStripes(), XXH3_digest_long(), XXH3_hashLong_internal_loop(), XXH3_scrambleAcc(), and XXH3_update().
#define XXH3_INIT_ACC |
Definition at line 1344 of file xxh3.h.
Referenced by XXH3_hashLong_128b_internal(), and XXH3_hashLong_internal().
#define XXH3_INTERNALBUFFER_STRIPES (XXH3_INTERNALBUFFER_SIZE / STRIPE_LEN) |
Referenced by XXH3_update().
#define XXH3_MIDSIZE_LASTOFFSET 17 |
Referenced by XXH3_len_129to240_128b(), and XXH3_len_129to240_64b().
#define XXH3_MIDSIZE_MAX 240 |
Definition at line 834 of file xxh3.h.
Referenced by XXH3_128bits(), XXH3_128bits_digest(), XXH3_128bits_withSecret(), XXH3_128bits_withSeed(), XXH3_64bits(), XXH3_64bits_digest(), XXH3_64bits_withSecret(), XXH3_64bits_withSeed(), XXH3_len_129to240_128b(), and XXH3_len_129to240_64b().
#define XXH3_MIDSIZE_STARTOFFSET 3 |
Referenced by XXH3_len_129to240_128b(), and XXH3_len_129to240_64b().
#define XXH_likely | ( | x | ) | (x) |
Definition at line 70 of file xxh3.h.
Referenced by XXH3_len_0to16_64b().
#define XXH_mult32to64 | ( | x, | |
y | |||
) | ((xxh_u64)(xxh_u32)(x) * (xxh_u64)(xxh_u32)(y)) |
Definition at line 498 of file xxh3.h.
Referenced by XXH3_accumulate_512(), XXH3_len_9to16_128b(), and XXH_mult64to128().
#define XXH_NEON 3 /* NEON for most ARMv7-A and all AArch64 */ |
#define XXH_PREFETCH | ( | ptr | ) | (void)(ptr) /* disabled */ |
Definition at line 439 of file xxh3.h.
Referenced by XXH3_accumulate().
#define XXH_PREFETCH_DIST 384 |
Definition at line 1264 of file xxh3.h.
Referenced by XXH3_accumulate().
#define XXH_SECRET_CONSUME_RATE 8 /* nb of secret bytes consumed at each accumulation */ |
Definition at line 893 of file xxh3.h.
Referenced by XXH3_64bits_reset_internal(), XXH3_accumulate(), XXH3_consumeStripes(), and XXH3_hashLong_internal_loop().
#define XXH_SECRET_DEFAULT_SIZE 192 /* minimum XXH3_SECRET_SIZE_MIN */ |
Definition at line 448 of file xxh3.h.
Referenced by XXH3_128bits_reset(), XXH3_128bits_reset_withSeed(), XXH3_64bits_reset(), XXH3_64bits_reset_withSeed(), XXH3_hashLong_128b_withSeed(), XXH3_hashLong_64b_withSeed(), and XXH3_initCustomSecret().
#define XXH_SECRET_LASTACC_START 7 |
Referenced by XXH3_digest_long(), and XXH3_hashLong_internal_loop().
#define XXH_SECRET_MERGEACCS_START 11 |
Referenced by XXH3_128bits_digest(), XXH3_64bits_digest(), XXH3_hashLong_128b_internal(), and XXH3_hashLong_internal().
enum XXH3_accWidth_e |
Enumerator | |
---|---|
XXH3_acc_64bits | |
XXH3_acc_128bits |
Definition at line 896 of file xxh3.h.
XXH_PUBLIC_API XXH128_hash_t XXH128 | ( | const void * | input, |
size_t | len, | ||
XXH64_hash_t | seed | ||
) |
Definition at line 1985 of file xxh3.h.
References XXH3_128bits_withSeed().
XXH_PUBLIC_API void XXH128_canonicalFromHash | ( | XXH128_canonical_t * | dst, |
XXH128_hash_t | hash | ||
) |
XXH_PUBLIC_API int XXH128_cmp | ( | const void * | h128_1, |
const void * | h128_2 | ||
) |
Definition at line 2072 of file xxh3.h.
XXH_PUBLIC_API XXH128_hash_t XXH128_hashFromCanonical | ( | const XXH128_canonical_t * | src | ) |
XXH_PUBLIC_API int XXH128_isEqual | ( | XXH128_hash_t | h1, |
XXH128_hash_t | h2 | ||
) |
Definition at line 2062 of file xxh3.h.
XXH_FORCE_INLINE XXH128_hash_t XXH128_mix32B | ( | XXH128_hash_t | acc, |
const xxh_u8 * | input_1, | ||
const xxh_u8 * | input_2, | ||
const xxh_u8 * | secret, | ||
XXH64_hash_t | seed | ||
) |
Definition at line 1826 of file xxh3.h.
References XXH3_mix16B().
Referenced by XXH3_len_129to240_128b(), and XXH3_len_17to128_128b().
XXH_PUBLIC_API XXH128_hash_t XXH3_128bits | ( | const void * | input, |
size_t | len | ||
) |
Definition at line 1951 of file xxh3.h.
References XXH3_hashLong_128b_defaultSecret(), XXH3_len_0to16_128b(), XXH3_len_129to240_128b(), XXH3_len_17to128_128b(), and XXH3_MIDSIZE_MAX.
XXH_PUBLIC_API XXH128_hash_t XXH3_128bits_digest | ( | const XXH3_state_t * | state | ) |
Definition at line 2039 of file xxh3.h.
References ACC_NB, STRIPE_LEN, XXH3_128bits_withSecret(), XXH3_128bits_withSeed(), XXH3_acc_128bits, XXH3_digest_long(), XXH3_mergeAccs(), XXH3_MIDSIZE_MAX, XXH_ALIGN(), and XXH_SECRET_MERGEACCS_START.
XXH_PUBLIC_API XXH_errorcode XXH3_128bits_reset | ( | XXH3_state_t * | statePtr | ) |
Definition at line 2006 of file xxh3.h.
References XXH3_128bits_reset_internal(), XXH_ERROR, XXH_OK, and XXH_SECRET_DEFAULT_SIZE.
|
static |
Definition at line 1998 of file xxh3.h.
References XXH3_64bits_reset_internal().
Referenced by XXH3_128bits_reset(), XXH3_128bits_reset_withSecret(), and XXH3_128bits_reset_withSeed().
XXH_PUBLIC_API XXH_errorcode XXH3_128bits_reset_withSecret | ( | XXH3_state_t * | statePtr, |
const void * | secret, | ||
size_t | secretSize | ||
) |
Definition at line 2014 of file xxh3.h.
References XXH3_128bits_reset_internal(), XXH_ERROR, and XXH_OK.
XXH_PUBLIC_API XXH_errorcode XXH3_128bits_reset_withSeed | ( | XXH3_state_t * | statePtr, |
XXH64_hash_t | seed | ||
) |
Definition at line 2024 of file xxh3.h.
References XXH3_128bits_reset_internal(), XXH3_initCustomSecret(), XXH_ERROR, XXH_OK, and XXH_SECRET_DEFAULT_SIZE.
XXH_PUBLIC_API XXH_errorcode XXH3_128bits_update | ( | XXH3_state_t * | state, |
const void * | input, | ||
size_t | len | ||
) |
Definition at line 2034 of file xxh3.h.
References XXH3_acc_128bits, and XXH3_update().
XXH_PUBLIC_API XXH128_hash_t XXH3_128bits_withSecret | ( | const void * | input, |
size_t | len, | ||
const void * | secret, | ||
size_t | secretSize | ||
) |
Definition at line 1960 of file xxh3.h.
References XXH3_hashLong_128b_withSecret(), XXH3_len_0to16_128b(), XXH3_len_129to240_128b(), XXH3_len_17to128_128b(), and XXH3_MIDSIZE_MAX.
Referenced by XXH3_128bits_digest().
XXH_PUBLIC_API XXH128_hash_t XXH3_128bits_withSeed | ( | const void * | input, |
size_t | len, | ||
XXH64_hash_t | seed | ||
) |
Definition at line 1976 of file xxh3.h.
References XXH3_hashLong_128b_withSeed(), XXH3_len_0to16_128b(), XXH3_len_129to240_128b(), XXH3_len_17to128_128b(), and XXH3_MIDSIZE_MAX.
Referenced by XXH128(), and XXH3_128bits_digest().
XXH_PUBLIC_API XXH64_hash_t XXH3_64bits | ( | const void * | input, |
size_t | len | ||
) |
Definition at line 1430 of file xxh3.h.
References XXH3_hashLong_64b_defaultSecret(), XXH3_len_0to16_64b(), XXH3_len_129to240_64b(), XXH3_len_17to128_64b(), and XXH3_MIDSIZE_MAX.
Referenced by TupleString< 4 >::makeHash().
XXH_PUBLIC_API XXH64_hash_t XXH3_64bits_digest | ( | const XXH3_state_t * | state | ) |
Definition at line 1661 of file xxh3.h.
References ACC_NB, STRIPE_LEN, XXH3_64bits_withSecret(), XXH3_64bits_withSeed(), XXH3_acc_64bits, XXH3_digest_long(), XXH3_mergeAccs(), XXH3_MIDSIZE_MAX, XXH_ALIGN(), and XXH_SECRET_MERGEACCS_START.
XXH_PUBLIC_API XXH_errorcode XXH3_64bits_reset | ( | XXH3_state_t * | statePtr | ) |
Definition at line 1506 of file xxh3.h.
References XXH3_64bits_reset_internal(), XXH_ERROR, XXH_OK, and XXH_SECRET_DEFAULT_SIZE.
|
static |
Definition at line 1483 of file xxh3.h.
References STRIPE_LEN, and XXH_SECRET_CONSUME_RATE.
Referenced by XXH3_128bits_reset_internal(), XXH3_64bits_reset(), XXH3_64bits_reset_withSecret(), and XXH3_64bits_reset_withSeed().
XXH_PUBLIC_API XXH_errorcode XXH3_64bits_reset_withSecret | ( | XXH3_state_t * | statePtr, |
const void * | secret, | ||
size_t | secretSize | ||
) |
Definition at line 1514 of file xxh3.h.
References XXH3_64bits_reset_internal(), XXH_ERROR, and XXH_OK.
XXH_PUBLIC_API XXH_errorcode XXH3_64bits_reset_withSeed | ( | XXH3_state_t * | statePtr, |
XXH64_hash_t | seed | ||
) |
Definition at line 1524 of file xxh3.h.
References XXH3_64bits_reset_internal(), XXH3_initCustomSecret(), XXH_ERROR, XXH_OK, and XXH_SECRET_DEFAULT_SIZE.
XXH_PUBLIC_API XXH_errorcode XXH3_64bits_update | ( | XXH3_state_t * | state, |
const void * | input, | ||
size_t | len | ||
) |
Definition at line 1620 of file xxh3.h.
References XXH3_acc_64bits, and XXH3_update().
XXH_PUBLIC_API XXH64_hash_t XXH3_64bits_withSecret | ( | const void * | input, |
size_t | len, | ||
const void * | secret, | ||
size_t | secretSize | ||
) |
Definition at line 1439 of file xxh3.h.
References XXH3_hashLong_64b_withSecret(), XXH3_len_0to16_64b(), XXH3_len_129to240_64b(), XXH3_len_17to128_64b(), and XXH3_MIDSIZE_MAX.
Referenced by XXH3_64bits_digest().
XXH_PUBLIC_API XXH64_hash_t XXH3_64bits_withSeed | ( | const void * | input, |
size_t | len, | ||
XXH64_hash_t | seed | ||
) |
Definition at line 1455 of file xxh3.h.
References XXH3_hashLong_64b_withSeed(), XXH3_len_0to16_64b(), XXH3_len_129to240_64b(), XXH3_len_17to128_64b(), and XXH3_MIDSIZE_MAX.
Referenced by XXH3_64bits_digest().
XXH_FORCE_INLINE void XXH3_accumulate | ( | xxh_u64 *XXH_RESTRICT | acc, |
const xxh_u8 *XXH_RESTRICT | input, | ||
const xxh_u8 *XXH_RESTRICT | secret, | ||
size_t | nbStripes, | ||
XXH3_accWidth_e | accWidth | ||
) |
Definition at line 1272 of file xxh3.h.
References STRIPE_LEN, XXH3_accumulate_512(), XXH_PREFETCH, XXH_PREFETCH_DIST, and XXH_SECRET_CONSUME_RATE.
Referenced by XXH3_consumeStripes(), and XXH3_hashLong_internal_loop().
XXH_FORCE_INLINE void XXH3_accumulate_512 | ( | void *XXH_RESTRICT | acc, |
const void *XXH_RESTRICT | input, | ||
const void *XXH_RESTRICT | secret, | ||
XXH3_accWidth_e | accWidth | ||
) |
Definition at line 921 of file xxh3.h.
References ACC_NB, STRIPE_LEN, XXH3_acc_128bits, XXH3_acc_64bits, XXH_ALIGN(), and XXH_mult32to64.
Referenced by XXH3_accumulate(), XXH3_digest_long(), and XXH3_hashLong_internal_loop().
|
static |
Definition at line 634 of file xxh3.h.
References XXH_xorshift64().
Referenced by XXH3_len_0to16_128b(), XXH3_len_0to16_64b(), XXH3_len_129to240_128b(), XXH3_len_129to240_64b(), XXH3_len_17to128_128b(), XXH3_len_17to128_64b(), XXH3_len_1to3_128b(), XXH3_len_1to3_64b(), XXH3_len_4to8_128b(), XXH3_len_9to16_128b(), XXH3_len_9to16_64b(), and XXH3_mergeAccs().
XXH_FORCE_INLINE void XXH3_consumeStripes | ( | xxh_u64 * | acc, |
XXH32_hash_t * | nbStripesSoFarPtr, | ||
XXH32_hash_t | nbStripesPerBlock, | ||
const xxh_u8 * | input, | ||
size_t | totalStripes, | ||
const xxh_u8 * | secret, | ||
size_t | secretLimit, | ||
XXH3_accWidth_e | accWidth | ||
) |
Definition at line 1534 of file xxh3.h.
References STRIPE_LEN, XXH3_accumulate(), XXH3_scrambleAcc(), and XXH_SECRET_CONSUME_RATE.
Referenced by XXH3_digest_long(), and XXH3_update().
XXH_PUBLIC_API void XXH3_copyState | ( | XXH3_state_t * | dst_state, |
const XXH3_state_t * | src_state | ||
) |
XXH_PUBLIC_API XXH3_state_t* XXH3_createState | ( | void | ) |
XXH_FORCE_INLINE void XXH3_digest_long | ( | XXH64_hash_t * | acc, |
const XXH3_state_t * | state, | ||
XXH3_accWidth_e | accWidth | ||
) |
Definition at line 1627 of file xxh3.h.
References STRIPE_LEN, XXH3_accumulate_512(), XXH3_consumeStripes(), and XXH_SECRET_LASTACC_START.
Referenced by XXH3_128bits_digest(), and XXH3_64bits_digest().
XXH_PUBLIC_API XXH_errorcode XXH3_freeState | ( | XXH3_state_t * | statePtr | ) |
XXH_NO_INLINE XXH128_hash_t XXH3_hashLong_128b_defaultSecret | ( | const xxh_u8 * | input, |
size_t | len | ||
) |
Definition at line 1921 of file xxh3.h.
References XXH3_hashLong_128b_internal().
Referenced by XXH3_128bits(), and XXH3_hashLong_128b_withSeed().
XXH_FORCE_INLINE XXH128_hash_t XXH3_hashLong_128b_internal | ( | const xxh_u8 *XXH_RESTRICT | input, |
size_t | len, | ||
const xxh_u8 *XXH_RESTRICT | secret, | ||
size_t | secretSize | ||
) |
Definition at line 1899 of file xxh3.h.
References ACC_NB, XXH3_acc_128bits, XXH3_hashLong_internal_loop(), XXH3_INIT_ACC, XXH3_mergeAccs(), XXH_ALIGN(), and XXH_SECRET_MERGEACCS_START.
Referenced by XXH3_hashLong_128b_defaultSecret(), XXH3_hashLong_128b_withSecret(), and XXH3_hashLong_128b_withSeed().
XXH_NO_INLINE XXH128_hash_t XXH3_hashLong_128b_withSecret | ( | const xxh_u8 * | input, |
size_t | len, | ||
const xxh_u8 * | secret, | ||
size_t | secretSize | ||
) |
Definition at line 1931 of file xxh3.h.
References XXH3_hashLong_128b_internal().
Referenced by XXH3_128bits_withSecret().
XXH_NO_INLINE XXH128_hash_t XXH3_hashLong_128b_withSeed | ( | const xxh_u8 * | input, |
size_t | len, | ||
XXH64_hash_t | seed | ||
) |
Definition at line 1942 of file xxh3.h.
References XXH3_hashLong_128b_defaultSecret(), XXH3_hashLong_128b_internal(), XXH3_initCustomSecret(), XXH_ALIGN(), and XXH_SECRET_DEFAULT_SIZE.
Referenced by XXH3_128bits_withSeed().
XXH_NO_INLINE XXH64_hash_t XXH3_hashLong_64b_defaultSecret | ( | const xxh_u8 *XXH_RESTRICT | input, |
size_t | len | ||
) |
Definition at line 1368 of file xxh3.h.
References XXH3_hashLong_internal().
Referenced by XXH3_64bits(), and XXH3_hashLong_64b_withSeed().
XXH_NO_INLINE XXH64_hash_t XXH3_hashLong_64b_withSecret | ( | const xxh_u8 *XXH_RESTRICT | input, |
size_t | len, | ||
const xxh_u8 *XXH_RESTRICT | secret, | ||
size_t | secretSize | ||
) |
Definition at line 1378 of file xxh3.h.
References XXH3_hashLong_internal().
Referenced by XXH3_64bits_withSecret().
XXH_NO_INLINE XXH64_hash_t XXH3_hashLong_64b_withSeed | ( | const xxh_u8 * | input, |
size_t | len, | ||
XXH64_hash_t | seed | ||
) |
Definition at line 1420 of file xxh3.h.
References XXH3_hashLong_64b_defaultSecret(), XXH3_hashLong_internal(), XXH3_initCustomSecret(), XXH_ALIGN(), and XXH_SECRET_DEFAULT_SIZE.
Referenced by XXH3_64bits_withSeed().
XXH_FORCE_INLINE XXH64_hash_t XXH3_hashLong_internal | ( | const xxh_u8 *XXH_RESTRICT | input, |
size_t | len, | ||
const xxh_u8 *XXH_RESTRICT | secret, | ||
size_t | secretSize | ||
) |
Definition at line 1348 of file xxh3.h.
References ACC_NB, XXH3_acc_64bits, XXH3_hashLong_internal_loop(), XXH3_INIT_ACC, XXH3_mergeAccs(), XXH_ALIGN(), and XXH_SECRET_MERGEACCS_START.
Referenced by XXH3_hashLong_64b_defaultSecret(), XXH3_hashLong_64b_withSecret(), and XXH3_hashLong_64b_withSeed().
XXH_FORCE_INLINE void XXH3_hashLong_internal_loop | ( | xxh_u64 *XXH_RESTRICT | acc, |
const xxh_u8 *XXH_RESTRICT | input, | ||
size_t | len, | ||
const xxh_u8 *XXH_RESTRICT | secret, | ||
size_t | secretSize, | ||
XXH3_accWidth_e | accWidth | ||
) |
Definition at line 1290 of file xxh3.h.
References STRIPE_LEN, XXH3_accumulate(), XXH3_accumulate_512(), XXH3_scrambleAcc(), XXH_SECRET_CONSUME_RATE, and XXH_SECRET_LASTACC_START.
Referenced by XXH3_hashLong_128b_internal(), and XXH3_hashLong_internal().
XXH_FORCE_INLINE void XXH3_initCustomSecret | ( | xxh_u8 * | customSecret, |
xxh_u64 | seed64 | ||
) |
Definition at line 1394 of file xxh3.h.
References XXH_SECRET_DEFAULT_SIZE, and XXH_writeLE64().
Referenced by XXH3_128bits_reset_withSeed(), XXH3_64bits_reset_withSeed(), XXH3_hashLong_128b_withSeed(), and XXH3_hashLong_64b_withSeed().
XXH_FORCE_INLINE XXH128_hash_t XXH3_len_0to16_128b | ( | const xxh_u8 * | input, |
size_t | len, | ||
const xxh_u8 * | secret, | ||
XXH64_hash_t | seed | ||
) |
Definition at line 1807 of file xxh3.h.
References XXH3_avalanche(), XXH3_len_1to3_128b(), XXH3_len_4to8_128b(), and XXH3_len_9to16_128b().
Referenced by XXH3_128bits(), XXH3_128bits_withSecret(), and XXH3_128bits_withSeed().
XXH_FORCE_INLINE XXH64_hash_t XXH3_len_0to16_64b | ( | const xxh_u8 * | input, |
size_t | len, | ||
const xxh_u8 * | secret, | ||
XXH64_hash_t | seed | ||
) |
Definition at line 737 of file xxh3.h.
References XXH3_avalanche(), XXH3_len_1to3_64b(), XXH3_len_4to8_64b(), XXH3_len_9to16_64b(), and XXH_likely.
Referenced by XXH3_64bits(), XXH3_64bits_withSecret(), and XXH3_64bits_withSeed().
XXH_NO_INLINE XXH128_hash_t XXH3_len_129to240_128b | ( | const xxh_u8 *XXH_RESTRICT | input, |
size_t | len, | ||
const xxh_u8 *XXH_RESTRICT | secret, | ||
size_t | secretSize, | ||
XXH64_hash_t | seed | ||
) |
Definition at line 1866 of file xxh3.h.
References XXH128_mix32B(), XXH3_avalanche(), XXH3_MIDSIZE_LASTOFFSET, XXH3_MIDSIZE_MAX, and XXH3_MIDSIZE_STARTOFFSET.
Referenced by XXH3_128bits(), XXH3_128bits_withSecret(), and XXH3_128bits_withSeed().
XXH_NO_INLINE XXH64_hash_t XXH3_len_129to240_64b | ( | const xxh_u8 *XXH_RESTRICT | input, |
size_t | len, | ||
const xxh_u8 *XXH_RESTRICT | secret, | ||
size_t | secretSize, | ||
XXH64_hash_t | seed | ||
) |
Definition at line 837 of file xxh3.h.
References XXH3_avalanche(), XXH3_MIDSIZE_LASTOFFSET, XXH3_MIDSIZE_MAX, XXH3_MIDSIZE_STARTOFFSET, and XXH3_mix16B().
Referenced by XXH3_64bits(), XXH3_64bits_withSecret(), and XXH3_64bits_withSeed().
XXH_FORCE_INLINE XXH128_hash_t XXH3_len_17to128_128b | ( | const xxh_u8 *XXH_RESTRICT | input, |
size_t | len, | ||
const xxh_u8 *XXH_RESTRICT | secret, | ||
size_t | secretSize, | ||
XXH64_hash_t | seed | ||
) |
Definition at line 1837 of file xxh3.h.
References XXH128_mix32B(), and XXH3_avalanche().
Referenced by XXH3_128bits(), XXH3_128bits_withSecret(), and XXH3_128bits_withSeed().
XXH_FORCE_INLINE XXH64_hash_t XXH3_len_17to128_64b | ( | const xxh_u8 *XXH_RESTRICT | input, |
size_t | len, | ||
const xxh_u8 *XXH_RESTRICT | secret, | ||
size_t | secretSize, | ||
XXH64_hash_t | seed | ||
) |
Definition at line 807 of file xxh3.h.
References XXH3_avalanche(), and XXH3_mix16B().
Referenced by XXH3_64bits(), XXH3_64bits_withSecret(), and XXH3_64bits_withSeed().
XXH_FORCE_INLINE XXH128_hash_t XXH3_len_1to3_128b | ( | const xxh_u8 * | input, |
size_t | len, | ||
const xxh_u8 * | secret, | ||
XXH64_hash_t | seed | ||
) |
Definition at line 1679 of file xxh3.h.
References XXH3_avalanche().
Referenced by XXH3_len_0to16_128b().
XXH_FORCE_INLINE XXH64_hash_t XXH3_len_1to3_64b | ( | const xxh_u8 * | input, |
size_t | len, | ||
const xxh_u8 * | secret, | ||
XXH64_hash_t | seed | ||
) |
Definition at line 677 of file xxh3.h.
References XXH3_avalanche().
Referenced by XXH3_len_0to16_64b().
XXH_FORCE_INLINE XXH128_hash_t XXH3_len_4to8_128b | ( | const xxh_u8 * | input, |
size_t | len, | ||
const xxh_u8 * | secret, | ||
XXH64_hash_t | seed | ||
) |
Definition at line 1706 of file xxh3.h.
References XXH3_avalanche(), XXH_mult64to128(), and XXH_xorshift64().
Referenced by XXH3_len_0to16_128b().
XXH_FORCE_INLINE XXH64_hash_t XXH3_len_4to8_64b | ( | const xxh_u8 * | input, |
size_t | len, | ||
const xxh_u8 * | secret, | ||
XXH64_hash_t | seed | ||
) |
Definition at line 699 of file xxh3.h.
References XXH_xorshift64().
Referenced by XXH3_len_0to16_64b().
XXH_FORCE_INLINE XXH128_hash_t XXH3_len_9to16_128b | ( | const xxh_u8 * | input, |
size_t | len, | ||
const xxh_u8 * | secret, | ||
XXH64_hash_t | seed | ||
) |
Definition at line 1733 of file xxh3.h.
References XXH3_avalanche(), XXH_mult32to64, and XXH_mult64to128().
Referenced by XXH3_len_0to16_128b().
XXH_FORCE_INLINE XXH64_hash_t XXH3_len_9to16_64b | ( | const xxh_u8 * | input, |
size_t | len, | ||
const xxh_u8 * | secret, | ||
XXH64_hash_t | seed | ||
) |
Definition at line 720 of file xxh3.h.
References XXH3_avalanche(), and XXH3_mul128_fold64().
Referenced by XXH3_len_0to16_64b().
|
static |
Definition at line 1332 of file xxh3.h.
References XXH3_avalanche(), and XXH3_mix2Accs().
Referenced by XXH3_128bits_digest(), XXH3_64bits_digest(), XXH3_hashLong_128b_internal(), and XXH3_hashLong_internal().
XXH_FORCE_INLINE xxh_u64 XXH3_mix16B | ( | const xxh_u8 *XXH_RESTRICT | input, |
const xxh_u8 *XXH_RESTRICT | secret, | ||
xxh_u64 | seed64 | ||
) |
Definition at line 773 of file xxh3.h.
References XXH3_mul128_fold64().
Referenced by XXH128_mix32B(), XXH3_len_129to240_64b(), and XXH3_len_17to128_64b().
XXH_FORCE_INLINE xxh_u64 XXH3_mix2Accs | ( | const xxh_u64 *XXH_RESTRICT | acc, |
const xxh_u8 *XXH_RESTRICT | secret | ||
) |
Definition at line 1324 of file xxh3.h.
References XXH3_mul128_fold64().
Referenced by XXH3_mergeAccs().
|
static |
Definition at line 616 of file xxh3.h.
References XXH_mult64to128().
Referenced by XXH3_len_9to16_64b(), XXH3_mix16B(), and XXH3_mix2Accs().
XXH_FORCE_INLINE void XXH3_scrambleAcc | ( | void *XXH_RESTRICT | acc, |
const void *XXH_RESTRICT | secret | ||
) |
Definition at line 1111 of file xxh3.h.
References ACC_NB, STRIPE_LEN, XXH_ALIGN(), and XXH_xorshift64().
Referenced by XXH3_consumeStripes(), and XXH3_hashLong_internal_loop().
XXH_FORCE_INLINE XXH_errorcode XXH3_update | ( | XXH3_state_t * | state, |
const xxh_u8 * | input, | ||
size_t | len, | ||
XXH3_accWidth_e | accWidth | ||
) |
Definition at line 1558 of file xxh3.h.
References STRIPE_LEN, XXH3_consumeStripes(), XXH3_INTERNALBUFFER_STRIPES, XXH_ERROR, and XXH_OK.
Referenced by XXH3_128bits_update(), and XXH3_64bits_update().
XXH_ALIGN | ( | 64 | ) | const |
|
static |
Definition at line 507 of file xxh3.h.
References XXH_mult32to64.
Referenced by XXH3_len_4to8_128b(), XXH3_len_9to16_128b(), and XXH3_mul128_fold64().
XXH_FORCE_INLINE void XXH_writeLE64 | ( | void * | dst, |
xxh_u64 | v64 | ||
) |
Definition at line 1385 of file xxh3.h.
Referenced by XXH3_initCustomSecret().
XXH_FORCE_INLINE xxh_u64 XXH_xorshift64 | ( | xxh_u64 | v64, |
int | shift | ||
) |
Definition at line 623 of file xxh3.h.
Referenced by XXH3_avalanche(), XXH3_len_4to8_128b(), XXH3_len_4to8_64b(), and XXH3_scrambleAcc().