xxHash
0.8.0
Extremely fast non-cryptographic hash function
|
Structure for XXH3 streaming API. More...
#include <xxhash.h>
Data Fields | |
XXH64_hash_t | acc [8] |
unsigned char | customSecret [192] |
unsigned char | buffer [256] |
XXH32_hash_t | bufferedSize |
XXH32_hash_t | useSeed |
size_t | nbStripesSoFar |
XXH64_hash_t | totalLen |
size_t | nbStripesPerBlock |
size_t | secretLimit |
XXH64_hash_t | seed |
XXH64_hash_t | reserved64 |
const unsigned char * | extSecret |
Structure for XXH3 streaming API.
malloc()
or new
, it will not be sufficiently aligned. Use XXH3_createState() and XXH3_freeState(), or stack allocation.Typedef'd to XXH3_state_t. Do never access the members of this struct directly.
XXH64_hash_t XXH3_state_s::acc[8] |
The 8 accumulators. Similar to vN
in XXH32_state_s::v1 and XXH64_state_s
unsigned char XXH3_state_s::customSecret[192] |
Used to store a custom secret generated from a seed.
unsigned char XXH3_state_s::buffer[256] |
The internal buffer.
XXH32_hash_t XXH3_state_s::bufferedSize |
The amount of memory in buffer,
XXH32_hash_t XXH3_state_s::useSeed |
Reserved field. Needed for padding on 64-bit.
size_t XXH3_state_s::nbStripesSoFar |
Number or stripes processed.
XXH64_hash_t XXH3_state_s::totalLen |
Total length hashed. 64-bit even on 32-bit targets.
size_t XXH3_state_s::nbStripesPerBlock |
Number of stripes per block.
size_t XXH3_state_s::secretLimit |
Size of customSecret or extSecret
XXH64_hash_t XXH3_state_s::seed |
Seed for _withSeed variants. Must be zero otherwise,
XXH64_hash_t XXH3_state_s::reserved64 |
Reserved field.
const unsigned char* XXH3_state_s::extSecret |
Reference to an external secret for the _withSecret variants, NULL for other variants.