MCPcopy Create free account
hub / github.com/Meituan-Dianping/SQLAdvisor / compress

Function compress

zlib/compress.c:62–69  ·  view source on GitHub ↗

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

(dest, destLen, source, sourceLen)

Source from the content-addressed store, hash-verified

60/* ===========================================================================
61 */
62int ZEXPORT compress (dest, destLen, source, sourceLen)
63 Bytef *dest;
64 uLongf *destLen;
65 const Bytef *source;
66 uLong sourceLen;
67{
68 return compress2(dest, destLen, source, sourceLen, Z_DEFAULT_COMPRESSION);
69}
70
71/* ===========================================================================
72 If the default memLevel or windowBits for deflateInit() is changed, then

Callers 2

val_strMethod · 0.85
my_compress_allocFunction · 0.85

Calls 1

compress2Function · 0.85

Tested by

no test coverage detected