Home
last modified time | relevance | path

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

/freebsd-12.1/sys/contrib/zstd/tests/
H A Ddecodecorpus.c837 size_t const mostFrequent = FSE_countFast_wksp(count, &max, llCodeTable, nbSeq, WKSP); in writeSequences() local
838 if (mostFrequent == nbSeq) { in writeSequences()
868 size_t const mostFrequent = FSE_countFast_wksp(count, &max, ofCodeTable, nbSeq, WKSP); in writeSequences() local
869 if (mostFrequent == nbSeq) { in writeSequences()
895 size_t const mostFrequent = FSE_countFast_wksp(count, &max, mlCodeTable, nbSeq, WKSP); in writeSequences() local
896 if (mostFrequent == nbSeq) { in writeSequences()
/freebsd-12.1/sys/contrib/zstd/lib/compress/
H A Dzstd_compress.c1474 FSE_repeat* repeatMode, size_t const mostFrequent, size_t nbSeq, in ZSTD_selectEncodingType() argument
1480 if ((mostFrequent == nbSeq) && (!isDefaultAllowed || nbSeq > 2)) { in ZSTD_selectEncodingType()
1495 && ((nbSeq < MIN_SEQ_FOR_DYNAMIC_FSE) || (mostFrequent < (nbSeq >> (defaultNormLog-1)))) ) { in ZSTD_selectEncodingType()
1766 size_t const mostFrequent = FSE_countFast_wksp(count, &max, llCodeTable, nbSeq, workspace); in ZSTD_compressSequences_internal() local
1769 …LLtype = ZSTD_selectEncodingType(&nextEntropy->litlength_repeatMode, mostFrequent, nbSeq, LL_defau… in ZSTD_compressSequences_internal()
1779 size_t const mostFrequent = FSE_countFast_wksp(count, &max, ofCodeTable, nbSeq, workspace); in ZSTD_compressSequences_internal() local
1784 …Offtype = ZSTD_selectEncodingType(&nextEntropy->offcode_repeatMode, mostFrequent, nbSeq, OF_defaul… in ZSTD_compressSequences_internal()
1794 size_t const mostFrequent = FSE_countFast_wksp(count, &max, mlCodeTable, nbSeq, workspace); in ZSTD_compressSequences_internal() local
1797 …MLtype = ZSTD_selectEncodingType(&nextEntropy->matchlength_repeatMode, mostFrequent, nbSeq, ML_def… in ZSTD_compressSequences_internal()