MCPcopy Create free account

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

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

↓ 1 callersFunctioncollect_all_projects
When target_projects = ["*"], scan the cache directory for all .db files. */
src/pipeline/pass_cross_repo.c:698
↓ 1 callersFunctioncollect_all_stubs
Gather every stub in the allowlist plus any re-export targets they pull in transitively (e.g. os.path -> posixpath -> genericpath). Returns (m
scripts/gen-py-stdlib.py:201
↓ 1 callersFunctioncollect_ast_tokens
Phase 1: Walk AST iteratively and collect normalised LEAF token types. * Leaf-only counting is language-agnostic: leaf nodes correspond to actual *
src/simhash/minhash.c:142
↓ 1 callersFunctioncollect_bases_from_field
Walk a field node and collect type identifier names into out[]. Handles: direct type_identifier/generic_type/qualified_name, type_list children (Java
internal/cbm/extract_defs.c:2252
↓ 1 callersFunctioncollect_caller_edges
Collect caller edges (HTTP_CALLS + ASYNC_CALLS) targeting a route. */
src/pipeline/pass_route_nodes.c:762
↓ 1 callersFunctioncollect_child_decorators
Collect direct-child decorator texts into result[] starting at idx.
internal/cbm/extract_defs.c:1773
↓ 1 callersFunctioncollect_code_entries
src/pipeline/pass_configlink.c:114
↓ 1 callersFunctioncollect_config_entries
Collect config Variable nodes with ≥2 tokens, each ≥3 chars. */
src/pipeline/pass_configlink.c:70
↓ 1 callersFunctioncollect_csharp_bases
Collect bases from a single base_list node into an arena-allocated array. */
internal/cbm/extract_defs.c:2037
↓ 1 callersFunctioncollect_db_project_names
Scan cache dir for .db files, writing comma-separated quoted names into out. * Returns the number of projects found. */
src/mcp/mcp.c:1095
↓ 1 callersFunctioncollect_decorated_nodes
Phase 1: Collect decorated nodes and count word frequency. */
src/pipeline/pass_enrichment.c:293
↓ 1 callersFunctioncollect_fp_entries
Collect all Function/Method nodes with fingerprints from graph buffer. */
src/pipeline/pass_similarity.c:115
↓ 1 callersFunctioncollect_grep_matches
src/mcp/mcp.c:4791
↓ 1 callersFunctioncollect_infra_handlers
Collect extra handler IDs reachable via INFRA_MAPS chain from a route. */
src/pipeline/pass_route_nodes.c:743
↓ 1 callersFunctioncollect_manifest_deps
src/pipeline/pass_configlink.c:241
↓ 1 callersFunctioncollect_modifier_decorators
Collect decorator texts from a modifiers node into result array starting at idx.
internal/cbm/extract_defs.c:1787
↓ 1 callersFunctioncollect_pattern_vars
Project RETURN * — all bound variable properties */ Collect all variable names from query patterns */
src/cypher/cypher.c:3809
↓ 1 callersFunctioncollect_pkg_names
Collect package names from nodes matching a SQL query (must use ?1 = project). */
src/store/store.c:4269
↓ 1 callersFunctioncollect_ts_bases
TypeScript/TSX: bases live in a `class_heritage` (class) or directly in an * `extends_type_clause` (interface). The extractor previously captured th
internal/cbm/extract_defs.c:2107
↓ 1 callersFunctioncollect_usage_sources_n
* collect_usage_sources: index the fixture once, find the IRepository node, * walk all USAGE edges that target it, and write the source file_paths *
tests/repro/repro_issue787.c:211
↓ 1 callersFunctioncollect_use_clause
Collect a single namespace_use_clause's local→target mapping and add. * * tree-sitter-php emits `use Vendor\X as Y;` either as a use_clause with *
internal/cbm/lsp/php_lsp.c:2505
↓ 1 callersFunctioncommaSep1
(rule)
tools/tree-sitter-form/grammar.js:274
↓ 1 callersFunctioncommaSep1
(rule)
tools/tree-sitter-magma/grammar.js:409
↓ 1 callersFunctioncommit_add_file
src/pipeline/pass_githistory.c:93
↓ 1 callersFunctioncommon_prefix_len
Count common dot-separated prefix segments. */
src/pipeline/registry.c:114
↓ 1 callersFunctioncompile_path_filter
Compile a path filter regex. Returns true if compiled successfully. */
src/mcp/mcp.c:5093
↓ 1 callersFunctioncompile_patterns
src/pipeline/pass_envscan.c:51
↓ 1 callersFunctioncomputeCameraTarget
( nodes: GraphNode[], ids: Set<number>, )
graph-ui/src/components/GraphScene.tsx:251
↓ 1 callersFunctioncompute_call_depth
src/ui/layout3d.c:412
↓ 1 callersFunctioncompute_cfml_func_qn
Resolve a CFML tag-function's QN for scope tracking. A <cffunction name="foo"> * is a `cf_function_tag`; the name lives in a `cf_attribute` child (na
internal/cbm/extract_unified.c:204
↓ 1 callersFunctioncompute_class_qn
internal/cbm/extract_defs.c:5807
↓ 1 callersFunctioncompute_class_qn
Compute class QN for scope tracking.
internal/cbm/extract_unified.c:425
↓ 1 callersFunctioncompute_elixir_func_qn
Resolve an Elixir def/defp/defmacro's QN for scope tracking. The def is a * `call` node whose target (first child) is the def macro and whose first
internal/cbm/extract_unified.c:165
↓ 1 callersFunctioncompute_func_qn
Compute function QN for scope tracking (mirrors cbm_enclosing_func_qn logic).
internal/cbm/extract_unified.c:268
↓ 1 callersFunctioncompute_gotemplate_func_qn
Resolve a Go-template named-template's QN for scope tracking. A * {{ define "greeting" }} ... {{ end }} is a `define_action` whose name is a * quote
internal/cbm/extract_unified.c:245
↓ 1 callersFunctioncompute_lisp_func_qn
Resolve a Lisp (Clojure/Scheme/Racket) def-form's QN for scope tracking. * The def node is a list/list_lit whose head names the def kind and whose *
internal/cbm/extract_unified.c:133
↓ 1 callersFunctioncompute_search_score
src/mcp/mcp.c:4462
↓ 1 callersFunctioncompute_wolfram_func_qn
Try to resolve Wolfram function QN from set_delayed_top/set_top/set_delayed/set LHS.
internal/cbm/extract_unified.c:69
↓ 1 callersFunctionconfig_base_battery
── Structural-base battery (dims 1-4) ────────────────────────────────────── * * Runs the four core invariants on valid input. No defs-present asser
tests/repro/repro_grammar_config.c:126
↓ 1 callersFunctionconfig_callable_battery
── Callable battery with calls-extracted (dims 1-6) ─────────────────────── * * Adds dims 5 (optional) and 6 (calls-extracted) to the base invariant
tests/repro/repro_grammar_config.c:255
↓ 1 callersFunctionconfig_pipeline_battery
── Full-pipeline battery (dims 7-8) ─────────────────────────────────────── * * Indexes the single-file fixture through the production pipeline and
tests/repro/repro_grammar_config.c:335
↓ 1 callersFunctionconfig_robustness
── Robustness helper: assert call RETURNS on malformed input ─────────────── * * A truncated version of the fixture is passed through cbm_extract_fi
tests/repro/repro_grammar_config.c:390
↓ 1 callersFunctionconfig_struct_battery
── Structural battery with defs-present (dims 1-5) ──────────────────────── * * Adds the defs-present dimension for languages with class_types, func
tests/repro/repro_grammar_config.c:182
↓ 1 callersFunctionconnect_prefix_to_decorators
Phase 2b: Connect prefix Routes to decorator handler Functions. */
src/pipeline/pass_route_nodes.c:541
↓ 1 callersFunctioncontains_infer
Walk a type tree to detect any CBM_TYPE_INFER nodes.
internal/cbm/lsp/ts_lsp.c:1136
↓ 1 callersFunctioncontains_segment
internal/cbm/service_patterns.c:562
↓ 1 callersFunctioncooccur_int8_one_target
RRI pass 2 accumulator for a single target token, reading int8-quantized * pass1 vectors as the source. */
src/semantic/semantic.c:963
↓ 1 callersFunctioncooccur_sparse_one_target
Accumulate co-occurrence context for a single target token into `target`. * Reads neighbors within ±CBM_SEM_WINDOW positions across all documents tha
src/semantic/semantic.c:874
↓ 1 callersFunctioncopyFile
(src, dst string)
pkg/go/cmd/codebase-memory-mcp/main.go:319
↓ 1 callersFunctioncopy_header_value
Copy a trimmed header value into out. */
src/ui/httpd.c:239
↓ 1 callersFunctioncopy_node
Copy a node from an array into a heap-allocated standalone node. */
src/mcp/mcp.c:4011
↓ 1 callersFunctioncopy_path_without_query
src/foundation/log.c:264
↓ 1 callersFunctioncount_alnum
Count consecutive alphanumeric characters */
src/pipeline/pass_infrascan.c:81
↓ 1 callersFunctioncount_alnum_dash
Count consecutive alphanumeric or dash characters */
src/pipeline/pass_infrascan.c:90
↓ 1 callersFunctioncount_branching_iter
internal/cbm/helpers.c:495
↓ 1 callersFunctioncount_by_label
tests/test_incremental.c:188
↓ 1 callersFunctioncount_calls
Count resolved (confidence > 0) vs unresolved (confidence == 0) and total. */
tests/test_ts_lsp.c:2423
↓ 1 callersFunctioncount_calls_exact
Count calls whose callee_name is exactly `name` (has_call is substring). */
tests/test_extraction.c:3140
↓ 1 callersFunctioncount_char
Count occurrences of a character in a string */
src/pipeline/pass_infrascan.c:936
↓ 1 callersFunctioncount_child_decorators
Count direct children of `node` that are decorator/annotation nodes (used by languages like Scala where the annotation is a direct child of the def no
internal/cbm/extract_defs.c:1760
↓ 1 callersFunctioncount_dangling_edges
───────────────────────────────────────────────────────────────────────── * INVARIANT 3: No dangling edges (graph integrity guard). * * For every e
tests/repro/repro_invariant_graph.c:227
↓ 1 callersFunctioncount_defs_named
Count how many defs in r have exactly this label AND name. */
tests/repro/repro_issue495.c:59
↓ 1 callersFunctioncount_defs_with_label
Count definitions with a given label. */
tests/test_extraction.c:53
↓ 1 callersFunctioncount_defs_with_label_local
* count_defs_with_label — count all defs carrying the given label. * Mirrors the helper in test_extraction.c. */
tests/repro/repro_issue333.c:81
↓ 1 callersFunctioncount_degrees_direction
src/store/store.c:2066
↓ 1 callersFunctioncount_distinct_qns
── Helper: count distinct qualified_names among nodes by name ─────────── */ Returns the number of DISTINCT qualified_name strings found. */ This catc
tests/repro/repro_invariant_discovery_fqn.c:433
↓ 1 callersFunctioncount_label
Count nodes carrying `label`. Returns -1 on query error. */
tests/test_lang_contract.c:185
↓ 1 callersFunctioncount_live_nodes
src/graph_buffer/graph_buffer.c:1581
↓ 1 callersFunctioncount_method_defs_named
* count_method_defs_named — count defs with label "Method" matching name. * Mirrors the `has_def` helper in test_extraction.c but counts all matches.
tests/repro/repro_issue333.c:65
↓ 1 callersFunctioncount_modifier_annotations
Extract decorator names from preceding decorator/annotation nodes Count annotations inside a Java/Kotlin/C# "modifiers" node.
internal/cbm/extract_defs.c:1715
↓ 1 callersFunctioncount_nodes_by_name
── Helper: count distinct nodes by name for a project ─────────────────── */
tests/repro/repro_invariant_discovery_fqn.c:417
↓ 1 callersFunctioncount_nodes_named
Count nodes with the given exact name in the project (e.g. a Route path). */
tests/test_pipeline.c:985
↓ 1 callersFunctioncount_open_fds
src/foundation/diagnostics.c:64
↓ 1 callersFunctioncount_params_from_signature
Count parameters from a signature string like "(int a, Foo* b, cb (*)(int,int))". Fallback for languages where param_names isn't populated (e.g. C kee
internal/cbm/cbm.c:478
↓ 1 callersFunctioncount_resolved
tests/test_kotlin_lsp.c:75
↓ 1 callersFunctioncount_resolved
tests/test_java_lsp.c:71
↓ 1 callersFunctioncount_resolved
tests/test_c_lsp.c:45
↓ 1 callersFunctioncount_resolved
Count resolved calls matching pattern */
tests/test_go_lsp.c:53
↓ 1 callersFunctioncount_resolved
tests/test_rust_lsp.c:60
↓ 1 callersFunctioncount_resolved_with_strategy
tests/test_cs_lsp.c:63
↓ 1 callersFunctioncount_retained_source_bytes
tests/test_mem.c:799
↓ 1 callersFunctioncount_similar_to_edges
Count SIMILAR_TO edges in graph buffer. */
tests/test_simhash.c:45
↓ 1 callersFunctioncount_slashes
Count the number of '/' in a string. */
src/store/store.c:4499
↓ 1 callersFunctioncount_var_defs
tests/repro/repro_new_py_tuple_unpack.c:74
↓ 1 callersFunctioncov_count_strict
tests/test_java_lsp_coverage.c:80
↓ 1 callersFunctioncov_extract
tests/test_java_lsp_coverage.c:48
↓ 1 callersFunctioncov_find
tests/test_java_lsp_coverage.c:53
↓ 1 callersFunctioncov_require
tests/test_java_lsp_coverage.c:65
↓ 1 callersFunctioncp_callables
Sum callable nodes (Function + Method). */
tests/test_convergence_probe.c:271
↓ 1 callersFunctioncp_cleanup
tests/test_convergence_probe.c:241
↓ 1 callersFunctioncp_diag
tests/test_convergence_probe.c:287
↓ 1 callersFunctioncp_edges
Count edges of `edge_type`; -1 on DB error. */
tests/test_convergence_probe.c:254
↓ 1 callersFunctioncp_index_parallel
tests/test_convergence_probe.c:305
↓ 1 callersFunctioncp_open_indexed
tests/test_convergence_probe.c:200
↓ 1 callersFunctioncp_to_fwd_slashes
tests/test_convergence_probe.c:194
↓ 1 callersFunctioncr536_count_cross
Count CROSS_HTTP_CALLS rows in a project DB (re-opened from the cache dir, * because cbm_cross_repo_match wrote through its own store handles). */
tests/repro/repro_issue523.c:271
↓ 1 callersFunctioncr536_setup
Index a one-file client and a one-file server project through the production * pipeline. Closes both stores again — cbm_cross_repo_match re-opens the
tests/repro/repro_issue523.c:246
↓ 1 callersFunctioncr_db_path
src/pipeline/pass_cross_repo.c:60
↓ 1 callersFunctioncr_itoa
src/pipeline/pass_cross_repo.c:48
↓ 1 callersFunctioncr_path_matches_template
Segment-wise match of a concrete path against a route template path, where a * "{...}" segment in the template matches any single non-empty concrete
src/pipeline/pass_cross_repo.c:239
← previousnext →2,001–2,100 of 4,316, ranked by callers