HomeSort by: relevance | last modified time | path
    Searched refs:activeSegment (Results 1 - 2 of 2) sorted by relevancy

  /src/external/bsd/zstd/dist/lib/dictBuilder/
fastcover.c 166 /* Try each segment (activeSegment) and save the best (bestSegment) */
168 COVER_segment_t activeSegment;
171 /* The activeSegment starts at the beginning of the epoch. */
172 activeSegment.begin = begin;
173 activeSegment.end = begin;
174 activeSegment.score = 0;
176 /* Slide the activeSegment through the whole epoch.
179 while (activeSegment.end < end) {
181 const size_t idx = FASTCOVER_hashPtrToIndex(ctx->samples + activeSegment.end, f, d);
185 activeSegment.score += freqs[idx]
    [all...]
cover.c 474 /* Try each segment (activeSegment) and save the best (bestSegment) */
476 COVER_segment_t activeSegment;
479 /* The activeSegment starts at the beginning of the epoch. */
480 activeSegment.begin = begin;
481 activeSegment.end = begin;
482 activeSegment.score = 0;
483 /* Slide the activeSegment through the whole epoch.
486 while (activeSegment.end < end) {
488 U32 newDmer = ctx->dmerAt[activeSegment.end];
496 activeSegment.score += freqs[newDmer]
    [all...]

Completed in 19 milliseconds