MCPcopy Create free account

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

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

↓ 20 callersFunctioninv_count_calls_by_source
INV(callable-sourcing): split CALLS edges by source-node label class. * Function/Method = callable-sourced; Module/File = module-sourced (the bug). *
tests/repro/repro_invariant_lib.h:122
↓ 19 callersFunctioncbm_gbuf_find_by_label
src/graph_buffer/graph_buffer.c:779
↓ 19 callersFunctioncbm_store_find_node_by_id
src/store/store.c:1234
↓ 19 callersFunctioncbm_store_insert_edge
src/store/store.c:1510
↓ 19 callersFunctioncbm_type_reference
internal/cbm/lsp/type_rep.c:157
↓ 18 callersFunctioncbm_type_tuple
internal/cbm/lsp/type_rep.c:128
↓ 18 callersFunctioncbm_utf8_to_wide
src/foundation/win_utf8.h:13
↓ 18 callersFunctioncs_node_text
internal/cbm/lsp/cs_lsp.c:79
↓ 18 callersFunctionheap_strdup
src/mcp/mcp.c:100
↓ 18 callersFunctionpeek
src/cypher/cypher.c:440
↓ 18 callersFunctionth_write_file
Write content to a file, creating parent directories as needed. */
tests/test_helpers.h:41
↓ 17 callersFunctioncbm_registry_resolve
src/pipeline/registry.c:813
↓ 17 callersFunctioncbm_resolve_cache_dir
src/foundation/platform.c:404
↓ 17 callersFunctioncbm_resolvedcall_push
internal/cbm/cbm.c:180
↓ 17 callersFunctioncbm_store_find_edges_by_type
src/store/store.c:1652
↓ 17 callersFunctionnode_text
internal/cbm/lsp/ts_lsp.c:124
↓ 17 callersFunctionpush_var_def
Helper to push a Variable definition
internal/cbm/extract_defs.c:4468
↓ 16 callersFunctioncbm_gbuf_find_by_id
src/graph_buffer/graph_buffer.c:772
↓ 16 callersFunctioncbm_http_replyf
src/ui/httpd.c:541
↓ 16 callersFunctioninv_count_label
Count defs with a given label. */
tests/repro/repro_invariant_lib.h:102
↓ 16 callersFunctionkt_field_named
internal/cbm/lsp/kotlin_lsp.c:186
↓ 15 callersFunctionarch_path_prepare
src/store/store.c:3083
↓ 15 callersFunctioncbm_closedir
src/foundation/compat_fs.c:121
↓ 15 callersFunctioncbm_get_home_dir
src/foundation/platform.c:327
↓ 15 callersFunctioncbm_opendir
src/foundation/compat_fs.c:40
↓ 15 callersFunctioncbm_pclose
src/foundation/compat_fs.c:353
↓ 15 callersFunctioncbm_popen
src/foundation/compat_fs.c:330
↓ 15 callersFunctioncbm_readdir
src/foundation/compat_fs.c:83
↓ 15 callersFunctioncbm_registry_finalize
internal/cbm/lsp/type_registry.c:299
↓ 15 callersFunctioncbm_strndup
src/foundation/compat.c:21
↓ 15 callersFunctionjava_parse_type_node
internal/cbm/lsp/java_lsp.c:347
↓ 15 callersFunctionkt_child_kind
internal/cbm/lsp/kotlin_lsp.c:154
↓ 15 callersFunctionkt_name_child
Cross-grammar name-child resolver. Newer tree-sitter-kotlin dropped the * `name` field and names value decls (functions, vars, params) with * `simpl
internal/cbm/lsp/kotlin_lsp.c:121
↓ 15 callersFunctionpy_node_text
internal/cbm/lsp/py_lsp.c:234
↓ 14 callersFunctioncbm_pipeline_fqn_module
src/pipeline/fqn.c:137
↓ 14 callersFunctioncbm_store_count_edges
src/store/store.c:1661
↓ 14 callersFunctioncbm_store_get_db
src/store/store.c:946
↓ 14 callersFunctioncbm_type_type_param
internal/cbm/lsp/type_rep.c:147
↓ 14 callersFunctioncbm_type_union
Shared by Python (cbm_type_union) and TS (`A | B`). Flattens nested UNIONs and dedupes members.
internal/cbm/lsp/type_rep.c:233
↓ 14 callersFunctionkt_join_dot
internal/cbm/lsp/kotlin_lsp.c:229
↓ 14 callersFunctionkt_node_is
internal/cbm/lsp/kotlin_lsp.c:134
↓ 14 callersFunctionrust_node_text
internal/cbm/lsp/rust_lsp.c:122
↓ 13 callersFunctionarch_bind_path_scope
src/store/store.c:3130
↓ 13 callersFunctioncbm_gbuf_free
src/graph_buffer/graph_buffer.c:472
↓ 13 callersFunctioncbm_gbuf_new
src/graph_buffer/graph_buffer.c:436
↓ 13 callersFunctioncbm_lang_spec
internal/cbm/lang_specs.c:2579
↓ 13 callersFunctioncbm_parallel_for
src/pipeline/worker_pool.c:96
↓ 13 callersFunctioncbm_thread_create
src/foundation/compat_thread.c:36
↓ 13 callersFunctionexec_sql
src/store/store.c:152
↓ 13 callersFunctionjava_eval_expr_type
internal/cbm/lsp/java_lsp.c:585
↓ 13 callersFunctionkt_child_kind_named
internal/cbm/lsp/kotlin_lsp.c:170
↓ 13 callersFunctionput_varint
internal/cbm/sqlite_writer.c:176
↓ 13 callersFunctionrec_add_text
internal/cbm/sqlite_writer.c:377
↓ 13 callersFunctionrec_finalize
Finalize: returns the complete record bytes (header_len + header + body). Caller must free the returned buffer.
internal/cbm/sqlite_writer.c:400
↓ 13 callersFunctionrec_free
internal/cbm/sqlite_writer.c:353
↓ 13 callersFunctionrec_init
internal/cbm/sqlite_writer.c:348
↓ 13 callersFunctionskip_ws
Skip whitespace, return pointer past it */
src/pipeline/pass_infrascan.c:99
↓ 12 callersFunctioncbm_arena_alloc
src/foundation/arena.c:58
↓ 12 callersFunctioncbm_mcp_get_string_arg
src/mcp/mcp.c:716
↓ 12 callersFunctioninv_has_call
True if a call to `callee` (substring match on callee_name) was extracted. */
tests/repro/repro_invariant_lib.h:111
↓ 12 callersFunctionpush_string_descendant_import
Shared: find a node's clean string path — prefers an inner unquoted content child (string_content / str_literal / …); else an inner quoted `string` (w
internal/cbm/extract_imports.c:2089
↓ 12 callersFunctionread_json_file
Read a JSON file into a yyjson document. Returns NULL on error. */
src/cli/cli.c:722
↓ 12 callersFunctionrec_add_int
internal/cbm/sqlite_writer.c:363
↓ 12 callersFunctionresolve_store
Open the right project's .db file for query tools. * Caches the connection — reopens only when project changes. * Tracks last-access time so the eve
src/mcp/mcp.c:1003
↓ 12 callersFunctionrh_index
tests/repro/repro_harness.h:102
↓ 12 callersFunctionrtrim
Trim trailing whitespace in-place */
src/pipeline/pass_infrascan.c:129
↓ 12 callersFunctionwrite_json_file
Write a mutable yyjson document to a file with pretty printing. */
src/cli/cli.c:758
↓ 11 callersFunctionbinding_get
Find a variable's node in a binding */
src/cypher/cypher.c:2234
↓ 11 callersFunctioncbm_discover_free
src/discover/discover.c:981
↓ 11 callersFunctioncbm_label_is_type_like
True when `label` names a type-like container definition (see cbm.h). Single source of truth for the type-resolution / registry / IMPLEMENTS / LSP-typ
internal/cbm/helpers.c:160
↓ 11 callersFunctioncbm_mutex_lock
src/foundation/compat_thread.c:111
↓ 11 callersFunctioncbm_mutex_unlock
src/foundation/compat_thread.c:115
↓ 11 callersFunctioncbm_regexec
src/foundation/compat_regex.c:39
↓ 11 callersFunctioncbm_route_canon_path
Canonicalize route-path parameter placeholders to a single "{}" token so that * client call sites and server handlers rendezvous on the same Route QN
src/pipeline/pass_route_nodes.c:59
↓ 11 callersFunctioncbm_store_find_nodes_by_name
src/store/store.c:1394
↓ 11 callersFunctioncmp_i64
internal/cbm/sqlite_writer.c:1355
↓ 11 callersFunctionget_project_arg
Resolve the project argument, accepting the canonical "project" key plus the * aliases a caller naturally reaches for (#640): list_projects surfaces
src/mcp/mcp.c:790
↓ 11 callersFunctioninv_count_dangling_edges
INV(no-dangling-edges): every edge of `type` has both endpoints resolving to a * node. Returns count of dangling endpoints (0 = pass), -1 on query er
tests/repro/repro_invariant_lib.h:145
↓ 11 callersFunctionitoa_buf
Format int to string for logging. Thread-safe via TLS rotating buffers. */
src/pipeline/pipeline.c:137
↓ 11 callersFunctionkotlin_eval_expr_type
internal/cbm/lsp/kotlin_lsp.c:1827
↓ 11 callersFunctionkotlin_parse_type_node
internal/cbm/lsp/kotlin_lsp.c:1696
↓ 11 callersFunctionpkg_entries_push
src/pipeline/pass_pkgmap.c:104
↓ 11 callersFunctionpush_channel
internal/cbm/extract_channels.c:237
↓ 11 callersFunctionpy_scope_bind
── Scope mutation wrappers ───────────────────────────────────────────── * * py_eval_expr_type memoizes per-node results (see the cache block above
internal/cbm/lsp/py_lsp.c:83
↓ 11 callersFunctionsafe_str
internal/cbm/sqlite_writer.c:1359
↓ 11 callersFunctionth_mkdir_p
Create a directory and all parents. Returns 0 on success. */
tests/test_helpers.h:84
↓ 10 callersFunctionc_node_text
--- Helper: get node text ---
internal/cbm/lsp/c_lsp.c:52
↓ 10 callersFunctioncbm_discover
src/discover/discover.c:874
↓ 10 callersFunctioncbm_lsp_collect_children
Collect `node`'s children into an arena array (source order) via one O(n) * cursor pass. Returns NULL and sets *out_n=0 for a childless node or on OO
internal/cbm/lsp/lsp_node_iter.h:24
↓ 10 callersFunctioncbm_registry_lookup_symbol
internal/cbm/lsp/type_registry.c:526
↓ 10 callersFunctioncbm_scope_pop
internal/cbm/lsp/scope.c:15
↓ 10 callersFunctioncs_first_named_child
internal/cbm/lsp/cs_lsp.c:104
↓ 10 callersFunctionpath_dirname
Get the directory part of a relative path (without trailing slash). * Returns heap-allocated string. For "foo.json" returns "". */
src/pipeline/pass_pkgmap.c:142
↓ 10 callersFunctionphp_resolve_class_name
Resolve a class identifier to a fully-qualified registry key. * - Fully-qualified ("\\Foo\\Bar"): FOO.BAR — strip leading slash. * - Alias
internal/cbm/lsp/php_lsp.c:201
↓ 10 callersFunctionrh_count_edges
Count edges of a given type in the project graph. Returns -1 on query error. */
tests/repro/repro_harness.h:126
↓ 10 callersFunctiontf_dim
tests/test_framework.h:49
↓ 10 callersFunctionuseUiMessages
()
graph-ui/src/lib/i18n.ts:189
↓ 9 callersFunctionarch_path_scope_sql
src/store/store.c:3126
↓ 9 callersFunctionbinding_free
Free all deep-copied nodes and edges in a binding */
src/cypher/cypher.c:2299
↓ 9 callersFunctioncbm_arena_destroy
src/foundation/arena.c:149
← previousnext →101–200 of 4,316, ranked by callers