MCPcopy Create free account
hub / github.com/RsyncProject/rsync / zmemcmp

Function zmemcmp

zlib/zutil.c:158–166  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

156}
157
158int ZLIB_INTERNAL zmemcmp(const Bytef* s1, const Bytef* s2, uInt len)
159{
160 uInt j;
161
162 for (j = 0; j < len; j++) {
163 if (s1[j] != s2[j]) return 2*(s1[j] > s2[j])-1;
164 }
165 return 0;
166}
167
168void ZLIB_INTERNAL zmemzero(Bytef* dest, uInt len)
169{

Callers 1

check_matchFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected