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

  /src/external/bsd/zstd/dist/tests/
zstreamtest.c 2568 U32 lseed; local
2578 lseed = coreSeed ^ prime32;
2587 if ((FUZ_rand(&lseed) & 0xFF) == 131) {
2593 if ((FUZ_rand(&lseed) & 0xFF) == 132) {
2601 { U32 buffNb = FUZ_rand(&lseed) & 0x7F;
2616 if ((FUZ_rand(&lseed)&1) /* at beginning, to keep same nb of rand */
2618 maxTestSize = FUZ_randomLength(&lseed, oldTestLog+2);
2620 { U64 const pledgedSrcSize = (FUZ_rand(&lseed) & 3) ? ZSTD_CONTENTSIZE_UNKNOWN : maxTestSize;
2625 U32 const testLog = FUZ_rand(&lseed) % maxSrcLog;
2626 U32 const dictLog = FUZ_rand(&lseed) % maxSrcLog
2840 U32 lseed; local
    [all...]
zstreamtest.c 2568 U32 lseed; local
2578 lseed = coreSeed ^ prime32;
2587 if ((FUZ_rand(&lseed) & 0xFF) == 131) {
2593 if ((FUZ_rand(&lseed) & 0xFF) == 132) {
2601 { U32 buffNb = FUZ_rand(&lseed) & 0x7F;
2616 if ((FUZ_rand(&lseed)&1) /* at beginning, to keep same nb of rand */
2618 maxTestSize = FUZ_randomLength(&lseed, oldTestLog+2);
2620 { U64 const pledgedSrcSize = (FUZ_rand(&lseed) & 3) ? ZSTD_CONTENTSIZE_UNKNOWN : maxTestSize;
2625 U32 const testLog = FUZ_rand(&lseed) % maxSrcLog;
2626 U32 const dictLog = FUZ_rand(&lseed) % maxSrcLog
2840 U32 lseed; local
    [all...]
fuzzer.c 4495 U32 lseed; local
4508 { U32 const prime1 = 2654435761U; lseed = coreSeed ^ prime1; }
4511 { U32 buffNb = FUZ_rand(&lseed) & 0x7F;
4526 sampleSize = FUZ_randomLength(&lseed, maxSampleLog);
4531 { size_t const sampleStart = FUZ_rand(&lseed) % (srcBufferSize - sampleSize);
4537 ( FUZ_rand(&lseed) %
4540 int const cLevel = ((FUZ_rand(&lseed) & 15) == 3) ?
4541 - (int)((FUZ_rand(&lseed) & 7) + 1) : /* test negative cLevel */
4549 { const size_t missing = (FUZ_rand(&lseed) % (cSize-2)) + 1;
4574 { size_t const margin = (FUZ_rand(&lseed) & 1) ? 0 : (FUZ_rand(&lseed) & 31) + 1
    [all...]
fuzzer.c 4495 U32 lseed; local
4508 { U32 const prime1 = 2654435761U; lseed = coreSeed ^ prime1; }
4511 { U32 buffNb = FUZ_rand(&lseed) & 0x7F;
4526 sampleSize = FUZ_randomLength(&lseed, maxSampleLog);
4531 { size_t const sampleStart = FUZ_rand(&lseed) % (srcBufferSize - sampleSize);
4537 ( FUZ_rand(&lseed) %
4540 int const cLevel = ((FUZ_rand(&lseed) & 15) == 3) ?
4541 - (int)((FUZ_rand(&lseed) & 7) + 1) : /* test negative cLevel */
4549 { const size_t missing = (FUZ_rand(&lseed) % (cSize-2)) + 1;
4574 { size_t const margin = (FUZ_rand(&lseed) & 1) ? 0 : (FUZ_rand(&lseed) & 31) + 1
    [all...]

Completed in 69 milliseconds