Lines Matching refs:segmentFreqs
151 U16* segmentFreqs) { in FASTCOVER_selectSegment() argument
176 if (segmentFreqs[idx] == 0) { in FASTCOVER_selectSegment()
181 segmentFreqs[idx] += 1; in FASTCOVER_selectSegment()
186 segmentFreqs[delIndex] -= 1; in FASTCOVER_selectSegment()
188 if (segmentFreqs[delIndex] == 0) { in FASTCOVER_selectSegment()
204 segmentFreqs[delIndex] -= 1; in FASTCOVER_selectSegment()
396 U16* segmentFreqs) in FASTCOVER_buildDictionary() argument
417 ctx, freqs, epochBegin, epochEnd, parameters, segmentFreqs); in FASTCOVER_buildDictionary()
474 U16* segmentFreqs = (U16 *)calloc(((U64)1 << ctx->f), sizeof(U16)); in FASTCOVER_tryParameters() local
479 if (!segmentFreqs || !dict || !freqs) { in FASTCOVER_tryParameters()
487 parameters, segmentFreqs); in FASTCOVER_tryParameters()
503 free(segmentFreqs); in FASTCOVER_tryParameters()
591 U16* segmentFreqs = (U16 *)calloc(((U64)1 << parameters.f), sizeof(U16)); in ZDICT_trainFromBuffer_fastCover() local
593 dictBufferCapacity, coverParams, segmentFreqs); in ZDICT_trainFromBuffer_fastCover()
603 free(segmentFreqs); in ZDICT_trainFromBuffer_fastCover()