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

Function find_resolved_arr

tests/test_py_lsp.c:510–519  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

508/* ── Phase 9 — cross-file resolution ──────────────────────────── */
509
510static int find_resolved_arr(const CBMResolvedCallArray *arr, const char *callerSub,
511 const char *calleeSub) {
512 for (int i = 0; i < arr->count; i++) {
513 const CBMResolvedCall *rc = &arr->items[i];
514 if (rc->caller_qn && strstr(rc->caller_qn, callerSub) &&
515 rc->callee_qn && strstr(rc->callee_qn, calleeSub))
516 return i;
517 }
518 return -1;
519}
520
521typedef struct {
522 int target_count;

Callers 1

test_py_lsp.cFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected