MCPcopy Create free account

hub / github.com/DeusData/codebase-memory-mcp / functions

Functions8,413 in github.com/DeusData/codebase-memory-mcp

↓ 274 callersFunctioncbm_node_text
internal/cbm/helpers.c:52
↓ 241 callersFunctioncbm_arena_alloc
internal/cbm/arena.c:35
↓ 161 callersFunctioncbm_arena_sprintf
internal/cbm/arena.c:79
↓ 155 callersFunctioncbm_type_unknown
internal/cbm/lsp/type_rep.c:12
↓ 143 callersFunctioncbm_mutex_unlock
src/foundation/compat_thread.c:210
↓ 142 callersFunctioncbm_mutex_lock
src/foundation/compat_thread.c:206
↓ 139 callersFunctioncbm_arena_strdup
internal/cbm/arena.c:57
↓ 134 callersFunctioncbm_now_ms
src/foundation/platform.c:144
↓ 120 callersFunctioncbm_free_result
internal/cbm/cbm.c:1637
↓ 118 callersFunctioncbm_fopen
src/foundation/compat_fs.c:419
↓ 116 callersFunctioncbm_store_close
src/store/store.c:1128
↓ 95 callersFunctioncbm_mkdtemp
src/foundation/compat.c:117
↓ 89 callersFunctioncbm_arena_strndup
internal/cbm/arena.c:68
↓ 86 callersFunctioncbm_ht_get
src/foundation/hash_table.c:84
↓ 85 callersFunctioncbm_type_named
internal/cbm/lsp/type_rep.c:16
↓ 81 callersFunctioncbm_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 callersFunctioncbm_registry_lookup_type
internal/cbm/lsp/type_registry.c:564
↓ 78 callersFunctioncbm_find_child_by_kind
internal/cbm/helpers.c:355
↓ 77 callersFunctioncbm_unlink
src/foundation/compat_fs.c:561
↓ 69 callersFunctionth_rmtree
Remove a file or directory tree recursively. Cross-platform rm -rf. */
tests/test_helpers.h:113
↓ 64 callersFunctioncbm_store_open_path
src/store/store.c:760
↓ 63 callersFunctioncbm_mkdir_p
src/foundation/compat_fs.c:497
↓ 63 callersFunctioncbm_type_is_unknown
internal/cbm/lsp/type_rep.c:566
↓ 62 callersFunctionbind_text
src/store/store.c:104
↓ 62 callersFunctioncbm_setenv
src/foundation/compat.h:135
↓ 61 callersFunctioncbm_safe_getenv
src/foundation/platform.c:371
↓ 60 callersFunctioncbm_gbuf_insert_edge
src/graph_buffer/graph_buffer.c:1083
↓ 60 callersFunctiontf_reset
tests/test_framework.h:52
↓ 58 callersFunctioncbm_tmpdir
── Temp directory helper ───────────────────────────────────── */
src/foundation/compat.h:204
↓ 57 callersFunctionrh_cleanup
tests/repro/repro_harness.h:132
↓ 56 callersFunctioncbm_store_free_nodes
src/store/store.c:8319
↓ 56 callersFunctioncbm_type_builtin
internal/cbm/lsp/type_rep.c:153
↓ 56 callersFunctionstore_set_error_sqlite
src/store/store.c:158
↓ 55 callersFunctionts_nstack_push
Push a node onto the stack, growing 2x if needed. */
internal/cbm/extract_node_stack.h:33
↓ 54 callersFunctionsafe_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 callersFunctionts_nstack_init
Initialize a stack with the given initial capacity, arena-allocated. */
internal/cbm/extract_node_stack.h:26
↓ 54 callersFunctionts_nstack_pop
Pop a node from the stack. Caller must check s->count > 0. */
internal/cbm/extract_node_stack.h:50
↓ 53 callersFunctiontf_red
tests/test_framework.h:46
↓ 52 callersFunctioncbm_mcp_handle_tool
src/mcp/mcp.c:11433
↓ 52 callersFunctionsafe_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 callersFunctioncbm_gbuf_find_by_qn
src/graph_buffer/graph_buffer.c:769
↓ 51 callersFunctioncbm_project_name_from_path
src/pipeline/fqn.c:416
↓ 51 callersFunctioncbm_type_func
internal/cbm/lsp/type_rep.c:68
↓ 50 callersFunctioncbm_scope_bind
internal/cbm/lsp/scope.c:73
↓ 48 callersFunctioncbm_imports_push
internal/cbm/cbm.c:131
↓ 47 callersFunctioncbm_mcp_server_new
src/mcp/mcp.c:1595
↓ 46 callersFunctioncbm_ht_set
src/foundation/hash_table.c:68
↓ 46 callersFunctioncbm_mcp_server_free
src/mcp/mcp.c:1751
↓ 45 callersFunctioncbm_store_free_edges
src/store/store.c:8329
↓ 44 callersFunctioncbm_store_upsert_project
src/store/store.c:1602
↓ 44 callersFunctioncbm_unsetenv
src/foundation/compat.h:167
↓ 43 callersFunctionpath_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 callersFunctioncbm_arena_destroy
internal/cbm/arena.c:102
↓ 42 callersFunctioncbm_ht_free
src/foundation/hash_table.c:61
↓ 41 callersFunctioncbm_gbuf_upsert_node
src/graph_buffer/graph_buffer.c:643
↓ 41 callersFunctioncbm_registry_lookup_func
internal/cbm/lsp/type_registry.c:608
↓ 41 callersFunctionheap_strdup
Duplicate a string onto the heap. */
src/store/store.c:187
↓ 40 callersFunctioncbm_arena_init
internal/cbm/arena.c:7
↓ 40 callersFunctioncbm_ht_create
src/foundation/hash_table.c:44
↓ 40 callersFunctioncbm_registry_add_func
internal/cbm/lsp/type_registry.c:439
↓ 40 callersFunctioncbm_scope_push
internal/cbm/lsp/scope.c:4
↓ 39 callersFunctionrh_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 callersFunctionth_write_file
Write content to a file, creating parent directories as needed. */
tests/test_helpers.h:45
↓ 39 callersFunctionts_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 callersFunctioncbm_thread_create
src/foundation/compat_thread.c:127
↓ 38 callersFunctioncbm_thread_join
src/foundation/compat_thread.c:147
↓ 37 callersFunctioncbm_store_find_node_by_id
src/store/store.c:1829
↓ 37 callersFunctioncbm_utf8_to_wide
src/foundation/win_utf8.h:13
↓ 37 callersFunctionheap_strdup
src/cypher/cypher.c:50
↓ 36 callersFunctioncbm_kind_in_set
internal/cbm/helpers.c:461
↓ 36 callersFunctioncbm_registry_add_type
internal/cbm/lsp/type_registry.c:459
↓ 36 callersFunctioncbm_store_upsert_node
src/store/store.c:1783
↓ 36 callersFunctionexpect
src/cypher/cypher.c:492
↓ 36 callersFunctionrecord_agent_config_error
src/cli/cli.c:7524
↓ 35 callersFunctioncbm_path_to_wide
src/foundation/win_utf8.h:120
↓ 34 callersFunctioncbm_closedir
src/foundation/compat_fs.c:160
↓ 34 callersFunctioncbm_opendir
src/foundation/compat_fs.c:43
↓ 34 callersFunctioncbm_registry_init
internal/cbm/lsp/type_registry.c:434
↓ 34 callersFunctioncbm_store_count_edges_by_type
src/store/store.c:2407
↓ 33 callersFunctioncbm_readdir
src/foundation/compat_fs.c:86
↓ 33 callersFunctioncbm_scope_lookup
internal/cbm/lsp/scope.c:91
↓ 31 callersFunctioncbm_store_find_edges_by_type
src/store/store.c:2379
↓ 31 callersFunctioncbm_type_template
internal/cbm/lsp/type_rep.c:212
↓ 30 callersFunctioncbm_clock_gettime
src/foundation/compat.c:294
↓ 30 callersFunctioncbm_ht_foreach
src/foundation/hash_table.c:126
↓ 30 callersFunctioncbm_mcp_text_result
src/mcp/mcp.c:278
↓ 30 callersFunctioncbm_pipeline_fqn_compute
src/pipeline/fqn.c:113
↓ 30 callersFunctioncbm_resolvedcall_push
internal/cbm/cbm.c:181
↓ 30 callersFunctionyy_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 callersFunctioncbm_normalize_path_sep
src/foundation/platform.c:191
↓ 29 callersFunctionkt_node_text
internal/cbm/lsp/kotlin_lsp.c:125
↓ 29 callersFunctionphp_node_text
internal/cbm/lsp/php_lsp.c:66
↓ 28 callersFunctioncbm_json_escape
src/foundation/str_util.c:313
↓ 28 callersFunctioncbm_rmdir
src/foundation/compat_fs.c:571
↓ 28 callersFunctioncbm_store_count_nodes
src/store/store.c:2068
↓ 28 callersFunctioncbm_store_open_memory
src/store/store.c:756
↓ 28 callersFunctioncn
(...inputs: ClassValue[])
graph-ui/src/lib/utils.ts:4
↓ 28 callersFunctionmatch
src/cypher/cypher.c:484
↓ 27 callersFunctioncbm_daemon_ipc_endpoint_free
src/daemon/ipc.c:927
↓ 27 callersFunctioncbm_file_exists
src/foundation/platform.c:154
next →1–100 of 8,413, ranked by callers