ROOTANA
Data Structures | Macros | Enumerations | Functions
mxxhash.h File Reference
#include <stddef.h>
Include dependency graph for mxxhash.h:

Go to the source code of this file.

Data Structures

struct  XXH32_state_t
 
struct  XXH64_state_t
 

Macros

#define XXH_NAMESPACE   mlz4_
 
#define XXH_CAT(A, B)   A##B
 
#define XXH_NAME2(A, B)   XXH_CAT(A,B)
 
#define XXH32   XXH_NAME2(XXH_NAMESPACE, XXH32)
 
#define XXH64   XXH_NAME2(XXH_NAMESPACE, XXH64)
 
#define XXH32_createState   XXH_NAME2(XXH_NAMESPACE, XXH32_createState)
 
#define XXH64_createState   XXH_NAME2(XXH_NAMESPACE, XXH64_createState)
 
#define XXH32_freeState   XXH_NAME2(XXH_NAMESPACE, XXH32_freeState)
 
#define XXH64_freeState   XXH_NAME2(XXH_NAMESPACE, XXH64_freeState)
 
#define XXH32_reset   XXH_NAME2(XXH_NAMESPACE, XXH32_reset)
 
#define XXH64_reset   XXH_NAME2(XXH_NAMESPACE, XXH64_reset)
 
#define XXH32_update   XXH_NAME2(XXH_NAMESPACE, XXH32_update)
 
#define XXH64_update   XXH_NAME2(XXH_NAMESPACE, XXH64_update)
 
#define XXH32_digest   XXH_NAME2(XXH_NAMESPACE, XXH32_digest)
 
#define XXH64_digest   XXH_NAME2(XXH_NAMESPACE, XXH64_digest)
 

Enumerations

enum  XXH_errorcode { XXH_OK =0 , XXH_ERROR , 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)
 
XXH_errorcode XXH32_freeState (XXH32_state_t *statePtr)
 
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)
 

Macro Definition Documentation

◆ XXH32

#define XXH32   XXH_NAME2(XXH_NAMESPACE, XXH32)

Definition at line 103 of file mxxhash.h.

◆ XXH32_createState

XXH32_state_t * XXH32_createState   XXH_NAME2(XXH_NAMESPACE, XXH32_createState)

Definition at line 105 of file mxxhash.h.

◆ XXH32_digest

#define XXH32_digest   XXH_NAME2(XXH_NAMESPACE, XXH32_digest)

Definition at line 113 of file mxxhash.h.

◆ XXH32_freeState

#define XXH32_freeState   XXH_NAME2(XXH_NAMESPACE, XXH32_freeState)

Definition at line 107 of file mxxhash.h.

◆ XXH32_reset

#define XXH32_reset   XXH_NAME2(XXH_NAMESPACE, XXH32_reset)

Definition at line 109 of file mxxhash.h.

◆ XXH32_update

#define XXH32_update   XXH_NAME2(XXH_NAMESPACE, XXH32_update)

Definition at line 111 of file mxxhash.h.

◆ XXH64

#define XXH64   XXH_NAME2(XXH_NAMESPACE, XXH64)

Definition at line 104 of file mxxhash.h.

◆ XXH64_createState

XXH64_state_t * XXH64_createState   XXH_NAME2(XXH_NAMESPACE, XXH64_createState)

Definition at line 106 of file mxxhash.h.

◆ XXH64_digest

#define XXH64_digest   XXH_NAME2(XXH_NAMESPACE, XXH64_digest)

Definition at line 114 of file mxxhash.h.

◆ XXH64_freeState

#define XXH64_freeState   XXH_NAME2(XXH_NAMESPACE, XXH64_freeState)

Definition at line 108 of file mxxhash.h.

◆ XXH64_reset

#define XXH64_reset   XXH_NAME2(XXH_NAMESPACE, XXH64_reset)

Definition at line 110 of file mxxhash.h.

◆ XXH64_update

#define XXH64_update   XXH_NAME2(XXH_NAMESPACE, XXH64_update)

Definition at line 112 of file mxxhash.h.

◆ XXH_CAT

#define XXH_CAT (   A,
 
)    A##B

Definition at line 101 of file mxxhash.h.

◆ XXH_NAME2

#define XXH_NAME2 (   A,
 
)    XXH_CAT(A,B)

Definition at line 102 of file mxxhash.h.

◆ XXH_NAMESPACE

#define XXH_NAMESPACE   mlz4_

Definition at line 98 of file mxxhash.h.

Enumeration Type Documentation

◆ XXH_errorcode

Enumerator
XXH_OK 
XXH_ERROR 
XXH_OK 
XXH_ERROR 

Definition at line 78 of file mxxhash.h.

Function Documentation

◆ XXH32()

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

Definition at line 318 of file xxhash.cxx.

Here is the call graph for this function:

◆ XXH32_digest()

unsigned int XXH32_digest ( const XXH32_state_t statePtr)

Definition at line 711 of file xxhash.cxx.

Here is the call graph for this function:

◆ XXH32_freeState()

XXH_errorcode XXH32_freeState ( XXH32_state_t statePtr)

Definition at line 521 of file xxhash.cxx.

Here is the call graph for this function:

◆ 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 
)

Definition at line 657 of file xxhash.cxx.

Here is the call graph for this function:

◆ XXH64()

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

Definition at line 458 of file xxhash.cxx.

Here is the call graph for this function:

◆ XXH64_digest()

unsigned long long XXH64_digest ( const XXH64_state_t statePtr)

Definition at line 905 of file xxhash.cxx.

Here is the call graph for this function:

◆ XXH64_freeState()

XXH_errorcode XXH64_freeState ( XXH64_state_t statePtr)

Definition at line 532 of file xxhash.cxx.

Here is the call graph for this function:

◆ XXH64_reset()

XXH_errorcode XXH64_reset ( XXH64_state_t statePtr,
unsigned long long  seed 
)

Definition at line 554 of file xxhash.cxx.

◆ XXH64_update()

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

Definition at line 811 of file xxhash.cxx.

Here is the call graph for this function: