Home
last modified time | relevance | path

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

/lz4-3.4.0-2.7.6/programs/
Dlz4io.c549 size_t circularBufSize = LZ4_MAX_DICT_SIZE; in LZ4IO_createDict() local
550 char* circularBuf = (char*)malloc(circularBufSize); in LZ4IO_createDict()
567 readSize = fread(circularBuf + dictEnd, 1, circularBufSize - dictEnd, dictFile); in LZ4IO_createDict()
568 dictEnd = (dictEnd + readSize) % circularBufSize; in LZ4IO_createDict()
578 dictStart = (circularBufSize + dictEnd - dictLen) % circularBufSize; in LZ4IO_createDict()
589 memcpy(dictBuf, circularBuf + dictStart, circularBufSize - dictStart); in LZ4IO_createDict()
590 …memcpy(dictBuf + circularBufSize - dictStart, circularBuf, dictLen - (circularBufSize - dictStart)… in LZ4IO_createDict()