HomeSort by: relevance | last modified time | path
    Searched defs:lseed (Results 1 - 2 of 2) sorted by relevancy

  /src/external/bsd/zstd/dist/tests/
zstreamtest.c 2628 U32 lseed; local
2638 lseed = coreSeed ^ prime32;
2647 if ((FUZ_rand(&lseed) & 0xFF) == 131) {
2653 if ((FUZ_rand(&lseed) & 0xFF) == 132) {
2661 { U32 buffNb = FUZ_rand(&lseed) & 0x7F;
2676 if ((FUZ_rand(&lseed)&1) /* at beginning, to keep same nb of rand */
2678 maxTestSize = FUZ_randomLength(&lseed, oldTestLog+2);
2680 { U64 const pledgedSrcSize = (FUZ_rand(&lseed) & 3) ? ZSTD_CONTENTSIZE_UNKNOWN : maxTestSize;
2685 U32 const testLog = FUZ_rand(&lseed) % maxSrcLog;
2686 U32 const dictLog = FUZ_rand(&lseed) % maxSrcLog
2900 U32 lseed; local
    [all...]
fuzzer.c 4709 U32 lseed; local
4722 { U32 const prime1 = 2654435761U; lseed = coreSeed ^ prime1; }
4725 { U32 buffNb = FUZ_rand(&lseed) & 0x7F;
4740 sampleSize = FUZ_randomLength(&lseed, maxSampleLog);
4745 { size_t const sampleStart = FUZ_rand(&lseed) % (srcBufferSize - sampleSize);
4751 ( FUZ_rand(&lseed) %
4754 int const cLevel = ((FUZ_rand(&lseed) & 15) == 3) ?
4755 - (int)((FUZ_rand(&lseed) & 7) + 1) : /* test negative cLevel */
4763 { const size_t missing = (FUZ_rand(&lseed) % (cSize-2)) + 1;
4788 { size_t const margin = (FUZ_rand(&lseed) & 1) ? 0 : (FUZ_rand(&lseed) & 31) + 1
    [all...]

Completed in 63 milliseconds