Home
last modified time | relevance | path

Searched refs:matchProba (Results 1 – 2 of 2) sorted by relevance

/external/lz4/programs/
Ddatagen.c98 void RDG_genBlock(void* buffer, size_t buffSize, size_t prefixSize, double matchProba, litDistribTa… in RDG_genBlock() argument
101 const U32 matchProba32 = (U32)(32768 * matchProba); in RDG_genBlock()
106 while (matchProba >= 1.0) in RDG_genBlock()
154 void RDG_genBuffer(void* buffer, size_t size, double matchProba, double litProba, unsigned seed) in RDG_genBuffer() argument
157 if (litProba==0.0) litProba = matchProba / 4.5; in RDG_genBuffer()
159 RDG_genBlock(buffer, size, 0, matchProba, lt, &seed); in RDG_genBuffer()
164 void RDG_genOut(unsigned long long size, double matchProba, double litProba, unsigned seed) in RDG_genOut() argument
172 if (litProba==0.0) litProba = matchProba / 4.5; in RDG_genOut()
177 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()
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);