MCPcopy Create free account
hub / github.com/apache/ant / tryToLocateSignature

Method tryToLocateSignature

src/main/org/apache/tools/zip/ZipFile.java:798–831  ·  view source on GitHub ↗

Searches the archive backwards from minDistance to maxDistance for the given signature, positions the RandomAccessFile right at the signature if it has been found.

(final long minDistanceFromEnd,
                                         final long maxDistanceFromEnd,
                                         final byte[] sig)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Calls 2

lengthMethod · 0.45
readMethod · 0.45

Tested by

no test coverage detected