"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "tests/bench/hashes.h" between
xxHash-0.7.4.tar.gz and xxHash-0.8.0.tar.gz

About: xxHash is an extremely fast non-cryptographic hash algorithm.

hashes.h  (xxHash-0.7.4):hashes.h  (xxHash-0.8.0)
skipping to change at line 61 skipping to change at line 61
* Each hash must be wrapped in a thin redirector conformant with the BMK_benchf n_t. * Each hash must be wrapped in a thin redirector conformant with the BMK_benchf n_t.
* BMK_benchfn_t is generic, not specifically designed for hashes. * BMK_benchfn_t is generic, not specifically designed for hashes.
* For hashes, the following parameters are expected to be useless: * For hashes, the following parameters are expected to be useless:
* dst, dstCapacity, customPayload. * dst, dstCapacity, customPayload.
* *
* The result of each hash is assumed to be provided as function return value. * The result of each hash is assumed to be provided as function return value.
* This condition is important for latency measurements. * This condition is important for latency measurements.
*/ */
/* === xxHash === */ /* === xxHash === */
#define XXH_INLINE_ALL
#include "xxh3.h" #include "xxhash.h"
size_t XXH32_wrapper(const void* src, size_t srcSize, void* dst, size_t dstCapac ity, void* customPayload) size_t XXH32_wrapper(const void* src, size_t srcSize, void* dst, size_t dstCapac ity, void* customPayload)
{ {
(void)dst; (void)dstCapacity; (void)customPayload; (void)dst; (void)dstCapacity; (void)customPayload;
return (size_t) XXH32(src, srcSize, 0); return (size_t) XXH32(src, srcSize, 0);
} }
size_t XXH64_wrapper(const void* src, size_t srcSize, void* dst, size_t dstCapac ity, void* customPayload) size_t XXH64_wrapper(const void* src, size_t srcSize, void* dst, size_t dstCapac ity, void* customPayload)
{ {
(void)dst; (void)dstCapacity; (void)customPayload; (void)dst; (void)dstCapacity; (void)customPayload;
 End of changes. 1 change blocks. 
2 lines changed or deleted 2 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)