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

Method setAll

core/src/main/java/io/questdb/std/BoolList.java:157–160  ·  view source on GitHub ↗
(int capacity, boolean value)

Source from the content-addressed store, hash-verified

155 }
156
157 public void setAll(int capacity, boolean value) {
158 setPos(capacity);
159 Arrays.fill(buffer, 0, pos, value);
160 }
161
162 public void setPos(int capacity) {
163 checkCapacity(capacity);

Callers 7

testClearMethod · 0.95
testExtendAndSetMethod · 0.95
testInsertMethod · 0.95
testReplaceMethod · 0.95
testSetAllMethod · 0.95
testSetAndSetQuickMethod · 0.95
testZeroAndPositionMethod · 0.95

Calls 2

setPosMethod · 0.95
fillMethod · 0.45

Tested by 7

testClearMethod · 0.76
testExtendAndSetMethod · 0.76
testInsertMethod · 0.76
testReplaceMethod · 0.76
testSetAllMethod · 0.76
testSetAndSetQuickMethod · 0.76
testZeroAndPositionMethod · 0.76