// Look up a node in a sub-node's b-tree public static Node LookupSubNode(BTree <Node> subNodeTree, NID nid) { if (subNodeTree == null) { throw new XstException("No sub node data tree found"); } return(subNodeTree.Lookup(nid.dwValue)); }
// Look up a data block in the main data block b-tree public DataRef LookupDataBlock(UInt64 dataBid) { // Clear the LSB, which is reserved, but sometimes set return(dataTree.Lookup(dataBid & 0xfffffffe, deferredReadAction)); }
// Look up a node in the main node b-tree public Node LookupNode(NID nid) { return(nodeTree.Lookup(nid.dwValue, deferredReadAction)); }