MCPcopy Index your code
hub / github.com/jankotek/mapdb / treePos

Method treePos

src/main/java/org/mapdb/IndexTreeListJava.java:316–319  ·  view source on GitHub ↗
(int dirShift, int level, long index)

Source from the content-addressed store, hash-verified

314
315
316 protected static int treePos(int dirShift, int level, long index) {
317 int shift = dirShift*level;
318 return (int) ((index >>> shift) & ((1<<dirShift)-1));
319 }
320
321 static final void treePut(
322 int dirShift,

Callers 8

treeGetBinaryMethod · 0.95
treeGetNonBinaryMethod · 0.95
treeGetNullableMethod · 0.95
treePutMethod · 0.95
treePutSubMethod · 0.95
treeRemoveMethod · 0.95
treeRemoveCollapsingMethod · 0.95
treeIterMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected