MCPcopy Create free account
hub / github.com/GRAnimated/MinecraftLCE / zmemcmp

Function zmemcmp

lib/zlib/zutil.c:163–174  ·  view source on GitHub ↗
(s1, s2, len)

Source from the content-addressed store, hash-verified

161}
162
163int ZLIB_INTERNAL zmemcmp(s1, s2, len)
164 const Bytef* s1;
165 const Bytef* s2;
166 uInt len;
167{
168 uInt j;
169
170 for (j = 0; j < len; j++) {
171 if (s1[j] != s2[j]) return 2*(s1[j] > s2[j])-1;
172 }
173 return 0;
174}
175
176void ZLIB_INTERNAL zmemzero(dest, len)
177 Bytef* dest;

Callers 1

check_matchFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected