Home
last modified time | relevance | path

Searched refs:proba (Results 1 – 7 of 7) sorted by relevance

/freebsd-12.1/sys/contrib/zstd/tests/
H A Dzbufftest.c493 int proba = FUZ_COMPRESSIBILITY_DEFAULT; in main() local
573 proba=0; in main()
575 proba *= 10; in main()
576 proba += *argument - '0'; in main()
579 if (proba<0) proba=0; in main()
580 if (proba>100) proba=100; in main()
597 if (proba!=FUZ_COMPRESSIBILITY_DEFAULT) DISPLAY("Compressibility : %i%%\n", proba); in main()
602 …result = basicUnitTests(0, ((double)proba) / 100, customNULL); /* constant seed for predictabilit… in main()
605 …result = basicUnitTests(0, ((double)proba) / 100, customMem); /* use custom memory allocation fun… in main()
609 result = fuzzerTests(seed, nbTests, testNb, ((double)proba) / 100); in main()
H A Dzstreamtest.c1880 int proba = FUZ_COMPRESSIBILITY_DEFAULT; in main() local
1972 proba=0; in main()
1974 proba *= 10; in main()
1975 proba += *argument - '0'; in main()
1978 if (proba<0) proba=0; in main()
1979 if (proba>100) proba=100; in main()
1997 if (proba!=FUZ_COMPRESSIBILITY_DEFAULT) DISPLAY("Compressibility : %i%%\n", proba); in main()
2002 result = basicUnitTests(0, ((double)proba) / 100); /* constant seed for predictability */ in main()
2009 result = fuzzerTests(seed, nbTests, testNb, ((double)proba) / 100, bigTests); in main()
2012 result = fuzzerTests_MT(seed, nbTests, testNb, ((double)proba) / 100, bigTests); in main()
[all …]
H A DplayTests.sh11 proba="$2"
14 proba=""
23 $ECHO "roundTripTest: ./datagen $1 $proba | $ZSTD -v$cLevel | $ZSTD -d$dLevel"
24 ./datagen $1 $proba | $MD5SUM > tmp1
25 ./datagen $1 $proba | $ZSTD --ultra -v$cLevel | $ZSTD -d$dLevel | $MD5SUM > tmp2
H A Dfuzzer.c1716 U32 proba = FUZ_compressibility_default; in main() local
1786 proba = readU32FromChar(&argument); in main()
1787 if (proba>100) proba = 100; in main()
1804 if (proba!=FUZ_compressibility_default) DISPLAY("Compressibility : %u%%\n", proba); in main()
1808 return FUZ_mallocTests(seed, ((double)proba) / 100, memTestsOnly); in main()
1814 result = basicUnitTests(0, ((double)proba) / 100); /* constant seed for predictability */ in main()
1816 result = fuzzerTests(seed, nbTests, testNb, maxDuration, ((double)proba) / 100, bigTests); in main()
/freebsd-12.1/sys/contrib/zstd/lib/compress/
H A Dfse_compress.c610 short proba = (short)((count[s]*step) >> scale); in FSE_normalizeCount() local
611 if (proba<8) { in FSE_normalizeCount()
612 U64 restToBeat = vStep * rtbTable[proba]; in FSE_normalizeCount()
613 proba += (count[s]*step) - ((U64)proba<<scale) > restToBeat; in FSE_normalizeCount()
615 if (proba > largestP) { largestP=proba; largest=s; } in FSE_normalizeCount()
616 normalizedCounter[s] = proba; in FSE_normalizeCount()
617 stillToDistribute -= proba; in FSE_normalizeCount()
/freebsd-12.1/sys/contrib/zstd/doc/educational_decoder/
H A Dzstd_decompress.c2215 const i16 proba = (i16)val - 1; in FSE_decode_header() local
2221 remaining -= proba < 0 ? -proba : proba; in FSE_decode_header()
2223 frequencies[symb] = proba; in FSE_decode_header()
2230 if (proba == 0) { in FSE_decode_header()
/freebsd-12.1/share/examples/ipfilter/
H A Dipf-howto.txt1234 have state already. If anything else comes in, it's proba-