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

Method add

src/main/java/org/microhttp/ByteMerger.java:13–15  ·  view source on GitHub ↗
(byte[] array)

Source from the content-addressed store, hash-verified

11 private final List<byte[]> arrays = new ArrayList<>();
12
13 void add(byte[] array) {
14 arrays.add(array);
15 }
16
17 byte[] merge() {
18 int size = sumOfLengths();

Callers 15

addAndMergeMethod · 0.95
serializeMethod · 0.95
concurrentRequestsMethod · 0.45
argsProviderMethod · 0.45
logMethod · 0.45
addAndAssertMethod · 0.45
parseHeaderMethod · 0.45
parseChunkDataMethod · 0.45
appendHeadersMethod · 0.45
scheduleMethod · 0.45
expiredMethod · 0.45

Calls

no outgoing calls

Tested by 6

addAndMergeMethod · 0.76
concurrentRequestsMethod · 0.36
argsProviderMethod · 0.36
logMethod · 0.36
addAndAssertMethod · 0.36