MCPcopy Index your code
hub / github.com/questdb/questdb / remove

Method remove

core/src/main/java/io/questdb/std/ByteList.java:149–156  ·  view source on GitHub ↗
(byte key)

Source from the content-addressed store, hash-verified

147 }
148
149 public void remove(byte key) {
150 for (int i = 0, n = size(); i < n; i++) {
151 if (key == getQuick(i)) {
152 removeIndex(i);
153 return;
154 }
155 }
156 }
157
158 public void removeIndex(int index) {
159 if (pos < 1 || index >= pos) {

Callers 1

testSmokeMethod · 0.95

Calls 3

sizeMethod · 0.95
getQuickMethod · 0.95
removeIndexMethod · 0.95

Tested by 1

testSmokeMethod · 0.76