![]() |
ATLAS Offline Software
|
Contains functions used in the classic 64-bit xxHash algorithm. More...
Classes | |
| struct | XXH64_canonical_t |
Typedefs | |
| typedef struct XXH64_state_s | XXH64_state_t |
| The opaque state struct for the XXH64 streaming API. | |
Functions | |
| XXH_PUBLIC_API XXH_PUREF XXH64_hash_t | XXH64 (XXH_NOESCAPE const void *input, size_t length, XXH64_hash_t seed) |
Calculates the 64-bit hash of input using xxHash64. | |
| XXH_PUBLIC_API XXH_MALLOCF XXH64_state_t * | XXH64_createState (void) |
| XXH_PUBLIC_API XXH_errorcode | XXH64_freeState (XXH64_state_t *statePtr) |
| XXH_PUBLIC_API void | XXH64_copyState (XXH_NOESCAPE XXH64_state_t *dst_state, const XXH64_state_t *src_state) |
| XXH_PUBLIC_API XXH_errorcode | XXH64_reset (XXH_NOESCAPE XXH64_state_t *statePtr, XXH64_hash_t seed) |
| XXH_PUBLIC_API XXH_errorcode | XXH64_update (XXH_NOESCAPE XXH64_state_t *statePtr, XXH_NOESCAPE const void *input, size_t length) |
| XXH_PUBLIC_API XXH_PUREF XXH64_hash_t | XXH64_digest (XXH_NOESCAPE const XXH64_state_t *statePtr) |
| XXH_PUBLIC_API void | XXH64_canonicalFromHash (XXH_NOESCAPE XXH64_canonical_t *dst, XXH64_hash_t hash) |
| XXH_PUBLIC_API XXH_PUREF XXH64_hash_t | XXH64_hashFromCanonical (XXH_NOESCAPE const XXH64_canonical_t *src) |
Contains functions used in the classic 64-bit xxHash algorithm.
| typedef struct XXH64_state_s XXH64_state_t |
| XXH_PUBLIC_API XXH_PUREF XXH64_hash_t XXH64 | ( | XXH_NOESCAPE const void * | input, |
| size_t | length, | ||
| XXH64_hash_t | seed ) |
Calculates the 64-bit hash of input using xxHash64.
This function usually runs faster on 64-bit systems, but slower on 32-bit systems (see benchmark).
| input | The block of data to be hashed, at least length bytes in size. |
| length | The length of input, in bytes. |
| seed | The 64-bit seed to alter the hash's output predictably. |
input and input + length must be valid, readable, contiguous memory. However, if length is 0, input may be NULL. In C++, this also must be TriviallyCopyable.| XXH_PUBLIC_API void XXH64_canonicalFromHash | ( | XXH_NOESCAPE XXH64_canonical_t * | dst, |
| XXH64_hash_t | hash ) |
| XXH_PUBLIC_API void XXH64_copyState | ( | XXH_NOESCAPE XXH64_state_t * | dst_state, |
| const XXH64_state_t * | src_state ) |
| XXH_PUBLIC_API XXH_MALLOCF XXH64_state_t * XXH64_createState | ( | void | ) |
| XXH_PUBLIC_API XXH_PUREF XXH64_hash_t XXH64_digest | ( | XXH_NOESCAPE const XXH64_state_t * | statePtr | ) |
| XXH_PUBLIC_API XXH_errorcode XXH64_freeState | ( | XXH64_state_t * | statePtr | ) |
| XXH_PUBLIC_API XXH_PUREF XXH64_hash_t XXH64_hashFromCanonical | ( | XXH_NOESCAPE const XXH64_canonical_t * | src | ) |
| XXH_PUBLIC_API XXH_errorcode XXH64_reset | ( | XXH_NOESCAPE XXH64_state_t * | statePtr, |
| XXH64_hash_t | seed ) |
| XXH_PUBLIC_API XXH_errorcode XXH64_update | ( | XXH_NOESCAPE XXH64_state_t * | statePtr, |
| XXH_NOESCAPE const void * | input, | ||
| size_t | length ) |