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

Function site_in

tests/test_parse_coverage.c:1204–1212  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1202}
1203
1204static bool site_in(cov_site_t s, const cov_site_t *arr, int n) {
1205 for (int i = 0; i < n; i++) {
1206 if (arr[i].start == s.start && arr[i].end == s.end && s.name && arr[i].name &&
1207 strcmp(arr[i].name, s.name) == 0) {
1208 return true;
1209 }
1210 }
1211 return false;
1212}
1213
1214/* Calls (calls=true) or usages, cut parse against full parse:
1215 * - nothing the full parse found outside the dropped rows may be missing;

Callers 1

sites_agreeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected