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

Function cmp_int64

src/traces/traces.c:165–169  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

163/* ── calculateP99 ────────────────────────────────────────────────── */
164
165static int cmp_int64(const void *a, const void *b) {
166 int64_t va = *(const int64_t *)a;
167 int64_t vb = *(const int64_t *)b;
168 return (va > vb) - (va < vb);
169}
170
171int64_t cbm_calculate_p99(int64_t *values, int count) {
172 if (!values || count <= 0) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected