MCPcopy Create free account
hub / github.com/InteractiveComputerGraphics/SPlisHSPlasH / zmemcmp

Function zmemcmp

extern/zlib/src/zutil.c:152–159  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

150}
151
152int ZLIB_INTERNAL zmemcmp(const Bytef* s1, const Bytef* s2, uInt len) {
153 uInt j;
154
155 for (j = 0; j < len; j++) {
156 if (s1[j] != s2[j]) return 2*(s1[j] > s2[j])-1;
157 }
158 return 0;
159}
160
161void ZLIB_INTERNAL zmemzero(Bytef* dest, uInt len) {
162 if (len == 0) return;

Callers 1

check_matchFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected