Searched refs:sBuffSize (Results 1 – 1 of 1) sorted by relevance
1091 size_t const sBuffSize = ZDICT_totalSampleSize(samplesSizes, nbSamples); in ZDICT_trainFromBuffer_legacy() local1092 if (sBuffSize < ZDICT_MIN_SAMPLES_SIZE) return 0; /* not enough content => no dictionary */ in ZDICT_trainFromBuffer_legacy()1094 newBuff = malloc(sBuffSize + NOISELENGTH); 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()