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

Function make_rc

tests/test_parallel.c:4295–4303  ·  view source on GitHub ↗

── Shared "::" normalization in cbm_pipeline_find_lsp_resolution (QA F3) ─ * * The last-"::"-segment normalization in lsp_resolve.h widens matching for * qualified static callees (Perl `Pkg::sub`, C++ `Ns::fn`, etc.) across ALL * languages, not just Perl. These tests lock the intended behavior directly * against cbm_pipeline_find_lsp_resolution: (1) a qualified static call still * resolves t

Source from the content-addressed store, hash-verified

4293 * mis-attribution edge case (two same-named subs from different namespaces) is
4294 * bounded by caller-QN equality + the confidence floor. */
4295static CBMResolvedCall make_rc(const char *caller, const char *callee, float conf) {
4296 CBMResolvedCall rc = {0};
4297 memset(&rc, 0, sizeof(rc));
4298 rc.caller_qn = caller;
4299 rc.callee_qn = callee;
4300 rc.strategy = "test";
4301 rc.confidence = conf;
4302 return rc;
4303}
4304
4305static CBMCall make_call(const char *enclosing, const char *callee_name) {
4306 CBMCall c;

Callers 3

test_parallel.cFile · 0.85
make_tail_rcFunction · 0.85
make_reference_rcFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected