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

Function fl_id_idx_cmp

src/ui/atlas_flows.c:202–205  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

200} fl_id_idx_t;
201
202static int fl_id_idx_cmp(const void *a, const void *b) {
203 int64_t ia = ((const fl_id_idx_t *)a)->id, ib = ((const fl_id_idx_t *)b)->id;
204 return (ia > ib) - (ia < ib);
205}
206
207static int32_t fl_index_of(const fl_id_idx_t *map, int n, int64_t id) {
208 int lo = 0, hi = n - 1;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected