Searched refs:matchProba (Results 1 – 5 of 5) sorted by relevance
/external/lz4/programs/ |
D | datagen.c | 102 void RDG_genBlock(void* buffer, size_t buffSize, size_t prefixSize, double matchProba, litDistribTa… in RDG_genBlock() argument 105 const U32 matchProba32 = (U32)(32768 * matchProba); in RDG_genBlock() 110 while (matchProba >= 1.0) { in RDG_genBlock() 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() 160 RDG_genBlock(buffer, size, 0, matchProba, lt, &seed); 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() 178 RDG_genBlock(buff, RDG_DICTSIZE, 0, matchProba, lt, &seed); in RDG_genOut() 182 RDG_genBlock(buff, RDG_DICTSIZE+RDG_BLOCKSIZE, RDG_DICTSIZE, matchProba, lt, &seed); 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 | 97 double matchProba, const BYTE* ldt, U32* seedPtr) in RDG_genBlock() argument 100 U32 const matchProba32 = (U32)(32768 * matchProba); in RDG_genBlock() 105 while (matchProba >= 1.0) { in RDG_genBlock() 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() 151 RDG_genBlock(buffer, size, 0, matchProba, ldt, &seed32); 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() 172 RDG_genBlock(buff, stdDictSize, 0, matchProba, ldt, &seed32); in RDG_genStdout() 177 RDG_genBlock(buff, stdDictSize+stdBlockSize, stdDictSize, matchProba, ldt, &seed32); 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()
|