MCPcopy Create free account
hub / github.com/ObEngine/ObEngine / zmemcmp

Function zmemcmp

extlibs/minizip/src/zutil.c:173–184  ·  view source on GitHub ↗
(s1, s2, len)

Source from the content-addressed store, hash-verified

171}
172
173int ZLIB_INTERNAL zmemcmp(s1, s2, len)
174 const Bytef* s1;
175 const Bytef* s2;
176 uInt len;
177{
178 uInt j;
179
180 for (j = 0; j < len; j++) {
181 if (s1[j] != s2[j]) return 2*(s1[j] > s2[j])-1;
182 }
183 return 0;
184}
185
186void ZLIB_INTERNAL zmemzero(dest, len)
187 Bytef* dest;

Callers 1

check_matchFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected