Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/DeusData/codebase-memory-mcp
/ functions
Functions
8,413 in github.com/DeusData/codebase-memory-mcp
⨍
Functions
8,413
◇
Types & classes
412
↓ 274 callers
Function
cbm_node_text
internal/cbm/helpers.c:52
↓ 241 callers
Function
cbm_arena_alloc
internal/cbm/arena.c:35
↓ 161 callers
Function
cbm_arena_sprintf
internal/cbm/arena.c:79
↓ 155 callers
Function
cbm_type_unknown
internal/cbm/lsp/type_rep.c:12
↓ 143 callers
Function
cbm_mutex_unlock
src/foundation/compat_thread.c:210
↓ 142 callers
Function
cbm_mutex_lock
src/foundation/compat_thread.c:206
↓ 139 callers
Function
cbm_arena_strdup
internal/cbm/arena.c:57
↓ 134 callers
Function
cbm_now_ms
src/foundation/platform.c:144
↓ 120 callers
Function
cbm_free_result
internal/cbm/cbm.c:1637
↓ 118 callers
Function
cbm_fopen
src/foundation/compat_fs.c:419
↓ 116 callers
Function
cbm_store_close
src/store/store.c:1128
↓ 95 callers
Function
cbm_mkdtemp
src/foundation/compat.c:117
↓ 89 callers
Function
cbm_arena_strndup
internal/cbm/arena.c:68
↓ 86 callers
Function
cbm_ht_get
src/foundation/hash_table.c:84
↓ 85 callers
Function
cbm_type_named
internal/cbm/lsp/type_rep.c:16
↓ 81 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:1156
↓ 80 callers
Function
cbm_registry_lookup_type
internal/cbm/lsp/type_registry.c:564
↓ 78 callers
Function
cbm_find_child_by_kind
internal/cbm/helpers.c:355
↓ 77 callers
Function
cbm_unlink
src/foundation/compat_fs.c:561
↓ 69 callers
Function
th_rmtree
Remove a file or directory tree recursively. Cross-platform rm -rf. */
tests/test_helpers.h:113
↓ 64 callers
Function
cbm_store_open_path
src/store/store.c:760
↓ 63 callers
Function
cbm_mkdir_p
src/foundation/compat_fs.c:497
↓ 63 callers
Function
cbm_type_is_unknown
internal/cbm/lsp/type_rep.c:566
↓ 62 callers
Function
bind_text
src/store/store.c:104
↓ 62 callers
Function
cbm_setenv
src/foundation/compat.h:135
↓ 61 callers
Function
cbm_safe_getenv
src/foundation/platform.c:371
↓ 60 callers
Function
cbm_gbuf_insert_edge
src/graph_buffer/graph_buffer.c:1083
↓ 60 callers
Function
tf_reset
tests/test_framework.h:52
↓ 58 callers
Function
cbm_tmpdir
── Temp directory helper ───────────────────────────────────── */
src/foundation/compat.h:204
↓ 57 callers
Function
rh_cleanup
tests/repro/repro_harness.h:132
↓ 56 callers
Function
cbm_store_free_nodes
src/store/store.c:8319
↓ 56 callers
Function
cbm_type_builtin
internal/cbm/lsp/type_rep.c:153
↓ 56 callers
Function
store_set_error_sqlite
src/store/store.c:158
↓ 55 callers
Function
ts_nstack_push
Push a node onto the stack, growing 2x if needed. */
internal/cbm/extract_node_stack.h:33
↓ 54 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
↓ 54 callers
Function
ts_nstack_init
Initialize a stack with the given initial capacity, arena-allocated. */
internal/cbm/extract_node_stack.h:26
↓ 54 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
tf_red
tests/test_framework.h:46
↓ 52 callers
Function
cbm_mcp_handle_tool
src/mcp/mcp.c:11433
↓ 52 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
↓ 51 callers
Function
cbm_gbuf_find_by_qn
src/graph_buffer/graph_buffer.c:769
↓ 51 callers
Function
cbm_project_name_from_path
src/pipeline/fqn.c:416
↓ 51 callers
Function
cbm_type_func
internal/cbm/lsp/type_rep.c:68
↓ 50 callers
Function
cbm_scope_bind
internal/cbm/lsp/scope.c:73
↓ 48 callers
Function
cbm_imports_push
internal/cbm/cbm.c:131
↓ 47 callers
Function
cbm_mcp_server_new
src/mcp/mcp.c:1595
↓ 46 callers
Function
cbm_ht_set
src/foundation/hash_table.c:68
↓ 46 callers
Function
cbm_mcp_server_free
src/mcp/mcp.c:1751
↓ 45 callers
Function
cbm_store_free_edges
src/store/store.c:8329
↓ 44 callers
Function
cbm_store_upsert_project
src/store/store.c:1602
↓ 44 callers
Function
cbm_unsetenv
src/foundation/compat.h:167
↓ 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_destroy
internal/cbm/arena.c:102
↓ 42 callers
Function
cbm_ht_free
src/foundation/hash_table.c:61
↓ 41 callers
Function
cbm_gbuf_upsert_node
src/graph_buffer/graph_buffer.c:643
↓ 41 callers
Function
cbm_registry_lookup_func
internal/cbm/lsp/type_registry.c:608
↓ 41 callers
Function
heap_strdup
Duplicate a string onto the heap. */
src/store/store.c:187
↓ 40 callers
Function
cbm_arena_init
internal/cbm/arena.c:7
↓ 40 callers
Function
cbm_ht_create
src/foundation/hash_table.c:44
↓ 40 callers
Function
cbm_registry_add_func
internal/cbm/lsp/type_registry.c:439
↓ 40 callers
Function
cbm_scope_push
internal/cbm/lsp/scope.c:4
↓ 39 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
th_write_file
Write content to a file, creating parent directories as needed. */
tests/test_helpers.h:45
↓ 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
↓ 38 callers
Function
cbm_thread_create
src/foundation/compat_thread.c:127
↓ 38 callers
Function
cbm_thread_join
src/foundation/compat_thread.c:147
↓ 37 callers
Function
cbm_store_find_node_by_id
src/store/store.c:1829
↓ 37 callers
Function
cbm_utf8_to_wide
src/foundation/win_utf8.h:13
↓ 37 callers
Function
heap_strdup
src/cypher/cypher.c:50
↓ 36 callers
Function
cbm_kind_in_set
internal/cbm/helpers.c:461
↓ 36 callers
Function
cbm_registry_add_type
internal/cbm/lsp/type_registry.c:459
↓ 36 callers
Function
cbm_store_upsert_node
src/store/store.c:1783
↓ 36 callers
Function
expect
src/cypher/cypher.c:492
↓ 36 callers
Function
record_agent_config_error
src/cli/cli.c:7524
↓ 35 callers
Function
cbm_path_to_wide
src/foundation/win_utf8.h:120
↓ 34 callers
Function
cbm_closedir
src/foundation/compat_fs.c:160
↓ 34 callers
Function
cbm_opendir
src/foundation/compat_fs.c:43
↓ 34 callers
Function
cbm_registry_init
internal/cbm/lsp/type_registry.c:434
↓ 34 callers
Function
cbm_store_count_edges_by_type
src/store/store.c:2407
↓ 33 callers
Function
cbm_readdir
src/foundation/compat_fs.c:86
↓ 33 callers
Function
cbm_scope_lookup
internal/cbm/lsp/scope.c:91
↓ 31 callers
Function
cbm_store_find_edges_by_type
src/store/store.c:2379
↓ 31 callers
Function
cbm_type_template
internal/cbm/lsp/type_rep.c:212
↓ 30 callers
Function
cbm_clock_gettime
src/foundation/compat.c:294
↓ 30 callers
Function
cbm_ht_foreach
src/foundation/hash_table.c:126
↓ 30 callers
Function
cbm_mcp_text_result
src/mcp/mcp.c:278
↓ 30 callers
Function
cbm_pipeline_fqn_compute
src/pipeline/fqn.c:113
↓ 30 callers
Function
cbm_resolvedcall_push
internal/cbm/cbm.c:181
↓ 30 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:145
↓ 29 callers
Function
cbm_normalize_path_sep
src/foundation/platform.c:191
↓ 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
↓ 28 callers
Function
cbm_json_escape
src/foundation/str_util.c:313
↓ 28 callers
Function
cbm_rmdir
src/foundation/compat_fs.c:571
↓ 28 callers
Function
cbm_store_count_nodes
src/store/store.c:2068
↓ 28 callers
Function
cbm_store_open_memory
src/store/store.c:756
↓ 28 callers
Function
cn
(...inputs: ClassValue[])
graph-ui/src/lib/utils.ts:4
↓ 28 callers
Function
match
src/cypher/cypher.c:484
↓ 27 callers
Function
cbm_daemon_ipc_endpoint_free
src/daemon/ipc.c:927
↓ 27 callers
Function
cbm_file_exists
src/foundation/platform.c:154
next →
1–100 of 8,413, ranked by callers