MCPcopy Create free account
hub / github.com/ReadyTalk/avian / equal

Method equal

classpath/java/util/zip/ZipFile.java:135–142  ·  view source on GitHub ↗
(byte[] a, int aOffset, byte[] b, int bOffset,
                               int size)

Source from the content-addressed store, hash-verified

133 }
134
135 private static boolean equal(byte[] a, int aOffset, byte[] b, int bOffset,
136 int size)
137 {
138 for (int i = 0; i < size; ++i) {
139 if (a[aOffset + i] != b[bOffset + i]) return false;
140 }
141 return true;
142 }
143
144 private static int get2(Window w, int p) throws IOException {
145 int offset = w.seek(p, 2);

Callers 1

ZipFileMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected