Searched refs:circularBufSize (Results 1 – 1 of 1) sorted by relevance
549 size_t circularBufSize = LZ4_MAX_DICT_SIZE; in LZ4IO_createDict() local550 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()