xxhash removed

This commit is contained in:
Timerix22 2022-06-11 15:39:18 +03:00
parent abdc56d404
commit b5c9de24ed
4 changed files with 0 additions and 6091 deletions

View File

@ -11,8 +11,6 @@ extern "C" {
uint32 hash_sdbm32(uint32 oldhash, void* buf, uint32 len);
uint32 hash_crc32(uint32 oldhash, void* buf, uint32 len);
uint32 hash_xxh32(uint32 oldhash, void* buf, uint32 len);
uint64 hash_xxh3_64(uint32 oldhash, void* buf, uint32 len);
#if __cplusplus
}

View File

@ -1,12 +0,0 @@
#include "hash.h"
#define XXH_INLINE_ALL
#define XXH_STATIC_LINKING_ONLY /* access advanced declarations */
#define XXH_IMPLEMENTATION /* access definitions */
#include "./xxhash.h"
uint32 hash_xxh32(uint32 oldhash, void* buf, uint32 len){
return XXH32(buf,len,oldhash);
}
uint64 hash_xxh3_64(uint32 oldhash, void* buf, uint32 len){
return XXH3_64bits_withSeed(buf,len,oldhash);
}

File diff suppressed because it is too large Load Diff

View File

@ -41,7 +41,5 @@ void test_hash_functions(){
printf("\e[96m--------[test_hash_functions]---------\n");
test_hashfunc(uint32, hash_crc32);
test_hashfunc(uint32, hash_sdbm32);
test_hashfunc(uint32, hash_xxh32);
test_hashfunc(uint64, hash_xxh3_64);
}));
}