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

Function tsd_seeded

tests/test_test_impact_seed.c:82–91  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

80}
81
82static bool tsd_seeded(const cbm_ti_seeds_t *s, int64_t id) {
83 int count = 0;
84 const int64_t *ids = cbm_ti_seeds_nodes(s, &count);
85 for (int i = 0; i < count; i++) {
86 if (ids[i] == id) {
87 return true;
88 }
89 }
90 return false;
91}
92
93static int tsd_seed_count(const cbm_ti_seeds_t *s) {
94 int count = 0;

Callers 1

Calls 1

cbm_ti_seeds_nodesFunction · 0.85

Tested by

no test coverage detected