Home
last modified time | relevance | path

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

/external/zstd/lib/dictBuilder/
Dfastcover.c625 const unsigned kMaxK = parameters->k == 0 ? 2000 : parameters->k; in ZDICT_optimizeTrainFromBuffer_fastCover() local
627 const unsigned kStepSize = MAX((kMaxK - kMinK) / kSteps, 1); in ZDICT_optimizeTrainFromBuffer_fastCover()
629 (1 + (kMaxD - kMinD) / 2) * (1 + (kMaxK - kMinK) / kStepSize); in ZDICT_optimizeTrainFromBuffer_fastCover()
650 if (kMinK < kMaxD || kMaxK < kMinK) { in ZDICT_optimizeTrainFromBuffer_fastCover()
697 for (k = kMinK; k <= kMaxK; k += kStepSize) { in ZDICT_optimizeTrainFromBuffer_fastCover()
Dcover.c1122 const unsigned kMaxK = parameters->k == 0 ? 2000 : parameters->k; in ZDICT_optimizeTrainFromBuffer_cover() local
1124 const unsigned kStepSize = MAX((kMaxK - kMinK) / kSteps, 1); in ZDICT_optimizeTrainFromBuffer_cover()
1126 (1 + (kMaxD - kMinD) / 2) * (1 + (kMaxK - kMinK) / kStepSize); in ZDICT_optimizeTrainFromBuffer_cover()
1142 if (kMinK < kMaxD || kMaxK < kMinK) { in ZDICT_optimizeTrainFromBuffer_cover()
1186 for (k = kMinK; k <= kMaxK; k += kStepSize) { in ZDICT_optimizeTrainFromBuffer_cover()