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

Function sort_worker

internal/cbm/sqlite_writer.c:1626–1630  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1624} SortJob;
1625
1626static void *sort_worker(void *arg) {
1627 SortJob *j = (SortJob *)arg;
1628 j->perm = make_sorted_perm(j->count, j->cmp);
1629 return NULL;
1630}
1631
1632/* Edge index cell builder callback: builds one index cell from an edge. */
1633typedef uint8_t *(*edge_cell_fn)(const CBMDumpEdge *e, int *out_len);

Callers

nothing calls this directly

Calls 1

make_sorted_permFunction · 0.85

Tested by

no test coverage detected