MCPcopy Create free account
hub / github.com/ebarlas/microhttp / remaining

Method remaining

src/main/java/org/microhttp/ByteTokenizer.java:23–25  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

21 }
22
23 int remaining() {
24 return size - position;
25 }
26
27 void compact() {
28 array = Arrays.copyOfRange(array, position, size);

Callers 9

compactMethod · 0.95
expandingArrayMethod · 0.95
noBytesMethod · 0.95
addAndAssertMethod · 0.80
addMethod · 0.80
doOnReadableMethod · 0.80
doWriteMethod · 0.80
doOnWritableMethod · 0.80

Calls

no outgoing calls

Tested by 4

compactMethod · 0.76
expandingArrayMethod · 0.76
noBytesMethod · 0.76
addAndAssertMethod · 0.64