summaryrefslogtreecommitdiff
path: root/src/third_party/zstandard-1.4.3/zstd/contrib/experimental_dict_builders/benchmarkDictBuilder/dictBuilder.h
blob: 781ec8c2f39e12b84cb55e1c4e8a592f834b124e (plain)
1
2
3
4
5
6
/* ZDICT_trainFromBuffer_legacy() :
 * issue : samplesBuffer need to be followed by a noisy guard band.
 * work around : duplicate the buffer, and add the noise */
size_t ZDICT_trainFromBuffer_legacy(void* dictBuffer, size_t dictBufferCapacity,
                                    const void* samplesBuffer, const size_t* samplesSizes, unsigned nbSamples,
                                    ZDICT_legacy_params_t params);