|
XXH_PUBLIC_API XXH_CONSTF unsigned | XXH_versionNumber (void) |
| Obtains the xxHash version.
|
|
XXH_PUBLIC_API XXH_PUREF XXH32_hash_t | XXH32 (const void *input, size_t length, XXH32_hash_t seed) |
| Calculates the 32-bit hash of input using xxHash32.
|
|
XXH_PUBLIC_API XXH_MALLOCF XXH32_state_t * | XXH32_createState (void) |
| Allocates an XXH32_state_t.
|
|
XXH_PUBLIC_API XXH_errorcode | XXH32_freeState (XXH32_state_t *statePtr) |
| Frees an XXH32_state_t.
|
|
XXH_PUBLIC_API void | XXH32_copyState (XXH32_state_t *dst_state, const XXH32_state_t *src_state) |
| Copies one XXH32_state_t to another.
|
|
XXH_PUBLIC_API XXH_errorcode | XXH32_reset (XXH32_state_t *statePtr, XXH32_hash_t seed) |
| Resets an XXH32_state_t to begin a new hash.
|
|
XXH_PUBLIC_API XXH_errorcode | XXH32_update (XXH32_state_t *statePtr, const void *input, size_t length) |
| Consumes a block of input to an XXH32_state_t.
|
|
XXH_PUBLIC_API XXH_PUREF XXH32_hash_t | XXH32_digest (const XXH32_state_t *statePtr) |
| Returns the calculated hash value from an XXH32_state_t.
|
|
XXH_PUBLIC_API void | XXH32_canonicalFromHash (XXH32_canonical_t *dst, XXH32_hash_t hash) |
| Converts an XXH32_hash_t to a big endian XXH32_canonical_t.
|
|
XXH_PUBLIC_API XXH_PUREF XXH32_hash_t | XXH32_hashFromCanonical (const XXH32_canonical_t *src) |
| Converts an XXH32_canonical_t to a native XXH32_hash_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.
|
|
XXH_PUBLIC_API XXH_MALLOCF XXH64_state_t * | XXH64_createState (void) |
| Allocates an XXH64_state_t.
|
|
XXH_PUBLIC_API XXH_errorcode | XXH64_freeState (XXH64_state_t *statePtr) |
| Frees an XXH64_state_t.
|
|
XXH_PUBLIC_API void | XXH64_copyState (XXH_NOESCAPE XXH64_state_t *dst_state, const XXH64_state_t *src_state) |
| Copies one XXH64_state_t to another.
|
|
XXH_PUBLIC_API XXH_errorcode | XXH64_reset (XXH_NOESCAPE XXH64_state_t *statePtr, XXH64_hash_t seed) |
| Resets an XXH64_state_t to begin a new hash.
|
|
XXH_PUBLIC_API XXH_errorcode | XXH64_update (XXH_NOESCAPE XXH64_state_t *statePtr, XXH_NOESCAPE const void *input, size_t length) |
| Consumes a block of input to an XXH64_state_t.
|
|
XXH_PUBLIC_API XXH_PUREF XXH64_hash_t | XXH64_digest (XXH_NOESCAPE const XXH64_state_t *statePtr) |
| Returns the calculated hash value from an XXH64_state_t.
|
|
XXH_PUBLIC_API void | XXH64_canonicalFromHash (XXH_NOESCAPE XXH64_canonical_t *dst, XXH64_hash_t hash) |
| Converts an XXH64_hash_t to a big endian XXH64_canonical_t.
|
|
XXH_PUBLIC_API XXH_PUREF XXH64_hash_t | XXH64_hashFromCanonical (XXH_NOESCAPE const XXH64_canonical_t *src) |
| Converts an XXH64_canonical_t to a native XXH64_hash_t.
|
|
XXH_PUBLIC_API XXH_PUREF XXH64_hash_t | XXH3_64bits (XXH_NOESCAPE const void *input, size_t length) |
| 64-bit unseeded variant of XXH3.
|
|
XXH_PUBLIC_API XXH_PUREF XXH64_hash_t | XXH3_64bits_withSeed (XXH_NOESCAPE const void *input, size_t length, XXH64_hash_t seed) |
| 64-bit seeded variant of XXH3
|
|
XXH_PUBLIC_API XXH_PUREF XXH64_hash_t | XXH3_64bits_withSecret (XXH_NOESCAPE const void *data, size_t len, XXH_NOESCAPE const void *secret, size_t secretSize) |
| 64-bit variant of XXH3 with a custom "secret".
|
|
XXH_PUBLIC_API void | XXH3_copyState (XXH_NOESCAPE XXH3_state_t *dst_state, XXH_NOESCAPE const XXH3_state_t *src_state) |
| Copies one XXH3_state_t to another.
|
|
XXH_PUBLIC_API XXH_errorcode | XXH3_64bits_reset (XXH_NOESCAPE XXH3_state_t *statePtr) |
| Resets an XXH3_state_t to begin a new hash.
|
|
XXH_PUBLIC_API XXH_errorcode | XXH3_64bits_reset_withSeed (XXH_NOESCAPE XXH3_state_t *statePtr, XXH64_hash_t seed) |
| Resets an XXH3_state_t with 64-bit seed to begin a new hash.
|
|
XXH_PUBLIC_API XXH_errorcode | XXH3_64bits_reset_withSecret (XXH_NOESCAPE XXH3_state_t *statePtr, XXH_NOESCAPE const void *secret, size_t secretSize) |
|
XXH_PUBLIC_API XXH_errorcode | XXH3_64bits_update (XXH_NOESCAPE XXH3_state_t *statePtr, XXH_NOESCAPE const void *input, size_t length) |
| Consumes a block of input to an XXH3_state_t.
|
|
XXH_PUBLIC_API XXH_PUREF XXH64_hash_t | XXH3_64bits_digest (XXH_NOESCAPE const XXH3_state_t *statePtr) |
| Returns the calculated XXH3 64-bit hash value from an XXH3_state_t.
|
|
XXH_PUBLIC_API XXH_PUREF XXH128_hash_t | XXH3_128bits (XXH_NOESCAPE const void *data, size_t len) |
| Unseeded 128-bit variant of XXH3.
|
|
XXH_PUBLIC_API XXH_PUREF XXH128_hash_t | XXH3_128bits_withSeed (XXH_NOESCAPE const void *data, size_t len, XXH64_hash_t seed) |
| Seeded 128-bit variant of XXH3.
|
|
XXH_PUBLIC_API XXH_PUREF XXH128_hash_t | XXH3_128bits_withSecret (XXH_NOESCAPE const void *data, size_t len, XXH_NOESCAPE const void *secret, size_t secretSize) |
| Custom secret 128-bit variant of XXH3.
|
|
XXH_PUBLIC_API XXH_errorcode | XXH3_128bits_reset (XXH_NOESCAPE XXH3_state_t *statePtr) |
| Resets an XXH3_state_t to begin a new hash.
|
|
XXH_PUBLIC_API XXH_errorcode | XXH3_128bits_reset_withSeed (XXH_NOESCAPE XXH3_state_t *statePtr, XXH64_hash_t seed) |
| Resets an XXH3_state_t with 64-bit seed to begin a new hash.
|
|
XXH_PUBLIC_API XXH_errorcode | XXH3_128bits_reset_withSecret (XXH_NOESCAPE XXH3_state_t *statePtr, XXH_NOESCAPE const void *secret, size_t secretSize) |
| Custom secret 128-bit variant of XXH3.
|
|
XXH_PUBLIC_API XXH_errorcode | XXH3_128bits_update (XXH_NOESCAPE XXH3_state_t *statePtr, XXH_NOESCAPE const void *input, size_t length) |
| Consumes a block of input to an XXH3_state_t.
|
|
XXH_PUBLIC_API XXH_PUREF XXH128_hash_t | XXH3_128bits_digest (XXH_NOESCAPE const XXH3_state_t *statePtr) |
| Returns the calculated XXH3 128-bit hash value from an XXH3_state_t.
|
|
XXH_PUBLIC_API XXH_PUREF int | XXH128_isEqual (XXH128_hash_t h1, XXH128_hash_t h2) |
|
XXH_PUBLIC_API XXH_PUREF int | XXH128_cmp (XXH_NOESCAPE const void *h128_1, XXH_NOESCAPE const void *h128_2) |
| Compares two XXH128_hash_t This comparator is compatible with stdlib's qsort() /bsearch() .
|
|
XXH_PUBLIC_API void | XXH128_canonicalFromHash (XXH_NOESCAPE XXH128_canonical_t *dst, XXH128_hash_t hash) |
| Converts an XXH128_hash_t to a big endian XXH128_canonical_t.
|
|
XXH_PUBLIC_API XXH_PUREF XXH128_hash_t | XXH128_hashFromCanonical (XXH_NOESCAPE const XXH128_canonical_t *src) |
| Converts an XXH128_canonical_t to a native XXH128_hash_t.
|
|
xxHash prototypes and implementation
Definition in file xxhash.h.