Searched refs:kMaxK (Results 1 – 2 of 2) sorted by relevance
625 const unsigned kMaxK = parameters->k == 0 ? 2000 : parameters->k; in ZDICT_optimizeTrainFromBuffer_fastCover() local627 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()
1122 const unsigned kMaxK = parameters->k == 0 ? 2000 : parameters->k; in ZDICT_optimizeTrainFromBuffer_cover() local1124 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()