Searched refs:COMPRESSIBLE_NOISE_LENGTH (Results 1 – 2 of 2) sorted by relevance
/lz4-3.4.0-2.7.6/tests/ |
D | frametest.c | 174 #define COMPRESSIBLE_NOISE_LENGTH (2 MB) in basicTests() macro 175 void* const CNBuffer = malloc(COMPRESSIBLE_NOISE_LENGTH); in basicTests() 176 size_t const cBuffSize = LZ4F_compressFrameBound(COMPRESSIBLE_NOISE_LENGTH, NULL); in basicTests() 178 void* const decodedBuffer = malloc(COMPRESSIBLE_NOISE_LENGTH); in basicTests() 192 … FUZ_fillCompressibleNoiseBuffer(CNBuffer, COMPRESSIBLE_NOISE_LENGTH, compressibility, &randState); in basicTests() 193 crcOrig = XXH64(CNBuffer, COMPRESSIBLE_NOISE_LENGTH, 1); in basicTests() 244 testSize = COMPRESSIBLE_NOISE_LENGTH; in basicTests() 259 { size_t decodedBufferSize = COMPRESSIBLE_NOISE_LENGTH; in basicTests() 276 BYTE* const oend = (BYTE*)decodedBuffer + COMPRESSIBLE_NOISE_LENGTH; in basicTests() 277 size_t decResult, oSize = COMPRESSIBLE_NOISE_LENGTH; in basicTests() [all …]
|
D | fuzzer.c | 78 #define COMPRESSIBLE_NOISE_LENGTH (1 << 21) macro 322 void* const CNBuffer = malloc(COMPRESSIBLE_NOISE_LENGTH); in FUZ_test() 363 … FUZ_fillCompressibleNoiseBuffer(CNBuffer, COMPRESSIBLE_NOISE_LENGTH, compressibility, &randState); in FUZ_test() 377 …int const blockStart = (int)(FUZ_rand(&randState) % (U32)(COMPRESSIBLE_NOISE_LENGTH - blockSize - … in FUZ_test() 585 … size_t const noiseStart = FUZ_rand(&randState) % (COMPRESSIBLE_NOISE_LENGTH - noiseLength); in FUZ_test()
|