Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/DeusData/codebase-memory-mcp
/ functions
Functions
4,316 in github.com/DeusData/codebase-memory-mcp
⨍
Functions
4,316
◇
Types & classes
229
↓ 246 callers
Function
cbm_node_text
internal/cbm/helpers.c:52
↓ 213 callers
Function
cbm_arena_alloc
internal/cbm/arena.c:35
↓ 131 callers
Function
cbm_type_unknown
internal/cbm/lsp/type_rep.c:12
↓ 130 callers
Function
cbm_arena_sprintf
internal/cbm/arena.c:79
↓ 119 callers
Function
cbm_arena_strdup
internal/cbm/arena.c:57
↓ 83 callers
Function
cbm_free_result
internal/cbm/cbm.c:1053
↓ 79 callers
Function
cbm_store_close
src/store/store.c:893
↓ 76 callers
Function
cbm_type_named
internal/cbm/lsp/type_rep.c:16
↓ 74 callers
Function
cbm_registry_lookup_type
internal/cbm/lsp/type_registry.c:435
↓ 73 callers
Function
cbm_arena_strndup
internal/cbm/arena.c:68
↓ 68 callers
Function
cbm_ht_get
src/foundation/hash_table.c:84
↓ 60 callers
Function
cbm_extract_file
Public entry: run the extraction and journal completion. The DONE mark on * every ordinary return (including error/timeout results) tells the crash
internal/cbm/cbm.c:695
↓ 60 callers
Function
cbm_mkdtemp
src/foundation/compat.c:57
↓ 60 callers
Function
tf_reset
tests/test_framework.h:52
↓ 59 callers
Function
cbm_gbuf_insert_edge
src/graph_buffer/graph_buffer.c:1032
↓ 57 callers
Function
cbm_type_is_unknown
internal/cbm/lsp/type_rep.c:531
↓ 56 callers
Function
cbm_find_child_by_kind
internal/cbm/helpers.c:342
↓ 56 callers
Function
ts_nstack_push
Push a node onto the stack, growing 2x if needed. */
internal/cbm/extract_node_stack.h:33
↓ 55 callers
Function
ts_nstack_init
Initialize a stack with the given initial capacity, arena-allocated. */
internal/cbm/extract_node_stack.h:26
↓ 55 callers
Function
ts_nstack_pop
Pop a node from the stack. Caller must check s->count > 0. */
internal/cbm/extract_node_stack.h:50
↓ 53 callers
Function
cbm_gbuf_find_by_qn
src/graph_buffer/graph_buffer.c:765
↓ 51 callers
Function
cbm_store_open_path
src/store/store.c:663
↓ 51 callers
Function
tf_red
tests/test_framework.h:46
↓ 50 callers
Function
bind_text
src/store/store.c:95
↓ 50 callers
Function
cbm_type_builtin
internal/cbm/lsp/type_rep.c:118
↓ 50 callers
Function
safe_str_free
Safe const string free: frees a const char* and NULLs it. * Casts away const so callers don't repeat the (void *) dance. */
src/foundation/platform.h:46
↓ 49 callers
Function
th_rmtree
Remove a file or directory tree recursively. Cross-platform rm -rf. */
tests/test_helpers.h:91
↓ 48 callers
Function
cbm_imports_push
internal/cbm/cbm.c:130
↓ 47 callers
Function
cbm_scope_bind
internal/cbm/lsp/scope.c:36
↓ 46 callers
Function
safe_realloc
Safe realloc: frees old pointer on failure instead of leaking it. * Returns NULL on allocation failure (old memory is freed). */
src/foundation/platform.h:22
↓ 45 callers
Function
cbm_type_func
internal/cbm/lsp/type_rep.c:68
↓ 44 callers
Function
path_last
Helper: get last path component as local name. Recognizes every separator used across the supported import syntaxes: '/' (Go / TS / JS paths), '.' (J
internal/cbm/extract_imports.c:94
↓ 43 callers
Function
cbm_mkdir_p
src/foundation/compat_fs.c:395
↓ 42 callers
Function
cbm_mcp_handle_tool
src/mcp/mcp.c:5763
↓ 42 callers
Function
cbm_scope_push
internal/cbm/lsp/scope.c:4
↓ 41 callers
Function
cbm_project_name_from_path
src/pipeline/fqn.c:403
↓ 39 callers
Function
cbm_mcp_server_new
src/mcp/mcp.c:863
↓ 39 callers
Function
rh_cleanup
tests/repro/repro_harness.h:107
↓ 39 callers
Function
ts_nstack_push_children
* Push all children of `node` so they POP in forward (source) order — a drop-in * replacement for the common idiom: * for (int i = (int)count -
internal/cbm/extract_node_stack.h:66
↓ 37 callers
Function
cbm_gbuf_upsert_node
src/graph_buffer/graph_buffer.c:639
↓ 37 callers
Function
cbm_mcp_server_free
src/mcp/mcp.c:906
↓ 37 callers
Function
heap_strdup
Duplicate a string onto the heap. */
src/store/store.c:177
↓ 36 callers
Function
cbm_registry_add_func
internal/cbm/lsp/type_registry.c:310
↓ 36 callers
Function
heap_strdup
src/cypher/cypher.c:47
↓ 35 callers
Function
expect
src/cypher/cypher.c:466
↓ 34 callers
Function
cbm_ht_set
src/foundation/hash_table.c:68
↓ 33 callers
Function
cbm_ht_free
src/foundation/hash_table.c:61
↓ 33 callers
Function
cbm_registry_add_type
internal/cbm/lsp/type_registry.c:330
↓ 32 callers
Function
cbm_store_count_edges_by_type
src/store/store.c:1678
↓ 32 callers
Function
cbm_store_free_nodes
src/store/store.c:6079
↓ 32 callers
Function
store_set_error_sqlite
src/store/store.c:148
↓ 31 callers
Function
cbm_type_template
internal/cbm/lsp/type_rep.c:177
↓ 30 callers
Function
cbm_ht_create
src/foundation/hash_table.c:44
↓ 30 callers
Function
cbm_kind_in_set
internal/cbm/helpers.c:448
↓ 30 callers
Function
cbm_pipeline_fqn_compute
src/pipeline/fqn.c:112
↓ 30 callers
Function
cbm_scope_lookup
internal/cbm/lsp/scope.c:60
↓ 29 callers
Function
cbm_fopen
src/foundation/compat_fs.c:379
↓ 29 callers
Function
php_node_text
internal/cbm/lsp/php_lsp.c:66
↓ 29 callers
Function
rh_index_files
Write each fixture file into a fresh temp project, index it via the MCP * production flow, and open the resulting graph DB. Returns store (NULL on fa
tests/repro/repro_harness.h:78
↓ 28 callers
Function
cbm_registry_init
internal/cbm/lsp/type_registry.c:305
↓ 28 callers
Function
cn
(...inputs: ClassValue[])
graph-ui/src/lib/utils.ts:4
↓ 27 callers
Function
cbm_json_escape
src/foundation/str_util.c:296
↓ 27 callers
Function
cbm_registry_lookup_func
internal/cbm/lsp/type_registry.c:479
↓ 27 callers
Function
cbm_setenv
src/foundation/compat.h:124
↓ 27 callers
Function
cbm_store_upsert_project
src/store/store.c:1098
↓ 27 callers
Function
cbm_tmpdir
── Temp directory helper ───────────────────────────────────── */
src/foundation/compat.h:146
↓ 26 callers
Function
cbm_ht_foreach
src/foundation/hash_table.c:126
↓ 26 callers
Function
cbm_store_upsert_node
src/store/store.c:1188
↓ 26 callers
Function
match
src/cypher/cypher.c:458
↓ 25 callers
Function
advance
src/cypher/cypher.c:447
↓ 25 callers
Function
check
src/cypher/cypher.c:454
↓ 25 callers
Function
kt_node_text
internal/cbm/lsp/kotlin_lsp.c:108
↓ 24 callers
Function
cbm_registry_lookup_method
internal/cbm/lsp/type_registry.c:390
↓ 24 callers
Function
cbm_store_count_nodes
src/store/store.c:1421
↓ 24 callers
Function
inv_rx
tests/repro/repro_invariant_lib.h:23
↓ 24 callers
Function
prepare_cached
Prepare a statement (cached). If already prepared, reset+clear. */
src/store/store.c:190
↓ 24 callers
Function
yy_doc_to_str
Write yyjson_mut_doc to heap-allocated JSON string. * ALLOW_INVALID_UNICODE: some database strings may contain non-UTF-8 bytes * from older indexing
src/mcp/mcp.c:115
↓ 23 callers
Function
cbm_arena_destroy
internal/cbm/arena.c:102
↓ 23 callers
Function
cbm_arena_init
internal/cbm/arena.c:7
↓ 23 callers
Function
cbm_fqn_compute
internal/cbm/helpers.c:1224
↓ 23 callers
Function
cbm_store_open_memory
src/store/store.c:659
↓ 22 callers
Function
cbm_clock_gettime
src/foundation/compat.c:117
↓ 22 callers
Function
cbm_defs_push
internal/cbm/cbm.c:120
↓ 22 callers
Function
cbm_mcp_text_result
src/mcp/mcp.c:248
↓ 22 callers
Function
cbm_store_free_edges
src/store/store.c:6089
↓ 22 callers
Function
cbm_unlink
src/foundation/compat_fs.c:426
↓ 22 callers
Function
inv_count_bad_ranges
INV(line-ranges): start_line >= 1 and start_line <= end_line for every def. * Returns count of defs with an invalid range. */
tests/repro/repro_invariant_lib.h:91
↓ 22 callers
Function
inv_extract_clean
INV(extract-clean): extraction returns non-NULL and does not set has_error on * valid input (a parser crash/abort would not return at all → subproces
tests/repro/repro_invariant_lib.h:30
↓ 22 callers
Function
strip_quotes
Helper: strip quotes from a string literal
internal/cbm/extract_imports.c:77
↓ 21 callers
Function
cbm_normalize_path_sep
src/foundation/platform.c:145
↓ 21 callers
Function
cbm_safe_getenv
src/foundation/platform.c:306
↓ 21 callers
Function
cbm_unsetenv
src/foundation/compat.h:128
↓ 21 callers
Function
find_first_descendant_of
Find the first descendant node of `type` (DFS, pre-order). Returns true and writes *out on the first match. Shared by the Dart/Zig import parsers, who
internal/cbm/extract_imports.c:1002
↓ 21 callers
Function
inv_count_bad_fqns
INV(fqn-wellformed) over a whole result. Returns count of malformed QNs. */
tests/repro/repro_invariant_lib.h:81
↓ 21 callers
Function
inv_count_bad_labels
INV(labels-valid): every extracted def carries a label from the known set. * Returns the count of defs with an INVALID/empty label (0 = pass). */
tests/repro/repro_invariant_lib.h:56
↓ 21 callers
Function
java_node_text
internal/cbm/lsp/java_lsp.c:192
↓ 20 callers
Function
cbm_gbuf_find_edges_by_source_type
src/graph_buffer/graph_buffer.c:1077
↓ 20 callers
Function
cbm_store_find_nodes_by_label
src/store/store.c:1403
↓ 20 callers
Function
cbm_type_pointer
internal/cbm/lsp/type_rep.c:26
↓ 20 callers
Function
cbm_type_slice
internal/cbm/lsp/type_rep.c:36
next →
1–100 of 4,316, ranked by callers