Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/DeusData/codebase-memory-mcp
/ functions
Functions
8,232 in github.com/DeusData/codebase-memory-mcp
⨍
Functions
8,232
◇
Types & classes
405
↓ 273 callers
Function
cbm_node_text
internal/cbm/helpers.c:52
↓ 237 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:209
↓ 142 callers
Function
cbm_mutex_lock
src/foundation/compat_thread.c:205
↓ 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:1601
↓ 114 callers
Function
cbm_fopen
src/foundation/compat_fs.c:419
↓ 113 callers
Function
cbm_store_close
src/store/store.c:1026
↓ 90 callers
Function
cbm_mkdtemp
src/foundation/compat.c:116
↓ 89 callers
Function
cbm_arena_strndup
internal/cbm/arena.c:68
↓ 85 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:1120
↓ 80 callers
Function
cbm_registry_lookup_type
internal/cbm/lsp/type_registry.c:487
↓ 77 callers
Function
cbm_find_child_by_kind
internal/cbm/helpers.c:342
↓ 75 callers
Function
cbm_unlink
src/foundation/compat_fs.c:561
↓ 67 callers
Function
th_rmtree
Remove a file or directory tree recursively. Cross-platform rm -rf. */
tests/test_helpers.h:113
↓ 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
↓ 61 callers
Function
cbm_store_open_path
src/store/store.c:759
↓ 60 callers
Function
cbm_gbuf_insert_edge
src/graph_buffer/graph_buffer.c:1032
↓ 60 callers
Function
cbm_safe_getenv
src/foundation/platform.c:371
↓ 60 callers
Function
cbm_setenv
src/foundation/compat.h:135
↓ 60 callers
Function
tf_reset
tests/test_framework.h:52
↓ 57 callers
Function
rh_cleanup
tests/repro/repro_harness.h:132
↓ 56 callers
Function
cbm_type_builtin
internal/cbm/lsp/type_rep.c:153
↓ 56 callers
Function
store_set_error_sqlite
src/store/store.c:157
↓ 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
cbm_store_free_nodes
src/store/store.c:8108
↓ 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
↓ 54 callers
Function
cbm_tmpdir
── Temp directory helper ───────────────────────────────────── */
src/foundation/compat.h:204
↓ 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
↓ 53 callers
Function
tf_red
tests/test_framework.h:46
↓ 52 callers
Function
cbm_mcp_handle_tool
src/mcp/mcp.c:11052
↓ 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:765
↓ 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:1585
↓ 46 callers
Function
cbm_mcp_server_free
src/mcp/mcp.c:1741
↓ 45 callers
Function
cbm_ht_set
src/foundation/hash_table.c:68
↓ 45 callers
Function
cbm_store_free_edges
src/store/store.c:8118
↓ 43 callers
Function
cbm_store_upsert_project
src/store/store.c:1499
↓ 43 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
↓ 41 callers
Function
cbm_arena_destroy
internal/cbm/arena.c:102
↓ 41 callers
Function
cbm_ht_free
src/foundation/hash_table.c:61
↓ 41 callers
Function
cbm_registry_lookup_func
internal/cbm/lsp/type_registry.c:531
↓ 41 callers
Function
heap_strdup
Duplicate a string onto the heap. */
src/store/store.c:186
↓ 40 callers
Function
cbm_gbuf_upsert_node
src/graph_buffer/graph_buffer.c:639
↓ 40 callers
Function
cbm_registry_add_func
internal/cbm/lsp/type_registry.c:362
↓ 40 callers
Function
cbm_scope_push
internal/cbm/lsp/scope.c:4
↓ 39 callers
Function
cbm_arena_init
internal/cbm/arena.c:7
↓ 39 callers
Function
cbm_ht_create
src/foundation/hash_table.c:44
↓ 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
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:126
↓ 38 callers
Function
cbm_thread_join
src/foundation/compat_thread.c:146
↓ 38 callers
Function
th_write_file
Write content to a file, creating parent directories as needed. */
tests/test_helpers.h:45
↓ 37 callers
Function
cbm_kind_in_set
internal/cbm/helpers.c:448
↓ 37 callers
Function
cbm_store_find_node_by_id
src/store/store.c:1726
↓ 37 callers
Function
cbm_utf8_to_wide
src/foundation/win_utf8.h:13
↓ 37 callers
Function
heap_strdup
src/cypher/cypher.c:49
↓ 36 callers
Function
cbm_registry_add_type
internal/cbm/lsp/type_registry.c:382
↓ 36 callers
Function
cbm_store_upsert_node
src/store/store.c:1680
↓ 36 callers
Function
expect
src/cypher/cypher.c:491
↓ 36 callers
Function
record_agent_config_error
src/cli/cli.c:7163
↓ 35 callers
Function
cbm_path_to_wide
src/foundation/win_utf8.h:120
↓ 34 callers
Function
cbm_store_count_edges_by_type
src/store/store.c:2289
↓ 33 callers
Function
cbm_scope_lookup
internal/cbm/lsp/scope.c:91
↓ 32 callers
Function
cbm_closedir
src/foundation/compat_fs.c:160
↓ 32 callers
Function
cbm_opendir
src/foundation/compat_fs.c:43
↓ 32 callers
Function
cbm_readdir
src/foundation/compat_fs.c:86
↓ 32 callers
Function
cbm_registry_init
internal/cbm/lsp/type_registry.c:357
↓ 31 callers
Function
cbm_store_find_edges_by_type
src/store/store.c:2261
↓ 31 callers
Function
cbm_type_template
internal/cbm/lsp/type_rep.c:212
↓ 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:144
↓ 29 callers
Function
cbm_ht_foreach
src/foundation/hash_table.c:126
↓ 29 callers
Function
cbm_mcp_text_result
src/mcp/mcp.c:277
↓ 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_store_open_memory
src/store/store.c:755
↓ 28 callers
Function
cn
(...inputs: ClassValue[])
graph-ui/src/lib/utils.ts:4
↓ 28 callers
Function
match
src/cypher/cypher.c:483
↓ 27 callers
Function
cbm_clock_gettime
src/foundation/compat.c:265
↓ 27 callers
Function
cbm_daemon_ipc_endpoint_free
src/daemon/ipc.c:920
↓ 27 callers
Function
cbm_resolve_cache_dir
src/foundation/platform.c:517
↓ 27 callers
Function
cbm_rmdir
src/foundation/compat_fs.c:571
↓ 27 callers
Function
cbm_store_count_nodes
src/store/store.c:1950
next →
1–100 of 8,232, ranked by callers