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

Function seen_set_init

src/simhash/minhash.c:407–411  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

405} seen_set_t;
406
407static void seen_set_init(seen_set_t *s) {
408 s->slots = calloc(SEEN_SET_SIZE, sizeof(int64_t));
409 s->cap = SEEN_SET_SIZE;
410 /* 0 means empty — node_ids are always > 0 */
411}
412
413static bool seen_set_insert(seen_set_t *s, int64_t node_id) {
414 if (!s->slots) {

Callers 2

cbm_lsh_queryFunction · 0.85
cbm_lsh_query_intoFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected