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

Method addAt0

core/src/main/java/io/questdb/std/ObjHashSet.java:153–162  ·  view source on GitHub ↗
(int index, T key)

Source from the content-addressed store, hash-verified

151 }
152
153 private boolean addAt0(int index, T key) {
154 if (index > -1) {
155 keys[index] = key;
156 if (--free == 0) {
157 rehash();
158 }
159 return true;
160 }
161 return false;
162 }
163
164 private void erase(int index) {
165 ((Object[]) keys)[index] = noEntryKey;

Callers 2

addAtMethod · 0.95
rehashMethod · 0.95

Calls 1

rehashMethod · 0.95

Tested by

no test coverage detected