Home
last modified time | relevance | path

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

/external/lz4/tests/
Dframetest.c176 #define COMPRESSIBLE_NOISE_LENGTH (2 MB) in basicTests() macro
177 void* const CNBuffer = malloc(COMPRESSIBLE_NOISE_LENGTH); in basicTests()
178 size_t const cBuffSize = LZ4F_compressFrameBound(COMPRESSIBLE_NOISE_LENGTH, NULL); in basicTests()
180 void* const decodedBuffer = malloc(COMPRESSIBLE_NOISE_LENGTH); in basicTests()
194 … FUZ_fillCompressibleNoiseBuffer(CNBuffer, COMPRESSIBLE_NOISE_LENGTH, compressibility, &randState); in basicTests()
195 crcOrig = XXH64(CNBuffer, COMPRESSIBLE_NOISE_LENGTH, 1); in basicTests()
224 testSize = COMPRESSIBLE_NOISE_LENGTH; in basicTests()
239 { size_t decodedBufferSize = COMPRESSIBLE_NOISE_LENGTH; in basicTests()
256 BYTE* const oend = (BYTE*)decodedBuffer + COMPRESSIBLE_NOISE_LENGTH; in basicTests()
257 size_t decResult, oSize = COMPRESSIBLE_NOISE_LENGTH; in basicTests()
[all …]
Dfuzzer.c74 #define COMPRESSIBLE_NOISE_LENGTH (1 << 21) macro
310 void* const CNBuffer = malloc(COMPRESSIBLE_NOISE_LENGTH); in FUZ_test()
350 … FUZ_fillCompressibleNoiseBuffer(CNBuffer, COMPRESSIBLE_NOISE_LENGTH, compressibility, &randState); in FUZ_test()
364 … int const blockStart = (FUZ_rand(&randState) % (COMPRESSIBLE_NOISE_LENGTH - blockSize - 1)) + 1; in FUZ_test()