Searched refs:litProba (Results 1 – 7 of 7) sorted by relevance
/external/zstd/tests/ |
D | datagencli.c | 62 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/ |
D | datagencli.c | 89 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/ |
D | datagen.c | 155 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()
|
D | datagen.h | 29 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/ |
D | datagen.c | 144 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()
|
D | datagen.h | 17 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/ |
D | RoundTripTest.cpp | 27 writeData(size_t size, double matchProba, double litProba, unsigned seed) { in writeData() argument 29 RDG_genBuffer(buf.get(), size, matchProba, litProba, seed); in writeData()
|