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

Function cmp_int_asc

src/semantic/semantic.c:1622–1626  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1620}
1621
1622static int cmp_int_asc(const void *pa, const void *pb) {
1623 int a = *(const int *)pa;
1624 int b = *(const int *)pb;
1625 return (a > b) - (a < b);
1626}
1627
1628/* Terms are keyed by corpus token, so two functions share a term only when
1629 * they share the word. (Until 2026-10 the key was the token's POSITION in the

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected