MCPcopy Create free account
hub / github.com/Luce-Org/lucebox-hub / raxDefragStackInit

Function raxDefragStackInit

server/src/server/rax.c:2310–2314  ·  view source on GitHub ↗

Initialize the private DFS stack used by the defragmentation iterator. */

Source from the content-addressed store, hash-verified

2308
2309/* Initialize the private DFS stack used by the defragmentation iterator. */
2310static inline void raxDefragStackInit(raxDefragIterator *it) {
2311 it->stack = it->static_items;
2312 it->items = 0;
2313 it->maxitems = RAX_DEFRAG_STATIC_ITEMS;
2314}
2315
2316/* Push a new node into the defragmentation iterator stack. The parent_child
2317 * argument is the child index of this node in its parent, or -1 for the

Callers 1

raxDefragStartFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected