MCPcopy Create free account

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

Functions4,316 in github.com/DeusData/codebase-memory-mcp

↓ 246 callersFunctioncbm_node_text
internal/cbm/helpers.c:52
↓ 213 callersFunctioncbm_arena_alloc
internal/cbm/arena.c:35
↓ 131 callersFunctioncbm_type_unknown
internal/cbm/lsp/type_rep.c:12
↓ 130 callersFunctioncbm_arena_sprintf
internal/cbm/arena.c:79
↓ 119 callersFunctioncbm_arena_strdup
internal/cbm/arena.c:57
↓ 83 callersFunctioncbm_free_result
internal/cbm/cbm.c:1053
↓ 79 callersFunctioncbm_store_close
src/store/store.c:893
↓ 76 callersFunctioncbm_type_named
internal/cbm/lsp/type_rep.c:16
↓ 74 callersFunctioncbm_registry_lookup_type
internal/cbm/lsp/type_registry.c:435
↓ 73 callersFunctioncbm_arena_strndup
internal/cbm/arena.c:68
↓ 68 callersFunctioncbm_ht_get
src/foundation/hash_table.c:84
↓ 60 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:695
↓ 60 callersFunctioncbm_mkdtemp
src/foundation/compat.c:57
↓ 60 callersFunctiontf_reset
tests/test_framework.h:52
↓ 59 callersFunctioncbm_gbuf_insert_edge
src/graph_buffer/graph_buffer.c:1032
↓ 57 callersFunctioncbm_type_is_unknown
internal/cbm/lsp/type_rep.c:531
↓ 56 callersFunctioncbm_find_child_by_kind
internal/cbm/helpers.c:342
↓ 56 callersFunctionts_nstack_push
Push a node onto the stack, growing 2x if needed. */
internal/cbm/extract_node_stack.h:33
↓ 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
↓ 53 callersFunctioncbm_gbuf_find_by_qn
src/graph_buffer/graph_buffer.c:765
↓ 51 callersFunctioncbm_store_open_path
src/store/store.c:663
↓ 51 callersFunctiontf_red
tests/test_framework.h:46
↓ 50 callersFunctionbind_text
src/store/store.c:95
↓ 50 callersFunctioncbm_type_builtin
internal/cbm/lsp/type_rep.c:118
↓ 50 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
↓ 49 callersFunctionth_rmtree
Remove a file or directory tree recursively. Cross-platform rm -rf. */
tests/test_helpers.h:91
↓ 48 callersFunctioncbm_imports_push
internal/cbm/cbm.c:130
↓ 47 callersFunctioncbm_scope_bind
internal/cbm/lsp/scope.c:36
↓ 46 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
↓ 45 callersFunctioncbm_type_func
internal/cbm/lsp/type_rep.c:68
↓ 44 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
↓ 43 callersFunctioncbm_mkdir_p
src/foundation/compat_fs.c:395
↓ 42 callersFunctioncbm_mcp_handle_tool
src/mcp/mcp.c:5763
↓ 42 callersFunctioncbm_scope_push
internal/cbm/lsp/scope.c:4
↓ 41 callersFunctioncbm_project_name_from_path
src/pipeline/fqn.c:403
↓ 39 callersFunctioncbm_mcp_server_new
src/mcp/mcp.c:863
↓ 39 callersFunctionrh_cleanup
tests/repro/repro_harness.h:107
↓ 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
↓ 37 callersFunctioncbm_gbuf_upsert_node
src/graph_buffer/graph_buffer.c:639
↓ 37 callersFunctioncbm_mcp_server_free
src/mcp/mcp.c:906
↓ 37 callersFunctionheap_strdup
Duplicate a string onto the heap. */
src/store/store.c:177
↓ 36 callersFunctioncbm_registry_add_func
internal/cbm/lsp/type_registry.c:310
↓ 36 callersFunctionheap_strdup
src/cypher/cypher.c:47
↓ 35 callersFunctionexpect
src/cypher/cypher.c:466
↓ 34 callersFunctioncbm_ht_set
src/foundation/hash_table.c:68
↓ 33 callersFunctioncbm_ht_free
src/foundation/hash_table.c:61
↓ 33 callersFunctioncbm_registry_add_type
internal/cbm/lsp/type_registry.c:330
↓ 32 callersFunctioncbm_store_count_edges_by_type
src/store/store.c:1678
↓ 32 callersFunctioncbm_store_free_nodes
src/store/store.c:6079
↓ 32 callersFunctionstore_set_error_sqlite
src/store/store.c:148
↓ 31 callersFunctioncbm_type_template
internal/cbm/lsp/type_rep.c:177
↓ 30 callersFunctioncbm_ht_create
src/foundation/hash_table.c:44
↓ 30 callersFunctioncbm_kind_in_set
internal/cbm/helpers.c:448
↓ 30 callersFunctioncbm_pipeline_fqn_compute
src/pipeline/fqn.c:112
↓ 30 callersFunctioncbm_scope_lookup
internal/cbm/lsp/scope.c:60
↓ 29 callersFunctioncbm_fopen
src/foundation/compat_fs.c:379
↓ 29 callersFunctionphp_node_text
internal/cbm/lsp/php_lsp.c:66
↓ 29 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:78
↓ 28 callersFunctioncbm_registry_init
internal/cbm/lsp/type_registry.c:305
↓ 28 callersFunctioncn
(...inputs: ClassValue[])
graph-ui/src/lib/utils.ts:4
↓ 27 callersFunctioncbm_json_escape
src/foundation/str_util.c:296
↓ 27 callersFunctioncbm_registry_lookup_func
internal/cbm/lsp/type_registry.c:479
↓ 27 callersFunctioncbm_setenv
src/foundation/compat.h:124
↓ 27 callersFunctioncbm_store_upsert_project
src/store/store.c:1098
↓ 27 callersFunctioncbm_tmpdir
── Temp directory helper ───────────────────────────────────── */
src/foundation/compat.h:146
↓ 26 callersFunctioncbm_ht_foreach
src/foundation/hash_table.c:126
↓ 26 callersFunctioncbm_store_upsert_node
src/store/store.c:1188
↓ 26 callersFunctionmatch
src/cypher/cypher.c:458
↓ 25 callersFunctionadvance
src/cypher/cypher.c:447
↓ 25 callersFunctioncheck
src/cypher/cypher.c:454
↓ 25 callersFunctionkt_node_text
internal/cbm/lsp/kotlin_lsp.c:108
↓ 24 callersFunctioncbm_registry_lookup_method
internal/cbm/lsp/type_registry.c:390
↓ 24 callersFunctioncbm_store_count_nodes
src/store/store.c:1421
↓ 24 callersFunctioninv_rx
tests/repro/repro_invariant_lib.h:23
↓ 24 callersFunctionprepare_cached
Prepare a statement (cached). If already prepared, reset+clear. */
src/store/store.c:190
↓ 24 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:115
↓ 23 callersFunctioncbm_arena_destroy
internal/cbm/arena.c:102
↓ 23 callersFunctioncbm_arena_init
internal/cbm/arena.c:7
↓ 23 callersFunctioncbm_fqn_compute
internal/cbm/helpers.c:1224
↓ 23 callersFunctioncbm_store_open_memory
src/store/store.c:659
↓ 22 callersFunctioncbm_clock_gettime
src/foundation/compat.c:117
↓ 22 callersFunctioncbm_defs_push
internal/cbm/cbm.c:120
↓ 22 callersFunctioncbm_mcp_text_result
src/mcp/mcp.c:248
↓ 22 callersFunctioncbm_store_free_edges
src/store/store.c:6089
↓ 22 callersFunctioncbm_unlink
src/foundation/compat_fs.c:426
↓ 22 callersFunctioninv_count_bad_ranges
INV(line-ranges): start_line >= 1 and start_line <= end_line for every def. * Returns count of defs with an invalid range. */
tests/repro/repro_invariant_lib.h:91
↓ 22 callersFunctioninv_extract_clean
INV(extract-clean): extraction returns non-NULL and does not set has_error on * valid input (a parser crash/abort would not return at all → subproces
tests/repro/repro_invariant_lib.h:30
↓ 22 callersFunctionstrip_quotes
Helper: strip quotes from a string literal
internal/cbm/extract_imports.c:77
↓ 21 callersFunctioncbm_normalize_path_sep
src/foundation/platform.c:145
↓ 21 callersFunctioncbm_safe_getenv
src/foundation/platform.c:306
↓ 21 callersFunctioncbm_unsetenv
src/foundation/compat.h:128
↓ 21 callersFunctionfind_first_descendant_of
Find the first descendant node of `type` (DFS, pre-order). Returns true and writes *out on the first match. Shared by the Dart/Zig import parsers, who
internal/cbm/extract_imports.c:1002
↓ 21 callersFunctioninv_count_bad_fqns
INV(fqn-wellformed) over a whole result. Returns count of malformed QNs. */
tests/repro/repro_invariant_lib.h:81
↓ 21 callersFunctioninv_count_bad_labels
INV(labels-valid): every extracted def carries a label from the known set. * Returns the count of defs with an INVALID/empty label (0 = pass). */
tests/repro/repro_invariant_lib.h:56
↓ 21 callersFunctionjava_node_text
internal/cbm/lsp/java_lsp.c:192
↓ 20 callersFunctioncbm_gbuf_find_edges_by_source_type
src/graph_buffer/graph_buffer.c:1077
↓ 20 callersFunctioncbm_store_find_nodes_by_label
src/store/store.c:1403
↓ 20 callersFunctioncbm_type_pointer
internal/cbm/lsp/type_rep.c:26
↓ 20 callersFunctioncbm_type_slice
internal/cbm/lsp/type_rep.c:36
next →1–100 of 4,316, ranked by callers