OpenGrok
Home
Sort by:
relevance
|
last modified time
|
path
Full Search
in project(s):
src
xsrc
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:ZSTD_highbit32
(Results
1 - 20
of
20
) sorted by relevancy
/src/external/bsd/zstd/dist/lib/common/
entropy_common.c
164
nbBits =
ZSTD_highbit32
(remaining) + 1;
287
{ U32 const tableLog =
ZSTD_highbit32
(weightTotal) + 1;
293
U32 const verif = 1 <<
ZSTD_highbit32
(rest);
294
U32 const lastWeight =
ZSTD_highbit32
(rest) + 1;
bits.h
174
MEM_STATIC unsigned
ZSTD_highbit32
(U32 val) /* compress, dictBuilder, decodeCorpus */
bitstream.h
30
#include "bits.h" /*
ZSTD_highbit32
*/
265
bitD->bitsConsumed = lastByte ? 8 -
ZSTD_highbit32
(lastByte) : 0; /* ensures bitsConsumed is always set */
293
bitD->bitsConsumed = lastByte ? 8 -
ZSTD_highbit32
(lastByte) : 0;
fse_decompress.c
26
#include "bits.h" /*
ZSTD_highbit32
*/
154
tableDecode[u].nbBits = (BYTE) (tableLog -
ZSTD_highbit32
(nextState) );
/src/external/bsd/zstd/dist/lib/compress/
fse_compress.c
29
#include "../common/bits.h" /*
ZSTD_highbit32
*/
195
{ U32 const maxBitsOut = tableLog -
ZSTD_highbit32
((U32)normalizedCounter[s]-1);
350
U32 minBitsSrc =
ZSTD_highbit32
((U32)(srcSize)) + 1;
351
U32 minBitsSymbols =
ZSTD_highbit32
(maxSymbolValue) + 2;
359
U32 maxBitsSrc =
ZSTD_highbit32
((U32)(srcSize - 1)) - minus;
zstd_lazy.c
209
if ( (4*(int)(matchLength-bestLength)) > (int)(
ZSTD_highbit32
(curr-matchIndex+1) -
ZSTD_highbit32
((U32)offsetPtr[0]+1)) ) {
342
if ( (4*(int)(matchLength-bestLength)) > (int)(
ZSTD_highbit32
(curr - matchIndex + 1) -
ZSTD_highbit32
((U32)*offBasePtr)) )
1636
int const gain1 = (int)(matchLength*3 -
ZSTD_highbit32
((U32)offBase) + 1);
1650
int const gain1 = (int)(matchLength*3 -
ZSTD_highbit32
((U32)offBase) + 1);
1657
int const gain2 = (int)(ml2*4 -
ZSTD_highbit32
((U32)ofbCandidate)); /* raw approx */
1658
int const gain1 = (int)(matchLength*4 -
ZSTD_highbit32
((U32)offBase) + 4);
1672
int const gain1 = (int)(matchLength*4 -
ZSTD_highbit32
((U32)offBase) + 1);
1686
int const gain1 = (int)(matchLength*4 -
ZSTD_highbit32
((U32)offBase) + 1)
[
all
...]
huf_compress.c
34
#include "../common/bits.h" /*
ZSTD_highbit32
*/
427
U32 nBitsToDecrease =
ZSTD_highbit32
((U32)totalCost) + 1;
525
#define RANK_POSITION_DISTINCT_COUNT_CUTOFF (RANK_POSITION_LOG_BUCKETS_BEGIN +
ZSTD_highbit32
(RANK_POSITION_LOG_BUCKETS_BEGIN) /* == 166 */)
533
:
ZSTD_highbit32
(count) + RANK_POSITION_LOG_BUCKETS_BEGIN;
900
size_t const dirtyBits = nbBits == 0 ? 0 :
ZSTD_highbit32
((U32)nbBits) + 1;
1268
U32 minBitsSymbols =
ZSTD_highbit32
(symbolCardinality) + 1;
zstd_opt.c
47
return (
ZSTD_highbit32
(stat+1) * BITCOST_MULTIPLIER);
56
U32 const hb =
ZSTD_highbit32
(stat);
130
return ZSTD_downscaleStats(table, lastEltIndex,
ZSTD_highbit32
(factor), base_1guaranteed);
330
U32 const offCode =
ZSTD_highbit32
(offBase);
375
{ U32 const offCode =
ZSTD_highbit32
(offBase);
zstd_compress_internal.h
26
#include "../common/bits.h" /*
ZSTD_highbit32
, ZSTD_NbCommonBytes */
595
return (litLength > 63) ?
ZSTD_highbit32
(litLength) + LL_deltaCode : LL_Code[litLength];
612
return (mlBase > 127) ?
ZSTD_highbit32
(mlBase) + ML_deltaCode : ML_Code[mlBase];
1442
U32 const hb =
ZSTD_highbit32
(newStat);
zstdmt_compress.c
24
#include "zstd_compress_internal.h" /* MIN, ERROR, ZSTD_*,
ZSTD_highbit32
*/
910
U32 const nbJobsLog2 =
ZSTD_highbit32
(*nbJobsPtr) + 1;
1300
U32 const rsyncBits = (assert(jobSizeKB >= 1),
ZSTD_highbit32
(jobSizeKB) + 10);
zstd_compress.c
31
#include "../common/bits.h" /*
ZSTD_highbit32
, ZSTD_rotateRight_U64 */
1460
return
ZSTD_highbit32
((U32)dictAndWindowSize - 1) + 1;
1558
ZSTD_highbit32
(tSize-1) + 1;
2705
U32 const ofCode =
ZSTD_highbit32
(sequences[u].offBase);
5137
offcodeMax =
ZSTD_highbit32
(maxOffset); /* Calculate minimum offset code required to represent maxOffset */
5850
U32 const limitedSrcLog = limitedSrcSize > 1 ?
ZSTD_highbit32
(limitedSrcSize - 1) + 1 : 1;
/src/external/bsd/zstd/dist/tests/fuzz/
huf_round_trip.c
30
size_t minTableLog =
ZSTD_highbit32
(alphabetSize) + 1;
/src/external/bsd/zstd/dist/lib/decompress/
zstd_decompress_block.c
28
#include "../common/bits.h" /*
ZSTD_highbit32
*/
596
tableDecode[u].nbBits = (BYTE) (tableLog -
ZSTD_highbit32
(nextState) );
2060
assert(
ZSTD_highbit32
((U32)maxOffbase) == STREAM_ACCUMULATOR_MIN);
huf_decompress.c
25
#include "../common/bits.h" /*
ZSTD_highbit32
, ZSTD_countTrailingZeros64 */
152
size_t const bitsConsumed = lastByte ? 8 -
ZSTD_highbit32
(lastByte) : 0;
zstd_decompress.c
63
#include "../common/bits.h" /*
ZSTD_highbit32
*/
1881
*value = (int)
ZSTD_highbit32
((U32)dctx->maxWindowSize);
/src/external/bsd/zstd/dist/lib/dictBuilder/
cover.c
46
#include "../common/bits.h" /*
ZSTD_highbit32
*/
134
map->sizeLog =
ZSTD_highbit32
(size) + 2;
zdict.c
669
U32 offcodeMax =
ZSTD_highbit32
((U32)(dictBufferSize + 128 KB));
/src/external/bsd/zstd/dist/tests/
decodecorpus.c
479
huffLog = RAND_range(seed,
ZSTD_highbit32
(maxSymbolValue)+1, huffLog+1);
paramgrill.c
634
U32 sshb = maxBlockSize > 1 ?
ZSTD_highbit32
((U32)(maxBlockSize-1)) + 1 : 1;
fuzzer.c
4237
/* Test
ZSTD_highbit32
*/
4238
CHECK_EQ(
ZSTD_highbit32
(lowbit_only_32), 0u);
4239
CHECK_EQ(
ZSTD_highbit32
(highbit_only_32), 31u);
Completed in 59 milliseconds
Indexes created Sat Aug 15 00:25:12 UTC 2026