Home
last modified time | relevance | path

Searched refs:nbBits (Results 1 – 2 of 2) sorted by relevance

/lz4-3.4.0-2.7.6/tests/
Dframetest.c159 unsigned nbBits = 0; in FUZ_highbit() local
161 while (v32) {v32 >>= 1; nbBits ++;} in FUZ_highbit()
162 return nbBits; in FUZ_highbit()
401 unsigned const nbBits = FUZ_rand(&randState) % maxBits; in basicTests() local
402 size_t iSize = (FUZ_rand(&randState) & ((1<<nbBits)-1)) + 1; in basicTests()
721 unsigned nbBits = FUZ_rand(&randState) % maxBits; in basicTests() local
722 size_t iSize = (FUZ_rand(&randState) & ((1<<nbBits)-1)) + 1; in basicTests()
740 unsigned const nbBits = FUZ_rand(&randState) % maxBits; in basicTests() local
741 size_t iSize = (FUZ_rand(&randState) & ((1<<nbBits)-1)) + 1; in basicTests()
1086 { U32 const nbBits = FUZ_rand(&randState) % maxNbBits; in fuzzerTests() local
[all …]
Dfuzzer.c120 static U32 FUZ_rotl32(U32 u32, U32 nbBits) in FUZ_rotl32() argument
122 return ((u32 << nbBits) | (u32 >> (32 - nbBits))); in FUZ_rotl32()
127 unsigned nbBits = 0; in FUZ_highbit32() local
129 while (v32) { v32 >>= 1; nbBits++; } in FUZ_highbit32()
130 return nbBits; in FUZ_highbit32()
573 { U32 const nbBits = FUZ_rand(&randState) % maxNbBits; in FUZ_test() local
574 size_t const mask = (1<<nbBits) - 1; in FUZ_test()
581 U32 const nbBits = nbBitsCodes ? nbBitsCodes-1 : 0; in FUZ_test() local
582 size_t const mask = (1<<nbBits) - 1; in FUZ_test()