MCPcopy Create free account

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

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

↓ 273 callersFunctioncbm_node_text
internal/cbm/helpers.c:52
↓ 237 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:209
↓ 142 callersFunctioncbm_mutex_lock
src/foundation/compat_thread.c:205
↓ 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:1601
↓ 114 callersFunctioncbm_fopen
src/foundation/compat_fs.c:419
↓ 113 callersFunctioncbm_store_close
src/store/store.c:1026
↓ 90 callersFunctioncbm_mkdtemp
src/foundation/compat.c:116
↓ 89 callersFunctioncbm_arena_strndup
internal/cbm/arena.c:68
↓ 85 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:1120
↓ 80 callersFunctioncbm_registry_lookup_type
internal/cbm/lsp/type_registry.c:487
↓ 77 callersFunctioncbm_find_child_by_kind
internal/cbm/helpers.c:342
↓ 75 callersFunctioncbm_unlink
src/foundation/compat_fs.c:561
↓ 67 callersFunctionth_rmtree
Remove a file or directory tree recursively. Cross-platform rm -rf. */
tests/test_helpers.h:113
↓ 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
↓ 61 callersFunctioncbm_store_open_path
src/store/store.c:759
↓ 60 callersFunctioncbm_gbuf_insert_edge
src/graph_buffer/graph_buffer.c:1032
↓ 60 callersFunctioncbm_safe_getenv
src/foundation/platform.c:371
↓ 60 callersFunctioncbm_setenv
src/foundation/compat.h:135
↓ 60 callersFunctiontf_reset
tests/test_framework.h:52
↓ 57 callersFunctionrh_cleanup
tests/repro/repro_harness.h:132
↓ 56 callersFunctioncbm_type_builtin
internal/cbm/lsp/type_rep.c:153
↓ 56 callersFunctionstore_set_error_sqlite
src/store/store.c:157
↓ 56 callersFunctionts_nstack_push
Push a node onto the stack, growing 2x if needed. */
internal/cbm/extract_node_stack.h:33
↓ 55 callersFunctioncbm_store_free_nodes
src/store/store.c:8108
↓ 55 callersFunctionts_nstack_init
Initialize a stack with the given initial capacity, arena-allocated. */
internal/cbm/extract_node_stack.h:26
↓ 55 callersFunctionts_nstack_pop
Pop a node from the stack. Caller must check s->count > 0. */
internal/cbm/extract_node_stack.h:50
↓ 54 callersFunctioncbm_tmpdir
── Temp directory helper ───────────────────────────────────── */
src/foundation/compat.h:204
↓ 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
↓ 53 callersFunctiontf_red
tests/test_framework.h:46
↓ 52 callersFunctioncbm_mcp_handle_tool
src/mcp/mcp.c:11052
↓ 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:765
↓ 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:1585
↓ 46 callersFunctioncbm_mcp_server_free
src/mcp/mcp.c:1741
↓ 45 callersFunctioncbm_ht_set
src/foundation/hash_table.c:68
↓ 45 callersFunctioncbm_store_free_edges
src/store/store.c:8118
↓ 43 callersFunctioncbm_store_upsert_project
src/store/store.c:1499
↓ 43 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
↓ 41 callersFunctioncbm_arena_destroy
internal/cbm/arena.c:102
↓ 41 callersFunctioncbm_ht_free
src/foundation/hash_table.c:61
↓ 41 callersFunctioncbm_registry_lookup_func
internal/cbm/lsp/type_registry.c:531
↓ 41 callersFunctionheap_strdup
Duplicate a string onto the heap. */
src/store/store.c:186
↓ 40 callersFunctioncbm_gbuf_upsert_node
src/graph_buffer/graph_buffer.c:639
↓ 40 callersFunctioncbm_registry_add_func
internal/cbm/lsp/type_registry.c:362
↓ 40 callersFunctioncbm_scope_push
internal/cbm/lsp/scope.c:4
↓ 39 callersFunctioncbm_arena_init
internal/cbm/arena.c:7
↓ 39 callersFunctioncbm_ht_create
src/foundation/hash_table.c:44
↓ 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 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:126
↓ 38 callersFunctioncbm_thread_join
src/foundation/compat_thread.c:146
↓ 38 callersFunctionth_write_file
Write content to a file, creating parent directories as needed. */
tests/test_helpers.h:45
↓ 37 callersFunctioncbm_kind_in_set
internal/cbm/helpers.c:448
↓ 37 callersFunctioncbm_store_find_node_by_id
src/store/store.c:1726
↓ 37 callersFunctioncbm_utf8_to_wide
src/foundation/win_utf8.h:13
↓ 37 callersFunctionheap_strdup
src/cypher/cypher.c:49
↓ 36 callersFunctioncbm_registry_add_type
internal/cbm/lsp/type_registry.c:382
↓ 36 callersFunctioncbm_store_upsert_node
src/store/store.c:1680
↓ 36 callersFunctionexpect
src/cypher/cypher.c:491
↓ 36 callersFunctionrecord_agent_config_error
src/cli/cli.c:7163
↓ 35 callersFunctioncbm_path_to_wide
src/foundation/win_utf8.h:120
↓ 34 callersFunctioncbm_store_count_edges_by_type
src/store/store.c:2289
↓ 33 callersFunctioncbm_scope_lookup
internal/cbm/lsp/scope.c:91
↓ 32 callersFunctioncbm_closedir
src/foundation/compat_fs.c:160
↓ 32 callersFunctioncbm_opendir
src/foundation/compat_fs.c:43
↓ 32 callersFunctioncbm_readdir
src/foundation/compat_fs.c:86
↓ 32 callersFunctioncbm_registry_init
internal/cbm/lsp/type_registry.c:357
↓ 31 callersFunctioncbm_store_find_edges_by_type
src/store/store.c:2261
↓ 31 callersFunctioncbm_type_template
internal/cbm/lsp/type_rep.c:212
↓ 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:144
↓ 29 callersFunctioncbm_ht_foreach
src/foundation/hash_table.c:126
↓ 29 callersFunctioncbm_mcp_text_result
src/mcp/mcp.c:277
↓ 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_store_open_memory
src/store/store.c:755
↓ 28 callersFunctioncn
(...inputs: ClassValue[])
graph-ui/src/lib/utils.ts:4
↓ 28 callersFunctionmatch
src/cypher/cypher.c:483
↓ 27 callersFunctioncbm_clock_gettime
src/foundation/compat.c:265
↓ 27 callersFunctioncbm_daemon_ipc_endpoint_free
src/daemon/ipc.c:920
↓ 27 callersFunctioncbm_resolve_cache_dir
src/foundation/platform.c:517
↓ 27 callersFunctioncbm_rmdir
src/foundation/compat_fs.c:571
↓ 27 callersFunctioncbm_store_count_nodes
src/store/store.c:1950
next →1–100 of 8,232, ranked by callers