MCPcopy Create free account
hub / github.com/git/git / zlib_buf_cap

Function zlib_buf_cap

git-zlib.c:36–39  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

34/* uLong is 32-bit on Windows, even on 64-bit systems */
35#define ULONG_MAX_VALUE maximum_unsigned_value_of_type(uLong)
36static inline uInt zlib_buf_cap(unsigned long len)
37{
38 return (ZLIB_BUF_MAX < len) ? ZLIB_BUF_MAX : len;
39}
40
41static inline uLong zlib_uLong_cap(size_t s)
42{

Callers 1

zlib_pre_callFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected