Searched refs:samplesBuffSize (Results 1 – 1 of 1) sorted by relevance
989 size_t const samplesBuffSize = ZDICT_totalSampleSize(samplesSizes, nbSamples); in ZDICT_trainFromBuffer_unsafe_legacy() local996 …if (samplesBuffSize < ZDICT_MIN_SAMPLES_SIZE) { free(dictList); return ERROR(dictionaryCreation_fa… in ZDICT_trainFromBuffer_unsafe_legacy()1003 samplesBuffer, samplesBuffSize, in ZDICT_trainFromBuffer_unsafe_legacy()1018 if ((pos > samplesBuffSize) || ((pos + length) > samplesBuffSize)) { in ZDICT_trainFromBuffer_unsafe_legacy()1034 if (samplesBuffSize < 10 * targetDictSize) in ZDICT_trainFromBuffer_unsafe_legacy()1035 …onsider increasing the number of samples (total size : %u MB)\n", (unsigned)(samplesBuffSize>>20)); in ZDICT_trainFromBuffer_unsafe_legacy()