OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:ML_BITS
(Results
1 - 2
of
2
) sorted by null
/external/lz4/lib/
lz4.c
312
#define
ML_BITS
4
313
#define ML_MASK ((1U<<
ML_BITS
)-1)
314
#define RUN_BITS (8-
ML_BITS
)
607
*token=(RUN_MASK<<
ML_BITS
);
611
else *token = (BYTE)(litLength<<
ML_BITS
);
699
if (lastRun>=(int)RUN_MASK) { *op++=(RUN_MASK<<
ML_BITS
); lastRun-=RUN_MASK; for(; lastRun >= 255 ; lastRun-=255) *op++ = 255; *op++ = (BYTE) lastRun; }
700
else *op++ = (BYTE)(lastRun<<
ML_BITS
);
[
all
...]
lz4hc.c
306
if (length>=(int)RUN_MASK) { int len; *token=(RUN_MASK<<
ML_BITS
); len = length-RUN_MASK; for(; len > 254 ; len-=255) *(*op)++ = 255; *(*op)++ = (BYTE)len; }
307
else *token = (BYTE)(length<<
ML_BITS
);
523
if (lastRun>=(int)RUN_MASK) { *op++=(RUN_MASK<<
ML_BITS
); lastRun-=RUN_MASK; for(; lastRun > 254 ; lastRun-=255) *op++ = 255; *op++ = (BYTE) lastRun; }
524
else *op++ = (BYTE)(lastRun<<
ML_BITS
);
Completed in 235 milliseconds