Classes | Macros | Enumerations | Functions
xxhash.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  XXH32_stateSpace_t
 

Macros

#define XXH32_feed   XXH32_update
 
#define XXH32_getIntermediateResult   XXH32_intermediateDigest
 
#define XXH32_result   XXH32_digest
 
#define XXH32_SIZEOFSTATE   48
 

Enumerations

enum  XXH_errorcode { XXH_OK =0, XXH_ERROR }
 

Functions

unsigned int XXH32 (const void *input, int len, unsigned int seed)
 
unsigned int XXH32_digest (void *state)
 
void * XXH32_init (unsigned int seed)
 
unsigned int XXH32_intermediateDigest (void *state)
 
XXH_errorcode XXH32_resetState (void *state, unsigned int seed)
 
int XXH32_sizeofState ()
 
XXH_errorcode XXH32_update (void *state, const void *input, int len)
 

Macro Definition Documentation

◆ XXH32_feed

#define XXH32_feed   XXH32_update

Definition at line 178 of file xxhash.h.

◆ XXH32_getIntermediateResult

#define XXH32_getIntermediateResult   XXH32_intermediateDigest

Definition at line 180 of file xxhash.h.

◆ XXH32_result

#define XXH32_result   XXH32_digest

Definition at line 179 of file xxhash.h.

◆ XXH32_SIZEOFSTATE

#define XXH32_SIZEOFSTATE   48

Definition at line 149 of file xxhash.h.

Enumeration Type Documentation

◆ XXH_errorcode

Enumerator
XXH_OK 
XXH_ERROR 

Definition at line 70 of file xxhash.h.

Function Documentation

◆ XXH32()

unsigned int XXH32 ( const void *  input,
int  len,
unsigned int  seed 
)

XXH_NAMESPACE, aka Namespace Emulation :

If you want to include and expose xxHash functions from within your own library, but also want to avoid symbol collisions with other libraries which may also include xxHash,

you can use XXH_NAMESPACE, to automatically prefix any public symbol from xxhash library with the value of XXH_NAMESPACE (therefore, avoid NULL and numeric values).

Note that no change is required within the calling program as long as it includes xxhash.h : regular symbol name will be automatically translated by this header.

Definition at line 265 of file xxhash.c.

◆ XXH32_digest()

unsigned int XXH32_digest ( void *  state)

Definition at line 471 of file xxhash.c.

◆ XXH32_init()

void* XXH32_init ( unsigned int  seed)

Definition at line 331 of file xxhash.c.

◆ XXH32_intermediateDigest()

unsigned int XXH32_intermediateDigest ( void *  state)

Definition at line 460 of file xxhash.c.

◆ XXH32_resetState()

XXH_errorcode XXH32_resetState ( void *  state,
unsigned int  seed 
)

Definition at line 317 of file xxhash.c.

◆ XXH32_sizeofState()

int XXH32_sizeofState ( )

Definition at line 310 of file xxhash.c.

◆ XXH32_update()

XXH_errorcode XXH32_update ( void *  state,
const void *  input,
int  len 
)

Definition at line 406 of file xxhash.c.



roslz4
Author(s): Ben Charrow , Jacob Perron
autogenerated on Sat Sep 14 2024 02:59:30