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

Function py_facts_owned_string

tests/test_extraction.c:11749–11752  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

11747}
11748
11749static bool py_facts_owned_string(const CBMArena *arena, const char *str) {
11750 return !str || (py_facts_owned_range(arena, str, 1) &&
11751 py_facts_owned_range(arena, str, strlen(str) + 1));
11752}
11753
11754static bool py_facts_owned(const CBMArena *arena, const CBMPyNamespaceFacts *facts) {
11755 if (!py_facts_owned_range(arena, facts->items, (size_t)facts->count * sizeof(*facts->items)))

Callers 1

py_facts_ownedFunction · 0.85

Calls 1

py_facts_owned_rangeFunction · 0.85

Tested by

no test coverage detected