Searched refs:MAX (Results 1 – 10 of 10) sorted by relevance
| /lib/zstd/common/ |
| D | zstd_internal.h | 48 #undef MAX 50 #define MAX(a,b) ((a)>(b) ? (a) : (b)) macro 51 #define BOUNDED(min,val,max) (MAX(min,MIN(val,max))) 101 #define MaxSeq MAX(MaxLL, MaxML) /* Assumption : MaxOff < MaxLL,MaxML */ 105 #define MaxFSELog MAX(MAX(MLFSELog, LLFSELog), OffFSELog)
|
| /lib/ |
| D | sg_pool.c | 31 #error SG_CHUNK_SIZE is too large (256 MAX)
|
| D | btree.c | 46 #define NODESIZE MAX(L1_CACHE_BYTES, 128)
|
| D | vsprintf.c | 1083 char sym[MAX(2*RSRC_BUF_SIZE + DECODED_BUF_SIZE, in resource_string()
|
| /lib/zstd/compress/ |
| D | zstd_compress_internal.h | 963 + MAX(maxDist, cycleSize) in ZSTD_window_canOverflowCorrect() 972 U32 const adjustedIndex = MAX(minIndexToOverflowCorrect * adjustment, in ZSTD_window_canOverflowCorrect() 1042 ? MAX(cycleSize, ZSTD_WINDOW_START_INDEX) in ZSTD_window_correctOverflow() 1046 + MAX(maxDist, cycleSize); in ZSTD_window_correctOverflow()
|
| D | zstd_lazy.c | 251 U32 const unsortLimit = MAX(btLow, windowLow); in ZSTD_DUBT_findBestMatch() 1332 assert(MAX(4, MIN(6, ms->cParams.minMatch)) == mls); \ 1342 assert(MAX(4, MIN(6, ms->cParams.minMatch)) == mls); \ 1352 assert(MAX(4, MIN(6, ms->cParams.minMatch)) == mls); \ 1353 assert(MAX(4, MIN(6, ms->cParams.searchLog)) == rowLog); \
|
| D | zstd_ldm.c | 144 params->hashLog = MAX(ZSTD_HASHLOG_MIN, params->windowLog - LDM_HASH_RLOG); in ZSTD_ldm_adjustParameters()
|
| D | zstd_compress.c | 1460 return MAX(noRowCCtxSize, rowCCtxSize); in ZSTD_estimateCCtxSize_usingCParams() 1474 largestSize = MAX(ZSTD_estimateCCtxSize_usingCParams(cParams), largestSize); in ZSTD_estimateCCtxSize_internal() 1522 return MAX(noRowCCtxSize, rowCCtxSize); in ZSTD_estimateCStreamSize_usingCParams() 1778 …{ size_t const windowSize = MAX(1, (size_t)MIN(((U64)1 << params->cParams.windowLog), pledgedSrc… in ZSTD_resetCCtx_internal() 2511 ZSTD_STATIC_ASSERT(HUF_WORKSPACE_SIZE >= (1<<MAX(MLFSELog,LLFSELog))); in ZSTD_entropyCompressSeqStore_internal() 4336 ZSTD_STATIC_ASSERT(HUF_WORKSPACE_SIZE >= (1<<MAX(MLFSELog,LLFSELog))); in ZSTD_loadZstdDictionary() 4968 cctxParams.cParams.windowLog = MAX(cctxParams.cParams.windowLog, limitedSrcLog); in ZSTD_compressBegin_usingCDict_internal() 6091 int const clampedCompressionLevel = MAX(ZSTD_minCLevel(), compressionLevel); in ZSTD_getCParams_internal()
|
| D | zstd_opt.c | 525 return MAX(positions, matchEndIdx - (curr + 8)); in ZSTD_insertBt1()
|
| /lib/zstd/decompress/ |
| D | zstd_decompress.c | 1935 …return (MAX((size_t)ZSTD_FRAMEHEADERSIZE_MIN(zds->format), hSize) - zds->lhSize) + ZSTD_blockHeade… in ZSTD_decompressStream() 1985 … zds->fParams.windowSize = MAX(zds->fParams.windowSize, 1U << ZSTD_WINDOWLOG_ABSOLUTEMIN); in ZSTD_decompressStream() 1990 … { size_t const neededInBuffSize = MAX(zds->fParams.blockSizeMax, 4 /* frame checksum */); in ZSTD_decompressStream()
|