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