MCPcopy Create free account
hub / github.com/questdb/questdb / extendCapacity

Method extendCapacity

core/src/main/java/io/questdb/std/BoolList.java:221–227  ·  view source on GitHub ↗
(int newPos)

Source from the content-addressed store, hash-verified

219 }
220
221 private void extendCapacity(int newPos) {
222 if (newPos > pos) {
223 checkCapacity(newPos);
224 Arrays.fill(buffer, pos, newPos, NO_ENTRY_VALUE);
225 pos = newPos;
226 }
227 }
228
229 private boolean replace0(int index, boolean value) {
230 boolean val = buffer[index];

Callers 2

extendAndReplaceMethod · 0.95
extendAndSetMethod · 0.95

Calls 2

checkCapacityMethod · 0.95
fillMethod · 0.45

Tested by

no test coverage detected