Searched refs:ZSTD_COMPRESSBOUND (Results 1 - 2 of 2) sorted by relevance

/linux-master/include/linux/
H A Dzstd_lib.h171 #define ZSTD_COMPRESSBOUND(srcSize) ((srcSize) + ((srcSize)>>8) + (((srcSize) < (128<<10)) ? (((128<<10) - (srcSize)) >> 11) /* margin, from 64 to 0 */ : 0)) /* this formula ensures that bound(A) + bound(B) <= bound(A+B) as long as A and B >= 128 KB */ macro
/linux-master/lib/zstd/compress/
H A Dzstd_compress.c65 return ZSTD_COMPRESSBOUND(srcSize);

Completed in 141 milliseconds