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

/freebsd-12-stable/sys/contrib/zstd/lib/
H A Dzstd.h132 #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
/freebsd-12-stable/sys/contrib/zstd/lib/compress/
H A Dzstd_compress.c42 return ZSTD_COMPRESSBOUND(srcSize);

Completed in 171 milliseconds