MCPcopy Create free account
hub / github.com/KentBeck/BPlusTree3 / node_set_child

Function node_set_child

python/bplustree_c_src/bplustree.h:98–100  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

96}
97
98static inline void node_set_child(BPlusNode *node, int index, BPlusNode *child) {
99 node->data[node->capacity + index] = (PyObject*)child;
100}
101
102/* Prefetch child pointer for cache optimization */
103static inline BPlusNode *node_prefetch_child(BPlusNode *node, int index) {

Callers 3

tree_insertFunction · 0.85
node_insert_branchFunction · 0.85
node_clear_slotFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected