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

Function cmp_i64

internal/cbm/sqlite_writer.c:1431–1433  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1429static const CBMDumpEdge *g_sort_edges;
1430
1431static inline int cmp_i64(int64_t a, int64_t b) {
1432 return (a > b) - (a < b);
1433}
1434
1435static inline const char *safe_str(const char *s) {
1436 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