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

Function ptr_setup

tests/test_test_impact_tree.c:2611–2616  ·  view source on GitHub ↗

Independent prefix-read acceptance: no publisher/admission claims. All * mutations are synchronous and restricted to the fixture's owned namespace. */

Source from the content-addressed store, hash-verified

2609/* Independent prefix-read acceptance: no publisher/admission claims. All
2610 * mutations are synchronous and restricted to the fixture's owned namespace. */
2611static bool ptr_setup(pt_fixture *fx, unsigned width) {
2612 return pt_setup_step("read:init", pt_init(fx, width)) &&
2613 pt_setup_step("read:populate", pt_populate(fx)) &&
2614 pt_setup_step("read:facts", pt_open_facts(fx)) &&
2615 pt_setup_step("read:control", pt_fact_control(fx));
2616}
2617
2618static cbm_pinned_tree_control_t ptr_control(void) {
2619 return (cbm_pinned_tree_control_t){.deadline_ms = cbm_now_ms() + 120000U};

Callers 2

ptr_bytes_widthFunction · 0.85

Calls 5

pt_setup_stepFunction · 0.85
pt_initFunction · 0.85
pt_populateFunction · 0.85
pt_open_factsFunction · 0.85
pt_fact_controlFunction · 0.85

Tested by

no test coverage detected