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

Function cmp_i64

internal/cbm/sqlite_writer.c:1376–1378  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1374static const CBMDumpEdge *g_sort_edges;
1375
1376static inline int cmp_i64(int64_t a, int64_t b) {
1377 return (a > b) - (a < b);
1378}
1379
1380static inline const char *safe_str(const char *s) {
1381 return s ? s : "";

Callers 11

cmp_node_by_labelFunction · 0.85
cmp_node_by_nameFunction · 0.85
cmp_node_by_fileFunction · 0.85
cmp_node_by_qnFunction · 0.85
cmp_edge_by_source_typeFunction · 0.85
cmp_edge_by_target_typeFunction · 0.85
cmp_edge_by_typeFunction · 0.85
cmp_edge_by_url_pathFunction · 0.85
cmp_edge_by_src_tgt_typeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected