MCPcopy Create free account
hub / github.com/L-JINBIN/ApkDataMultiplexing / isAligned

Method isAligned

src/bin/zip/ZipMaker.java:393–395  ·  view source on GitHub ↗
(long pos, int alignTo)

Source from the content-addressed store, hash-verified

391 }
392
393 private static boolean isAligned(long pos, int alignTo) {
394 return (pos % alignTo) == 0;
395 }
396
397 private static int getAlignedPadding(long pos, int alignTo) {
398 return (int) (alignTo - (pos % alignTo)) % alignTo;

Callers 1

alignMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected