Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/DeusData/codebase-memory-mcp
/ functions
Functions
9,392 in github.com/DeusData/codebase-memory-mcp
⨍
Functions
9,392
◇
Types & classes
439
↓ 291 callers
Function
cbm_node_text
internal/cbm/helpers.c:56
↓ 247 callers
Function
cbm_arena_alloc
internal/cbm/arena.c:35
↓ 165 callers
Function
cbm_arena_sprintf
internal/cbm/arena.c:79
↓ 155 callers
Function
cbm_type_unknown
internal/cbm/lsp/type_rep.c:12
↓ 149 callers
Function
cbm_mutex_unlock
src/foundation/compat_thread.c:210
↓ 148 callers
Function
cbm_mutex_lock
src/foundation/compat_thread.c:206
↓ 145 callers
Function
cbm_now_ms
src/foundation/platform.c:146
↓ 142 callers
Function
cbm_arena_strdup
internal/cbm/arena.c:57
↓ 131 callers
Function
cbm_fopen
src/foundation/compat_fs.c:424
↓ 130 callers
Function
cbm_store_close
src/store/store.c:1253
↓ 129 callers
Function
cbm_free_result
internal/cbm/cbm.c:2346
↓ 100 callers
Function
cbm_mkdtemp
src/foundation/compat.c:131
↓ 94 callers
Function
cbm_arena_strndup
internal/cbm/arena.c:68
↓ 87 callers
Function
cbm_ht_get
src/foundation/hash_table.c:104
↓ 86 callers
Function
cbm_type_named
internal/cbm/lsp/type_rep.c:16
↓ 83 callers
Function
cbm_find_child_by_kind
internal/cbm/helpers.c:457
↓ 82 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:1616
↓ 80 callers
Function
cbm_registry_lookup_type
internal/cbm/lsp/type_registry.c:838
↓ 80 callers
Function
cbm_unlink
src/foundation/compat_fs.c:573
↓ 76 callers
Function
cbm_setenv
src/foundation/compat.h:149
↓ 75 callers
Function
cbm_store_open_path
src/store/store.c:885
↓ 75 callers
Function
th_rmtree
Remove a file or directory tree recursively. Cross-platform rm -rf. */
tests/test_helpers.h:113
↓ 68 callers
Function
cbm_safe_getenv
src/foundation/platform.c:373
↓ 66 callers
Function
cbm_free
src/foundation/mem_core.c:276
↓ 65 callers
Function
bind_text
src/store/store.c:108
↓ 65 callers
Function
store_set_error_sqlite
src/store/store.c:162
↓ 63 callers
Function
cbm_gbuf_insert_edge
src/graph_buffer/graph_buffer.c:1306
↓ 63 callers
Function
cbm_type_is_unknown
internal/cbm/lsp/type_rep.c:566
↓ 63 callers
Function
tf_reset
tests/test_framework.h:52
↓ 61 callers
Function
cbm_store_free_nodes
src/store/store.c:9852
↓ 60 callers
Function
cbm_tmpdir
── Temp directory helper ───────────────────────────────────── */
src/foundation/compat.h:218
↓ 59 callers
Function
rh_cleanup
tests/repro/repro_harness.h:132
↓ 57 callers
Function
cbm_mcp_handle_tool
src/mcp/mcp.c:17367
↓ 56 callers
Function
cbm_type_builtin
internal/cbm/lsp/type_rep.c:153
↓ 56 callers
Function
tf_red
tests/test_framework.h:46
↓ 55 callers
Function
cbm_project_name_from_path
src/pipeline/fqn.c:415
↓ 55 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
↓ 55 callers
Function
ts_nstack_push
Push a node onto the stack, growing 2x if needed. */
internal/cbm/extract_node_stack.h:52
↓ 54 callers
Function
cbm_gbuf_find_by_qn
src/graph_buffer/graph_buffer.c:978
↓ 54 callers
Function
cbm_unsetenv
src/foundation/compat.h:181
↓ 54 callers
Function
ts_nstack_init
Initialize a stack with the given initial capacity, allocated from the * context's traversal scratch. Taking the context rather than an arena is * d
internal/cbm/extract_node_stack.h:43
↓ 54 callers
Function
ts_nstack_pop
Pop a node from the stack. Caller must check s->count > 0. */
internal/cbm/extract_node_stack.h:69
↓ 52 callers
Function
cbm_type_func
internal/cbm/lsp/type_rep.c:68
↓ 51 callers
Function
cbm_mcp_server_new
src/mcp/mcp.c:1697
↓ 50 callers
Function
cbm_scope_bind
internal/cbm/lsp/scope.c:73
↓ 50 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
↓ 49 callers
Function
cbm_arena_destroy
internal/cbm/arena.c:102
↓ 49 callers
Function
cbm_mcp_server_free
src/mcp/mcp.c:1864
↓ 49 callers
Function
cbm_store_upsert_project
src/store/store.c:2389
↓ 48 callers
Function
cbm_imports_push
internal/cbm/cbm.c:137
↓ 47 callers
Function
cbm_ht_set
src/foundation/hash_table.c:88
↓ 47 callers
Function
cbm_mkdir_p
src/foundation/compat_fs.c:502
↓ 47 callers
Function
cbm_store_free_edges
src/store/store.c:9862
↓ 45 callers
Function
cbm_ht_free
src/foundation/hash_table.c:80
↓ 44 callers
Function
cbm_gbuf_upsert_node
src/graph_buffer/graph_buffer.c:839
↓ 44 callers
Function
th_write_file
Write content to a file, creating parent directories as needed. */
tests/test_helpers.h:45
↓ 43 callers
Function
cbm_closedir
src/foundation/compat_fs.c:165
↓ 43 callers
Function
cbm_opendir
src/foundation/compat_fs.c:45
↓ 43 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
↓ 42 callers
Function
cbm_arena_init
internal/cbm/arena.c:7
↓ 42 callers
Function
cbm_readdir
src/foundation/compat_fs.c:88
↓ 42 callers
Function
cbm_registry_lookup_func
internal/cbm/lsp/type_registry.c:882
↓ 42 callers
Function
cbm_store_upsert_node
src/store/store.c:2565
↓ 42 callers
Function
heap_strdup
Duplicate a string onto the heap. */
src/store/store.c:191
↓ 41 callers
Function
cbm_registry_add_func
internal/cbm/lsp/type_registry.c:713
↓ 41 callers
Function
record_agent_config_error
src/cli/cli.c:8298
↓ 40 callers
Function
cbm_ht_create
src/foundation/hash_table.c:59
↓ 40 callers
Function
cbm_scope_push
internal/cbm/lsp/scope.c:4
↓ 40 callers
Function
cbm_thread_create
src/foundation/compat_thread.c:127
↓ 40 callers
Function
cbm_thread_join
src/foundation/compat_thread.c:147
↓ 40 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:97
↓ 39 callers
Function
expect
src/cypher/cypher.c:497
↓ 39 callers
Function
heap_strdup
src/cypher/cypher.c:55
↓ 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:85
↓ 38 callers
Function
cbm_store_find_node_by_id
src/store/store.c:2611
↓ 38 callers
Function
cbm_utf8_to_wide
src/foundation/win_utf8.h:13
↓ 38 callers
Function
yy_doc_to_str
Tool payloads are the first encoding boundary. */
src/mcp/mcp.c:214
↓ 37 callers
Function
cbm_path_to_wide
src/foundation/win_utf8.h:120
↓ 37 callers
Function
cbm_registry_add_type
internal/cbm/lsp/type_registry.c:733
↓ 36 callers
Function
cbm_kind_in_set
internal/cbm/helpers.c:575
↓ 35 callers
Function
cbm_registry_init
internal/cbm/lsp/type_registry.c:708
↓ 35 callers
Function
cbm_store_count_edges_by_type
src/store/store.c:3416
↓ 35 callers
Function
heap_strdup
src/mcp/mcp.c:145
↓ 34 callers
Function
cbm_normalize_path_sep
src/foundation/platform.c:193
↓ 33 callers
Function
cbm_scope_lookup
internal/cbm/lsp/scope.c:91
↓ 32 callers
Function
cbm_mcp_text_result
src/mcp/mcp.c:360
↓ 32 callers
Function
cbm_store_find_edges_by_type
src/store/store.c:3388
↓ 31 callers
Function
cbm_type_template
internal/cbm/lsp/type_rep.c:212
↓ 30 callers
Function
cbm_calloc
src/foundation/mem_core.c:217
↓ 30 callers
Function
cbm_clock_gettime
src/foundation/compat.c:308
↓ 30 callers
Function
cbm_ht_foreach
src/foundation/hash_table.c:146
↓ 30 callers
Function
cbm_pipeline_fqn_compute
src/pipeline/fqn.c:113
↓ 30 callers
Function
cbm_resolvedcall_push
internal/cbm/cbm.c:187
↓ 30 callers
Function
cbm_store_find_nodes_by_label
src/store/store.c:2822
↓ 29 callers
Function
cbm_daemon_ipc_endpoint_free
src/daemon/ipc.c:995
↓ 29 callers
Function
cbm_json_escape
src/foundation/str_util.c:313
↓ 29 callers
Function
cbm_resolve_cache_dir
src/foundation/platform.c:600
↓ 29 callers
Function
cbm_store_open_memory
src/store/store.c:881
↓ 29 callers
Function
kt_node_text
internal/cbm/lsp/kotlin_lsp.c:125
↓ 29 callers
Function
php_node_text
internal/cbm/lsp/php_lsp.c:66
next →
1–100 of 9,392, ranked by callers