projects
/
fio.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add support for resetting zones periodically
[fio.git]
/
crc
/
xxhash.h
diff --git
a/crc/xxhash.h
b/crc/xxhash.h
index 8850d208a00fbfbf08d7f89ffe617f2f49bdd1c3..934c555c97a876f44207c4170cebfd86c2610a92 100644
(file)
--- a/
crc/xxhash.h
+++ b/
crc/xxhash.h
@@
-107,9
+107,9
@@
XXH32() :
// Advanced Hash Functions
//****************************
// Advanced Hash Functions
//****************************
-void* XXH32_init (u
nsigned in
t seed);
+void* XXH32_init (u
int32_
t seed);
XXH_errorcode XXH32_update (void* state, const void* input, int len);
XXH_errorcode XXH32_update (void* state, const void* input, int len);
-u
nsigned int
XXH32_digest (void* state);
+u
int32_t
XXH32_digest (void* state);
/*
These functions calculate the xxhash of an input provided in several small packets,
/*
These functions calculate the xxhash of an input provided in several small packets,
@@
-135,7
+135,7
@@
Memory will be freed by XXH32_digest().
int XXH32_sizeofState(void);
int XXH32_sizeofState(void);
-XXH_errorcode XXH32_resetState(void* state, u
nsigned in
t seed);
+XXH_errorcode XXH32_resetState(void* state, u
int32_
t seed);
#define XXH32_SIZEOFSTATE 48
typedef struct { long long ll[(XXH32_SIZEOFSTATE+(sizeof(long long)-1))/sizeof(long long)]; } XXH32_stateSpace_t;
#define XXH32_SIZEOFSTATE 48
typedef struct { long long ll[(XXH32_SIZEOFSTATE+(sizeof(long long)-1))/sizeof(long long)]; } XXH32_stateSpace_t;
@@
-151,7
+151,7
@@
use the structure XXH32_stateSpace_t, which will ensure that memory space is lar
*/
*/
-u
nsigned in
t XXH32_intermediateDigest (void* state);
+u
int32_
t XXH32_intermediateDigest (void* state);
/*
This function does the same as XXH32_digest(), generating a 32-bit hash,
but preserve memory context.
/*
This function does the same as XXH32_digest(), generating a 32-bit hash,
but preserve memory context.