1
0
mirror of https://github.com/facebook/zstd.git synced 2025-07-29 11:21:22 +03:00

fixed bench.c : optional advanced parameters applied

before creating cdict
This commit is contained in:
Yann Collet
2017-04-04 15:35:06 -07:00
parent 81d6380139
commit c2007388a5
2 changed files with 17 additions and 12 deletions

View File

@ -106,7 +106,11 @@ static size_t BMK_findMaxMem(U64 requiredMem)
}
# define FUZ_rotl32(x,r) ((x << r) | (x >> (32 - r)))
static U32 FUZ_rotl32(U32 x, U32 r)
{
return ((x << r) | (x >> (32 - r)));
}
U32 FUZ_rand(U32* src)
{
const U32 prime1 = 2654435761U;