Searched refs:litProba (Results 1 - 3 of 3) sorted by relevance
/external/lz4/programs/ |
H A 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); 34 'LitProba' is optional, and affect variability of bytes. If litProba==0.0, default value is used. 36 If (matchProba, litProba and seed) are equal, the function always generate the same content.
|
H A D | datagen.c | 154 void RDG_genBuffer(void* buffer, size_t size, double matchProba, double litProba, unsigned seed) argument 157 if (litProba==0.0) litProba = matchProba / 4.5; 158 RDG_fillLiteralDistrib(lt, litProba); 164 void RDG_genOut(unsigned long long size, double matchProba, double litProba, unsigned seed) argument 172 if (litProba==0.0) litProba = matchProba / 4.5; 173 RDG_fillLiteralDistrib(lt, litProba);
|
/external/lz4/tests/ |
H A D | datagencli.c | 81 double litProba = 0.0; local 142 litProba=0.; 145 litProba *= 10; 146 litProba += *argument - '0'; 149 if (litProba>100.) litProba=100.; 150 litProba /= 100.; 168 RDG_genOut(size, proba, litProba, seed);
|
Completed in 152 milliseconds