Home
last modified time | relevance | path

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

/external/zstd/tests/
Ddatagencli.c62 double litProba = 0.0; in main() local
106 litProba=0.; in main()
108 litProba *= 10, litProba += *argument++ - '0'; in main()
109 if (litProba>100.) litProba=100.; in main()
110 litProba /= 100.; in main()
126 RDG_genStdout(size, (double)probaU32/100, litProba, seed); in main()
/external/lz4/tests/
Ddatagencli.c89 double litProba = 0.0; in main() local
131 litProba = (double) strtoull(argument, &argument, 10); in main()
132 if (litProba>100.) litProba=100.; in main()
133 litProba /= 100.; in main()
151 RDG_genOut(size, proba, litProba, seed); in main()
/external/lz4/programs/
Ddatagen.c155 void RDG_genBuffer(void* buffer, size_t size, double matchProba, double litProba, unsigned seed) in RDG_genBuffer() argument
158 if (litProba==0.0) litProba = matchProba / 4.5; in RDG_genBuffer()
159 RDG_fillLiteralDistrib(lt, litProba); in RDG_genBuffer()
165 void RDG_genOut(unsigned long long size, double matchProba, double litProba, unsigned seed) in RDG_genOut() argument
173 if (litProba==0.0) litProba = matchProba / 4.5; in RDG_genOut()
174 RDG_fillLiteralDistrib(lt, litProba); in RDG_genOut()
Ddatagen.h29 void RDG_genOut(unsigned long long size, double matchProba, double litProba, unsigned seed);
30 void RDG_genBuffer(void* buffer, size_t size, double matchProba, double litProba, unsigned seed);
/external/zstd/programs/
Ddatagen.c144 void RDG_genBuffer(void* buffer, size_t size, double matchProba, double litProba, unsigned seed) in RDG_genBuffer() argument
149 if (litProba<=0.0) litProba = matchProba / 4.5; in RDG_genBuffer()
150 RDG_fillLiteralDistrib(ldt, (fixedPoint_24_8)(litProba * 256 + 0.001)); in RDG_genBuffer()
155 void RDG_genStdout(unsigned long long size, double matchProba, double litProba, unsigned seed) in RDG_genStdout() argument
166 if (litProba<=0.0) litProba = matchProba / 4.5; in RDG_genStdout()
168 RDG_fillLiteralDistrib(ldt, (fixedPoint_24_8)(litProba * 256 + 0.001)); in RDG_genStdout()
Ddatagen.h17 void RDG_genStdout(unsigned long long size, double matchProba, double litProba, unsigned seed);
18 void RDG_genBuffer(void* buffer, size_t size, double matchProba, double litProba, unsigned seed);
/external/zstd/contrib/pzstd/test/
DRoundTripTest.cpp27 writeData(size_t size, double matchProba, double litProba, unsigned seed) { in writeData() argument
29 RDG_genBuffer(buf.get(), size, matchProba, litProba, seed); in writeData()