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

Method idx

core/src/main/java/io/questdb/std/ObjHashSet.java:168–170  ·  view source on GitHub ↗
(T key)

Source from the content-addressed store, hash-verified

166 }
167
168 private int idx(T key) {
169 return key == null ? 0 : (Hash.spread(key.hashCode()) & mask);
170 }
171
172 private void move(int from, int to) {
173 keys[to] = keys[from];

Callers 1

keyIndexMethod · 0.95

Calls 2

spreadMethod · 0.95
hashCodeMethod · 0.65

Tested by

no test coverage detected