xxHash  0.8.0
Extremely fast non-cryptographic hash function
Data Fields
XXH32_state_s Struct Reference

Structure for XXH32 streaming API. More...

#include <xxhash.h>

Data Fields

XXH32_hash_t total_len_32
 
XXH32_hash_t large_len
 
XXH32_hash_t v [4]
 
XXH32_hash_t mem32 [4]
 
XXH32_hash_t memsize
 
XXH32_hash_t reserved
 

Detailed Description

Structure for XXH32 streaming API.

Note
This is only defined when XXH_STATIC_LINKING_ONLY, XXH_INLINE_ALL, or XXH_IMPLEMENTATION is defined. Otherwise it is an opaque type. This allows fields to safely be changed.

Typedef'd to XXH32_state_t. Do not access the members of this struct directly.

See also
XXH64_state_s, XXH3_state_s

Field Documentation

◆ total_len_32

XXH32_hash_t XXH32_state_s::total_len_32

Total length hashed, modulo 2^32

◆ large_len

XXH32_hash_t XXH32_state_s::large_len

Whether the hash is >= 16 (handles total_len_32 overflow)

◆ v

XXH32_hash_t XXH32_state_s::v[4]

Accumulator lanes

◆ mem32

XXH32_hash_t XXH32_state_s::mem32[4]

Internal buffer for partial reads. Treated as unsigned char[16].

◆ memsize

XXH32_hash_t XXH32_state_s::memsize

Amount of data in mem32

◆ reserved

XXH32_hash_t XXH32_state_s::reserved

Reserved field. Do not read or write to it, it may be removed.


The documentation for this struct was generated from the following file: