MCPcopy Create free account
hub / github.com/AstroImageJ/astroimagej / doubleCapacity

Method doubleCapacity

ij/src/main/java/ij/io/ImageReader.java:1123–1127  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1121 }
1122
1123 void doubleCapacity() {
1124 byte[] tmp = new byte[data.length*2 + 1];
1125 System.arraycopy(data, 0, tmp, 0, data.length);
1126 data = tmp;
1127 }
1128
1129 public void clear() {
1130 size = 0;

Callers 1

addMethod · 0.95

Calls 1

arraycopyMethod · 0.45

Tested by

no test coverage detected