Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/DeusData/codebase-memory-mcp
/ functions
Functions
4,316 in github.com/DeusData/codebase-memory-mcp
⨍
Functions
4,316
◇
Types & classes
229
↓ 6 callers
Function
cs_eval_expr_type
internal/cbm/lsp/cs_lsp.c:716
↓ 6 callers
Function
db_path_for_project
Build DB path for a project: <cache_dir>/<project>.db */
src/ui/http_server.c:181
↓ 6 callers
Function
expr_free
src/cypher/cypher.c:744
↓ 6 callers
Function
http_appendf
src/ui/http_server.c:413
↓ 6 callers
Function
inv_edge_has_strategy
INV(lsp-strategy): some CALLS edge carries `strategy` (e.g. "lsp_virtual_dispatch") * in its properties_json. Used by the per-LSP-pass invariants. */
tests/repro/repro_invariant_lib.h:165
↓ 6 callers
Function
is_string_like
Check if a node type is a string literal */
internal/cbm/extract_calls.c:43
↓ 6 callers
Function
itoa_k8s
Format int to string for logging. Thread-safe via TLS. */
src/pipeline/pass_k8s.c:68
↓ 6 callers
Function
java_resolve_type_name
internal/cbm/lsp/java_lsp.c:474
↓ 6 callers
Function
kotlin_lookup_method
Iterative method lookup with a single depth bound on the combined * alias-then-super-chain walk. We never recurse — a class's alias chain * is follo
internal/cbm/lsp/kotlin_lsp.c:828
↓ 6 callers
Function
kt_process_block_stmts
internal/cbm/lsp/kotlin_lsp.c:2560
↓ 6 callers
Function
kt_type_qn_of
internal/cbm/lsp/kotlin_lsp.c:249
↓ 6 callers
Function
node_fields_free
src/cypher/cypher.c:2254
↓ 6 callers
Function
php_lookup_method
internal/cbm/lsp/php_lsp.c:335
↓ 6 callers
Function
put_u32
Write a 4-byte big-endian value
internal/cbm/sqlite_writer.c:280
↓ 6 callers
Function
py_resolve_annotation
Resolve a type-annotation text into a CBMType. Tries: scope lookup * (for imports / type aliases), module-qualified lookup in the registry, * then f
internal/cbm/lsp/py_lsp.c:3017
↓ 6 callers
Function
read_file_alloc
Read entire file into malloc'd buffer. Sets *out_len. Returns NULL on error. */
src/pipeline/artifact.c:132
↓ 6 callers
Function
read_file_str
Read entire file into malloc'd buffer. Returns NULL on error. */
src/cli/cli.c:1281
↓ 6 callers
Function
rust_resolve_path_expr
Resolve a Rust *path expression* (e.g. `Foo::bar` or `crate::x::y`) * into a canonical QN. The resolver cascades through these rules, * matching wha
internal/cbm/lsp/rust_lsp.c:429
↓ 6 callers
Function
th_mktempdir
Create a temporary directory. Returns static buffer with path. * Pattern: prefix is used as part of the dirname. */
tests/test_helpers.h:134
↓ 6 callers
Function
type_to_qn
Get the QN string from a type (for member lookup)
internal/cbm/lsp/c_lsp.c:1350
↓ 6 callers
Function
verify_project_indexed
verify_project_indexed — returns a heap-allocated error JSON string when the * named project has not been indexed yet, or NULL when the project exist
src/mcp/mcp.c:1434
↓ 6 callers
Function
write_file_str
Write string to file, creating parent dirs if needed. */
src/cli/cli.c:1315
↓ 5 callers
Function
add_field
internal/cbm/lsp/php_lsp.c:2835
↓ 5 callers
Function
c_simplify_type
internal/cbm/lsp/c_lsp.c:1241
↓ 5 callers
Function
cbm_aligned_free
src/foundation/compat_thread.c:152
↓ 5 callers
Function
cbm_arena_strdup
src/foundation/arena.c:86
↓ 5 callers
Function
cbm_arena_strndup
src/foundation/arena.c:98
↓ 5 callers
Function
cbm_artifact_exists
src/pipeline/artifact.c:721
↓ 5 callers
Function
cbm_config_get
src/cli/cli.c:2740
↓ 5 callers
Function
cbm_config_set
src/cli/cli.c:2791
↓ 5 callers
Function
cbm_detect_agents
src/cli/cli.c:1169
↓ 5 callers
Function
cbm_enclosing_func_qn_cached
internal/cbm/helpers.c:944
↓ 5 callers
Function
cbm_file_size
src/foundation/platform.c:128
↓ 5 callers
Function
cbm_gbuf_set_next_id
src/graph_buffer/graph_buffer.c:630
↓ 5 callers
Function
cbm_ht_count
src/foundation/hash_table.c:120
↓ 5 callers
Function
cbm_is_dir
src/foundation/platform.c:118
↓ 5 callers
Function
cbm_is_keyword
internal/cbm/helpers.c:169
↓ 5 callers
Function
cbm_log_set_sink_ex
src/foundation/log.c:78
↓ 5 callers
Function
cbm_mem_init
src/foundation/mem.c:124
↓ 5 callers
Function
cbm_nanosleep
src/foundation/compat.h:87
↓ 5 callers
Function
cbm_negmemo_contains
internal/cbm/lsp/lsp_neg_memo.h:76
↓ 5 callers
Function
cbm_qn_to_package
Extract sub-package from QN: project.dir1.dir2.sym → dir1 (4+ parts → [2], else [1]) */
src/store/store.c:3526
↓ 5 callers
Function
cbm_regfree
src/foundation/compat_regex.c:58
↓ 5 callers
Function
cbm_registry_add
src/pipeline/registry.c:504
↓ 5 callers
Function
cbm_registry_label_of
src/pipeline/registry.c:559
↓ 5 callers
Function
cbm_remove_editor_mcp
src/cli/cli.c:837
↓ 5 callers
Function
cbm_sem_tokenize
src/semantic/semantic.c:166
↓ 5 callers
Function
cbm_sem_vec_add_scaled
src/semantic/semantic.c:486
↓ 5 callers
Function
cbm_store_bfs
src/store/store.c:2817
↓ 5 callers
Function
cbm_store_find_edges_by_target_type
src/store/store.c:1643
↓ 5 callers
Function
cbm_type_resolve_alias
internal/cbm/lsp/type_rep.c:743
↓ 5 callers
Function
cbm_watcher_free
src/watcher/watcher.c:389
↓ 5 callers
Function
cbm_watcher_new
src/watcher/watcher.c:371
↓ 5 callers
Function
cbm_yaml_free
src/foundation/yaml.c:71
↓ 5 callers
Function
cbm_yaml_get_str
src/foundation/yaml.c:367
↓ 5 callers
Method
close
(self)
tests/windows/mcp_stdio.py:133
↓ 5 callers
Function
convert_path_to_qn
Convert a Rust path with `::` separators into our internal QN form using * `.` separators. Always allocates a fresh string. */
internal/cbm/lsp/rust_lsp.c:252
↓ 5 callers
Function
cs_strip_generic_args
Walk up from `name` past any leading '<' or whitespace. */
internal/cbm/lsp/cs_lsp.c:157
↓ 5 callers
Function
empty_result
src/pipeline/registry.c:359
↓ 5 callers
Function
enclosing_function_qn
internal/cbm/extract_channels.c:186
↓ 5 callers
Function
find_edges_generic
Generic: find multiple edges by a filter. */
src/store/store.c:1553
↓ 5 callers
Function
find_line_value
Find a line starting with a prefix in source. Returns pointer to first char * after prefix, or NULL. Handles leading whitespace. */
src/pipeline/pass_pkgmap.c:196
↓ 5 callers
Function
func_name_node
Get "name" field from a node
internal/cbm/extract_defs.c:197
↓ 5 callers
Function
generic_import_from_text
Fallback: extract import path from full node text, stripping keyword and semicolon.
internal/cbm/extract_imports.c:920
↓ 5 callers
Function
get_scalar_text
Return the raw source text for a scalar node (plain, single-quoted, or double-quoted). Surrounding quote characters are stripped for quoted forms. Han
internal/cbm/extract_k8s.c:35
↓ 5 callers
Function
git_strdup
src/git/git_context.c:19
↓ 5 callers
Function
glob_match
src/discover/gitignore.c:132
↓ 5 callers
Function
inv_no_calls_edge_to_qn
INV(no-resolvable-edge): NO CALLS edge targets a node whose QN contains * `callee_substr`. This is the ACCURATE invariant for a call to a callee that
tests/repro/repro_invariant_lib.h:189
↓ 5 callers
Function
is_import_reachable
Check if candidate's module prefix appears in import map values. * Uses stack buffer to avoid malloc/free per call in hot resolution loop. * Per-fil
src/pipeline/registry.c:312
↓ 5 callers
Function
is_rust_primitive
internal/cbm/lsp/rust_lsp.c:135
↓ 5 callers
Function
kt_emit_resolved
Append a CBMResolvedCall to the output array. */
internal/cbm/lsp/kotlin_lsp.c:284
↓ 5 callers
Function
kt_find_descendant_kind
Find the first descendant matching kind, depth-first, capped at max_depth. */
internal/cbm/lsp/kotlin_lsp.c:194
↓ 5 callers
Function
lang_index_files
Write each fixture file into a fresh temp project, index it via the MCP * production flow (discover -> extract -> registry -> resolve -> dump), and o
tests/test_lang_contract.c:99
↓ 5 callers
Function
literal_from_arg
Extract a literal channel name from an argument node. Returns NULL if the * argument is not a plain string literal (caller can then try identifier
internal/cbm/extract_channels.c:71
↓ 5 callers
Function
lookup_member_type
Depth-guarded entry: member lookup recurses through wrapper classes, union * members and registered-type expansion; cyclic type graphs in real-world
internal/cbm/lsp/ts_lsp.c:1343
↓ 5 callers
Function
lsp_node_text
internal/cbm/lsp/go_lsp.c:70
↓ 5 callers
Function
make_id_key
src/graph_buffer/graph_buffer.c:143
↓ 5 callers
Function
node_kind_is
internal/cbm/lsp/ts_lsp.c:128
↓ 5 callers
Function
path_join
src/discover/discover.c:200
↓ 5 callers
Function
php_eval_expr_type
Returns the type of a tree-sitter PHP expression node. * Coverage: * - variable_name ($x): scope lookup ($this special-ca
internal/cbm/lsp/php_lsp.c:846
↓ 5 callers
Function
php_ns_to_dot
PHP qualified names use "." in the graph (project.path.module.class[.method]). * Convert "App\\Models\\User" to "App.Models.User" so we can compose w
internal/cbm/lsp/php_lsp.c:93
↓ 5 callers
Function
php_resolve_calls_in_node
Depth-guarded entry for the AST call-resolution walk. The walk recurses once * per nesting level; a deeply-nested or cyclic file can overflow the nat
internal/cbm/lsp/php_lsp.c:44
↓ 5 callers
Function
py_eval_expr_type
Memoizing, depth- and budget-guarded wrapper — the function every call * site in this file goes through. */
internal/cbm/lsp/py_lsp.c:1524
↓ 5 callers
Function
py_resolve_calls_in
Depth-guarded entry for the AST call-resolution walk. The walk recurses once * per nesting level; a deeply-nested or cyclic file can overflow the nat
internal/cbm/lsp/py_lsp.c:41
↓ 5 callers
Function
rb_add_row
src/cypher/cypher.c:2583
↓ 5 callers
Function
remove_hooks_json
src/cli/cli.c:1962
↓ 5 callers
Function
resolve_phpdoc_type
internal/cbm/lsp/php_lsp.c:636
↓ 5 callers
Function
rust_parse_type_node
internal/cbm/lsp/rust_lsp.c:575
↓ 5 callers
Function
skip_ws_and_comment
internal/cbm/lsp/rust_cargo.c:20
↓ 5 callers
Function
store_set_error
src/store/store.c:144
↓ 5 callers
Function
to_lower
src/pipeline/pass_infrascan.c:54
↓ 5 callers
Function
try_generic_path_fields
Try known field names (path/source/module/name) to extract import path.
internal/cbm/extract_imports.c:902
↓ 5 callers
Function
ts_eval_expr_type
internal/cbm/lsp/ts_lsp.c:1655
↓ 5 callers
Function
ts_parse_type_node
internal/cbm/lsp/ts_lsp.c:1997
↓ 5 callers
Function
upsert_hooks_json
src/cli/cli.c:1877
↓ 5 callers
Function
where_bind_text
Bind a text parameter and increment the bind index. */
src/store/store.c:2433
↓ 4 callers
Function
append_char
src/foundation/log.c:114
↓ 4 callers
Function
binding_get_edge
Find an edge variable in a binding */
src/cypher/cypher.c:2224
↓ 4 callers
Function
cache_dir
Returns the cache directory. Writes to buf, returns buf for convenience. */
src/mcp/mcp.c:961
↓ 4 callers
Function
cbm_app_config_dir
src/foundation/platform.c:349
← previous
next →
301–400 of 4,316, ranked by callers