Searched refs:matchProba (Results 1 – 2 of 2) sorted by relevance
/third_party/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);
|