Home
last modified time | relevance | path

Searched refs:samplesBuffSize (Results 1 – 1 of 1) sorted by relevance

/dragonfly/contrib/zstd/lib/dictBuilder/
H A Dzdict.c992 size_t const samplesBuffSize = ZDICT_totalSampleSize(samplesSizes, nbSamples); in ZDICT_trainFromBuffer_unsafe_legacy() local
999 …if (samplesBuffSize < ZDICT_MIN_SAMPLES_SIZE) { free(dictList); return ERROR(dictionaryCreation_fa… in ZDICT_trainFromBuffer_unsafe_legacy()
1006 samplesBuffer, samplesBuffSize, in ZDICT_trainFromBuffer_unsafe_legacy()
1021 if ((pos > samplesBuffSize) || ((pos + length) > samplesBuffSize)) { in ZDICT_trainFromBuffer_unsafe_legacy()
1037 if (samplesBuffSize < 10 * targetDictSize) in ZDICT_trainFromBuffer_unsafe_legacy()
1038 …onsider increasing the number of samples (total size : %u MB)\n", (unsigned)(samplesBuffSize>>20)); in ZDICT_trainFromBuffer_unsafe_legacy()