Skip to content
Snippets Groups Projects
Commit 778d324d authored by Florian Burgener's avatar Florian Burgener
Browse files

Documentation

parent ac44fe04
No related branches found
No related tags found
No related merge requests found
......@@ -110,6 +110,13 @@ bool BPTree_search(BPTreeNode *root, uint64_t key, uint64_t *data) {
// "traverse" function for insertion and deletion.
/**
* @brief Finds the next node from a node with respect to a given key.
*
* @param node The origin node.
* @param key The key that must be compared.
* @return BPTreeNode* The next node.
*/
static BPTreeNode *traverse(BPTreeNode *node, uint64_t key) {
int virtual_insertion_index = IntegerArray_lower_bound(node->keys, key);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment