Searched refs:newBuff (Results 1 – 1 of 1) sorted by relevance
1090 void* newBuff; in ZDICT_trainFromBuffer_legacy() local1094 newBuff = malloc(sBuffSize + NOISELENGTH); in ZDICT_trainFromBuffer_legacy()1095 if (!newBuff) return ERROR(memory_allocation); in ZDICT_trainFromBuffer_legacy()1097 memcpy(newBuff, samplesBuffer, sBuffSize); in ZDICT_trainFromBuffer_legacy()1098 …ZDICT_fillNoise((char*)newBuff + sBuffSize, NOISELENGTH); /* guard band, for end of buffer condi… in ZDICT_trainFromBuffer_legacy()1101 ZDICT_trainFromBuffer_unsafe_legacy(dictBuffer, dictBufferCapacity, newBuff, in ZDICT_trainFromBuffer_legacy()1103 free(newBuff); in ZDICT_trainFromBuffer_legacy()