MCPcopy Create free account
hub / github.com/OpenGenus/cosmos / AllocBlock

Function AllocBlock

code/data_structures/src/tree/b_tree/b_tree/b_tree_c/btree.c:301–320  ·  view source on GitHub ↗

* If the freeBlocks list isn't empty, takes the head of the list as a new block. * Else, it allocs a new block on the disk. */

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

btree_insFunction · 0.85

Calls 2

ReadBlockFunction · 0.85
WriteBlockFunction · 0.85

Tested by

no test coverage detected