Home
last modified time | relevance | path

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

/external/lz4/programs/
Ddatagen.c50 #define LTSIZE (1<<LTLOG) macro
51 #define LTMASK (LTSIZE-1)
52 typedef BYTE litDistribTable[LTSIZE];
79 while (u<LTSIZE) { in RDG_fillLiteralDistrib()
80 U32 const weight = (U32)((double)(LTSIZE - u) * ld) + 1; in RDG_fillLiteralDistrib()
81 U32 const end = MIN(u+weight, LTSIZE); in RDG_fillLiteralDistrib()
83 assert(u<LTSIZE); /* try to ease static analyzer. u < end <= LTSIZE */ in RDG_fillLiteralDistrib()
/external/zstd/programs/
Ddatagen.c38 #define LTSIZE (1<<LTLOG) macro
39 #define LTMASK (LTSIZE-1)
68 for (u=0; u<LTSIZE; ) { in RDG_fillLiteralDistrib()
69 U32 const weight = (((LTSIZE - u) * ld) >> 8) + 1; in RDG_fillLiteralDistrib()
70 U32 const end = MIN ( u + weight , LTSIZE); in RDG_fillLiteralDistrib()
147 BYTE ldt[LTSIZE]; in RDG_genBuffer()
162 BYTE ldt[LTSIZE]; /* literals distribution table */ in RDG_genStdout()