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

Function cmp_node_id_entry

src/ui/layout3d.c:478–482  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

476} node_id_entry_t;
477
478static int cmp_node_id_entry(const void *a, const void *b) {
479 int64_t da = ((const node_id_entry_t *)a)->id;
480 int64_t db = ((const node_id_entry_t *)b)->id;
481 return (da > db) - (da < db);
482}
483
484static int find_node_index(const node_id_entry_t *map, int count, int64_t id) {
485 int lo = 0;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected