MCPcopy Create free account
hub / github.com/F-Stack/f-stack / compress

Function compress

freebsd/contrib/zlib/compress.c:68–75  ·  view source on GitHub ↗

=========================================================================== */

(dest, destLen, source, sourceLen)

Source from the content-addressed store, hash-verified

66/* ===========================================================================
67 */
68int ZEXPORT compress (dest, destLen, source, sourceLen)
69 Bytef *dest;
70 uLongf *destLen;
71 const Bytef *source;
72 uLong sourceLen;
73{
74 return compress2(dest, destLen, source, sourceLen, Z_DEFAULT_COMPRESSION);
75}
76
77/* ===========================================================================
78 If the default memLevel or windowBits for deflateInit() is changed, then

Callers 1

test_compressFunction · 0.50

Calls 1

compress2Function · 0.85

Tested by 1

test_compressFunction · 0.40