MIDAS
Loading...
Searching...
No Matches
xxhash.h File Reference
#include <stddef.h>
Include dependency graph for xxhash.h:

Go to the source code of this file.

Classes

struct  XXH32_state_t
 
struct  XXH64_state_t
 

Enumerations

enum  XXH_errorcode { XXH_OK =0 , XXH_ERROR }
 

Functions

unsigned int XXH32 (const void *input, size_t length, unsigned seed)
 
unsigned long long XXH64 (const void *input, size_t length, unsigned long long seed)
 
XXH32_state_tXXH32_createState (void)
 
XXH_errorcode XXH32_freeState (XXH32_state_t *statePtr)
 
XXH64_state_tXXH64_createState (void)
 
XXH_errorcode XXH64_freeState (XXH64_state_t *statePtr)
 
XXH_errorcode XXH32_reset (XXH32_state_t *statePtr, unsigned seed)
 
XXH_errorcode XXH32_update (XXH32_state_t *statePtr, const void *input, size_t length)
 
unsigned int XXH32_digest (const XXH32_state_t *statePtr)
 
XXH_errorcode XXH64_reset (XXH64_state_t *statePtr, unsigned long long seed)
 
XXH_errorcode XXH64_update (XXH64_state_t *statePtr, const void *input, size_t length)
 
unsigned long long XXH64_digest (const XXH64_state_t *statePtr)
 

Enumeration Type Documentation

◆ XXH_errorcode

Enumerator
XXH_OK 
XXH_ERROR 

Definition at line 78 of file xxhash.h.

XXH_errorcode
Definition xxhash.h:78
@ XXH_ERROR
Definition xxhash.h:78
@ XXH_OK
Definition xxhash.h:78

Function Documentation

◆ XXH32()

unsigned int XXH32 ( const void input,
size_t  length,
unsigned  seed 
)

◆ XXH32_createState()

XXH32_state_t * XXH32_createState ( void  )

◆ XXH32_digest()

unsigned int XXH32_digest ( const XXH32_state_t statePtr)

◆ XXH32_freeState()

XXH_errorcode XXH32_freeState ( XXH32_state_t statePtr)

◆ XXH32_reset()

XXH_errorcode XXH32_reset ( XXH32_state_t statePtr,
unsigned  seed 
)

◆ XXH32_update()

XXH_errorcode XXH32_update ( XXH32_state_t statePtr,
const void input,
size_t  length 
)

◆ XXH64()

unsigned long long XXH64 ( const void input,
size_t  length,
unsigned long long  seed 
)

◆ XXH64_createState()

XXH64_state_t * XXH64_createState ( void  )

◆ XXH64_digest()

unsigned long long XXH64_digest ( const XXH64_state_t statePtr)

◆ XXH64_freeState()

XXH_errorcode XXH64_freeState ( XXH64_state_t statePtr)

◆ XXH64_reset()

XXH_errorcode XXH64_reset ( XXH64_state_t statePtr,
unsigned long long  seed 
)

◆ XXH64_update()

XXH_errorcode XXH64_update ( XXH64_state_t statePtr,
const void input,
size_t  length 
)