MCPcopy Index your code
hub / github.com/andylamp/BPlusTree / binSearchBlock

Method binSearchBlock

src/main/java/ds/bplus/bptree/BPlusTree.java:362–364  ·  view source on GitHub ↗

Binary search implementation for tree blocks; if not found returns the lower/upper bound position instead based on `rank`. @param n node to search @param key key to search @param rank rank of the search (for lower/upper bound) @return the index of the bound or found key.

(TreeNode n, long key, Rank rank)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 3

insertNonFullMethod · 0.95
searchKeyMethod · 0.95
deleteKeyMethod · 0.95

Calls 2

binSearchRecMethod · 0.95
getCurrentCapacityMethod · 0.80

Tested by

no test coverage detected