MCPcopy Create free account
hub / github.com/DeusData/codebase-memory-mcp / st_empty_remove

Function st_empty_remove

src/pipeline/doc_links_msbuild.c:962–973  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

960 s->available = b;
961}
962static void st_empty_remove(msb_state_t *s, st_slab_t *b) {
963 if (!b->on_empty)
964 return;
965 if (b->empty_prev)
966 b->empty_prev->empty_next = b->empty_next;
967 else
968 s->empty = b->empty_next;
969 if (b->empty_next)
970 b->empty_next->empty_prev = b->empty_prev;
971 b->empty_next = b->empty_prev = NULL;
972 b->on_empty = false;
973}
974static void st_empty_add(msb_state_t *s, st_slab_t *b) {
975 b->empty_next = s->empty;
976 b->empty_prev = NULL;

Callers 2

st_newFunction · 0.85
st_trimFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected