Searched refs:circularBuf (Results 1 – 1 of 1) sorted by relevance
550 char* circularBuf = (char*)malloc(circularBufSize); in LZ4IO_createDict() local554 if (!circularBuf) EXM_THROW(25, "Allocation error : not enough memory for circular buffer"); in LZ4IO_createDict()567 readSize = fread(circularBuf + dictEnd, 1, circularBufSize - dictEnd, dictFile); in LZ4IO_createDict()582 dictBuf = circularBuf; in LZ4IO_createDict()583 circularBuf = NULL; 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()594 free(circularBuf); in LZ4IO_createDict()