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

Function cand_cmp

internal/cbm/doc_pdf.c:784–788  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

782}
783
784static int cand_cmp(const void *x, const void *y) {
785 const cand_t *a = (const cand_t *)x;
786 const cand_t *b = (const cand_t *)y;
787 return a->start < b->start ? -1 : a->start > b->start ? 1 : 0;
788}
789
790/* candidates(): line-local candidates of text, sorted by start. */
791static bool candidates(const uint32_t *t, int n, bool with_tok, candv_t *cv) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected