Home
last modified time | relevance | path

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

/linux-6.12.1/lib/zstd/decompress/
Dzstd_decompress.c1778 unsigned long long const neededSize = MIN(frameContentSize, neededRBSize); in ZSTD_decodingBufferSize_min() local
1779 size_t const minRBSize = (size_t) neededSize; in ZSTD_decodingBufferSize_min()
1780 RETURN_ERROR_IF((unsigned long long)minRBSize != neededSize, in ZSTD_decodingBufferSize_min()
/linux-6.12.1/lib/zstd/compress/
Dzstd_compress.c4885 size_t const neededSize = ZSTD_cwksp_alloc_size(sizeof(ZSTD_CDict)) in ZSTD_initStaticCDict() local
4904 (unsigned)workspaceSize, (unsigned)neededSize, (unsigned)(workspaceSize < neededSize)); in ZSTD_initStaticCDict()
4905 if (workspaceSize < neededSize) return NULL; in ZSTD_initStaticCDict()