Home
last modified time | relevance | path

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

/external/zstd/tests/fuzz/
Dzstd_helpers.c108 size_t const totalSampleSize = dictSize * 11; in FUZZ_train() local
110 char* const samples = (char*)FUZZ_malloc(totalSampleSize); in FUZZ_train()
118 size_t const remaining = totalSampleSize - pos; in FUZZ_train()
126 memset(samples + pos, 0, totalSampleSize - pos); in FUZZ_train()
/external/zstd/tests/
Dfuzzer.c1759 size_t const totalSampleSize = 1 MB; in basicUnitTests() local
1761 U32 const nbSamples = (U32)(totalSampleSize / sampleUnitSize); in basicUnitTests()
1774 assert(compressedBufferSize >= totalSampleSize); in basicUnitTests()
1775 { U32 u; for (u=0; u<totalSampleSize; u++) ((BYTE*)decodedBuffer)[u] = (BYTE)u; } in basicUnitTests()
2337 size_t const totalSampleSize = 1 MB; in basicUnitTests() local
2339 U32 const nbSamples = (U32)(totalSampleSize / sampleUnitSize); in basicUnitTests()
2902 size_t const totalSampleSize = 1 MB; in basicUnitTests() local
2904 U32 const nbSamples = (U32)(totalSampleSize / sampleUnitSize); in basicUnitTests()