Home
last modified time | relevance | path

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

/linux-6.1.9/lib/zstd/common/
Dbitstream.h268 { BYTE const lastByte = ((const BYTE*)srcBuffer)[srcSize-1]; in BIT_initDStream() local
269 …bitD->bitsConsumed = lastByte ? 8 - BIT_highbit32(lastByte) : 0; /* ensures bitsConsumed is alway… in BIT_initDStream()
270 if (lastByte == 0) return ERROR(GENERIC); /* endMark not present */ } in BIT_initDStream()
296 { BYTE const lastByte = ((const BYTE*)srcBuffer)[srcSize-1]; in BIT_initDStream() local
297 bitD->bitsConsumed = lastByte ? 8 - BIT_highbit32(lastByte) : 0; in BIT_initDStream()
298 if (lastByte == 0) return ERROR(corruption_detected); /* endMark not present */ in BIT_initDStream()