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
↓ 3 callers
Function
rust_bind_pattern
Recursively bind every identifier inside a pattern node to the given * fallback type. Handles tuple_pattern, struct_pattern, tuple_struct_pattern, *
internal/cbm/lsp/rust_lsp.c:3329
↓ 3 callers
Function
rust_collect_uses
Collect `use_declaration`s in the file and materialise our use map. * Tree-sitter-rust models the pattern as: * * use_declaration → identifier |
internal/cbm/lsp/rust_lsp.c:4644
↓ 3 callers
Function
rust_eval_expr_type
internal/cbm/lsp/rust_lsp.c:1249
↓ 3 callers
Function
rust_lsp_init
internal/cbm/lsp/rust_lsp.c:61
↓ 3 callers
Function
rust_lsp_process_file
internal/cbm/lsp/rust_lsp.c:4544
↓ 3 callers
Function
rust_macro_strip_outer
Strip a single outer pair of matching brackets from a token-tree * text representation. Returns the inner span via out_text/out_len. * If no bracket
internal/cbm/lsp/rust_lsp.c:2594
↓ 3 callers
Function
sanitize_ascii
src/mcp/mcp.c:4427
↓ 3 callers
Function
set_def_complexity
Compute and store the structural complexity metrics for a definition. */
internal/cbm/extract_defs.c:3031
↓ 3 callers
Function
set_namespace_from_decl
internal/cbm/lsp/php_lsp.c:2590
↓ 3 callers
Function
slab_malloc
src/foundation/slab_alloc.c:285
↓ 3 callers
Function
store_open_internal
src/store/store.c:610
↓ 3 callers
Function
str_contains
Simple substring search helper */
src/discover/language.c:936
↓ 3 callers
Function
strip_generics
Strip generic parameters from a type text (List<String> → List). */
internal/cbm/lsp/java_lsp.c:226
↓ 3 callers
Function
strip_yaml_quotes
Scan a YAML mapping for source+target key pairs. * Collects all key-value pairs at this level and one level deep (for nested config:). */ Strip quote
internal/cbm/extract_unified.c:750
↓ 3 callers
Function
tf_extract_ident
Extract double-quoted identifier after keyword. * Matches: keyword "identifier" → sets out to "identifier" * Returns number of chars consumed from p
src/pipeline/pass_infrascan.c:949
↓ 3 callers
Function
th_connect
tests/test_httpd.c:68
↓ 3 callers
Function
th_recv_until_close
Read until the server closes the connection (Connection: close model). */
tests/test_httpd.c:104
↓ 3 callers
Function
th_send_all
tests/test_httpd.c:88
↓ 3 callers
Function
ts_lsp_add_import
internal/cbm/lsp/ts_lsp.c:3213
↓ 3 callers
Function
ts_lsp_init
internal/cbm/lsp/ts_lsp.c:3192
↓ 3 callers
Function
ts_lsp_process_file
internal/cbm/lsp/ts_lsp.c:3127
↓ 3 callers
Function
ui_delete_db_path
tests/test_httpd.c:484
↓ 3 callers
Function
unwrap_passthrough_template
TS utility types like Partial<T>, Readonly<T>, Required<T> are essentially transformations on T's properties — for call-edge resolution they pass thro
internal/cbm/lsp/ts_lsp.c:1487
↓ 3 callers
Function
write_file_atomic
Write buffer to file atomically (write to tmp, rename). Returns 0 on success. */
src/pipeline/artifact.c:160
↓ 3 callers
Function
write_index_btree
Write leaf pages for an index, returns root page.
internal/cbm/sqlite_writer.c:1259
↓ 3 callers
Function
write_table_btree
Write leaf pages for a table, returns root page. rowids must be sequential starting from 1 (or single-row PK text).
internal/cbm/sqlite_writer.c:1188
↓ 2 callers
Function
_bin_path
(version: str)
pkg/pypi/src/codebase_memory_mcp/_cli.py:147
↓ 2 callers
Method
_send
(self, obj)
tests/windows/mcp_stdio.py:60
↓ 2 callers
Function
_validate_url_scheme
Reject non-https URLs before any network fetch.
pkg/pypi/src/codebase_memory_mcp/_cli.py:23
↓ 2 callers
Function
add_cleaned_type
Extract return_types from a return type node. Parses Go-style multi-return (T1, T2) and single return types. Returns NULL-terminated arena-allocated a
internal/cbm/extract_defs.c:2773
↓ 2 callers
Function
add_git_context_json
src/mcp/mcp.c:1150
↓ 2 callers
Function
agg_func_name
Token type to function name */
src/cypher/cypher.c:1204
↓ 2 callers
Function
alloc_next_id
Allocate the next buffer-local or shared-atomic ID. */
src/graph_buffer/graph_buffer.c:264
↓ 2 callers
Function
append_raw
src/foundation/log.c:121
↓ 2 callers
Function
arch_boundaries
src/store/store.c:3952
↓ 2 callers
Function
assert_lsp_strategy_files
* assert_lsp_strategy_files * * Index an N-file fixture and assert the per-pass LSP RESOLUTION CONTRACT: * 1. the store opened (precondition — a
tests/repro/repro_lsp_ts.c:121
↓ 2 callers
Function
assert_lsp_strategy_files
* assert_lsp_strategy_files * * Index an N-file fixture and assert the per-pass LSP RESOLUTION CONTRACT: * 1. the store opened (precondition — a
tests/repro/repro_lsp_go_py.c:128
↓ 2 callers
Function
assert_no_resolvable_edge_files
* assert_no_resolvable_edge_files — the ACCURATE invariant for a call whose * callee is genuinely UNRESOLVABLE (undeclared/external/absent symbol). N
tests/repro/repro_lsp_go_py.c:193
↓ 2 callers
Function
at_prefix
Check if src at position p starts with literal str of known length. */
src/pipeline/pass_pkgmap.c:92
↓ 2 callers
Function
bind_parameter
Bind a single TS parameter into the current scope. Robust against grammar field-name variations: tries `pattern`, `name`, then falls back to first nam
internal/cbm/lsp/ts_lsp.c:2082
↓ 2 callers
Function
binding_set_edge
Set an edge variable in a binding */
src/cypher/cypher.c:2281
↓ 2 callers
Function
bloomIntensityScale
(nodeCount: number)
graph-ui/src/lib/density.ts:41
↓ 2 callers
Function
budgetKey
(project: string)
graph-ui/src/components/GraphTab.tsx:43
↓ 2 callers
Function
build_entry_path
Build entry path: dir/suffix or just suffix if dir is empty. */
src/pipeline/pass_pkgmap.c:376
↓ 2 callers
Function
build_import_map
src/pipeline/pass_calls.c:110
↓ 2 callers
Function
build_index_entry_2text_rowid
Build an index entry for a 2-column TEXT index (project, col) + rowid. Index records: varint(payload_len) + payload(record of indexed cols + rowid)
internal/cbm/sqlite_writer.c:901
↓ 2 callers
Function
build_index_entry_int_text_rowid
Build index entry for (int64, text) + rowid (e.g., idx_edges_source)
internal/cbm/sqlite_writer.c:934
↓ 2 callers
Function
build_index_entry_text_int_text_rowid
Build index entry for (text, int64, text) + rowid (e.g., idx_edges_target_type)
internal/cbm/sqlite_writer.c:965
↓ 2 callers
Function
build_no_store_error
Pick the right no-store error: a NULL project means the argument was missing * (clearer message); a non-NULL project that didn't resolve means it's
src/mcp/mcp.c:1210
↓ 2 callers
Function
build_table_cell
internal/cbm/sqlite_writer.c:809
↓ 2 callers
Function
builtin_wrapper_class
Map BUILTIN type names to their wrapper class for method dispatch. `"x".split(...)` works because TS treats string primitives as having String prototy
internal/cbm/lsp/ts_lsp.c:1316
↓ 2 callers
Function
c_emit_resolved_call
internal/cbm/lsp/c_lsp.c:3508
↓ 2 callers
Function
c_emit_resolved_call_orig
internal/cbm/lsp/c_lsp.c:3489
↓ 2 callers
Function
c_lookup_fp_target
Look up function pointer target
internal/cbm/lsp/c_lsp.c:183
↓ 2 callers
Function
c_lsp_add_include
internal/cbm/lsp/c_lsp.c:76
↓ 2 callers
Function
c_parse_return_type_text
internal/cbm/lsp/c_lsp.c:4993
↓ 2 callers
Function
c_register_lsp_defs
Register one batch of CBMLSPDef[] into a registry. Shared by the * per-file cross-LSP path and the Tier 2 pre-built registry builder. * Reads field/
internal/cbm/lsp/c_lsp.c:5315
↓ 2 callers
Function
c_resolve_name
Look up a name following C++ name resolution order: 1. Current scope chain 2. Using declarations 3. Enclosing class (implicit this) 4. Using namespace
internal/cbm/lsp/c_lsp.c:620
↓ 2 callers
Function
c_resolve_template_param
Resolve a template type parameter using defaults from current template scope
internal/cbm/lsp/c_lsp.c:507
↓ 2 callers
Function
call_tool
tests/test_incremental.c:121
↓ 2 callers
Function
callables_with_outbound
Callables (Function OR Method) that have >=1 outbound edge — the cross-language * "calls are attributed to the calling routine, not lumped on the fil
tests/test_lang_contract.c:178
↓ 2 callers
Function
calls_emit_edge
src/pipeline/pass_calls.c:313
↓ 2 callers
Function
canonicalize_repo_path_if_exists
src/mcp/mcp.c:731
↓ 2 callers
Function
cascade_delete_edges
Cascade-delete all edges touching nodes in deleted_set. */
src/graph_buffer/graph_buffer.c:316
↓ 2 callers
Function
cbm_ac_scan_bitmask
cbm_ac_scan_bitmask scans text through the automaton and returns a bitmask of all matched pattern IDs (patterns 0..63).
internal/cbm/ac.c:236
↓ 2 callers
Function
cbm_adr_render
src/store/store.c:5764
↓ 2 callers
Function
cbm_alloc_init
internal/cbm/cbm.c:288
↓ 2 callers
Function
cbm_app_local_dir
src/foundation/platform.c:381
↓ 2 callers
Function
cbm_artifact_import
src/pipeline/artifact.c:592
↓ 2 callers
Function
cbm_ast_profile_from_str
src/semantic/ast_profile.c:344
↓ 2 callers
Function
cbm_ast_profile_to_str
src/semantic/ast_profile.c:321
↓ 2 callers
Function
cbm_ast_profile_to_vector
src/semantic/ast_profile.c:385
↓ 2 callers
Function
cbm_build_cmdline
Build a properly-quoted Windows command line from an argv array. * Returns a heap-allocated wide string, or NULL on allocation failure. * Quoting fo
src/foundation/compat_fs.c:454
↓ 2 callers
Function
cbm_cargo_is_known_dep
internal/cbm/lsp/rust_cargo.c:293
↓ 2 callers
Function
cbm_cargo_parse
internal/cbm/lsp/rust_cargo.c:252
↓ 2 callers
Function
cbm_classify_string
internal/cbm/helpers.c:1429
↓ 2 callers
Function
cbm_claude_user_root
Resolve the parent dir containing `.claude.json` (Claude Code's user config file). * Honors $CLAUDE_CONFIG_DIR; falls back to "$home_dir". */
src/cli/cli.c:1138
↓ 2 callers
Function
cbm_clean_json_brackets
src/pipeline/pass_infrascan.c:354
↓ 2 callers
Function
cbm_cli_build_args_json
src/cli/cli.c:4589
↓ 2 callers
Function
cbm_cli_print_tool_help
src/cli/cli.c:4685
↓ 2 callers
Function
cbm_cli_sha256_file
Compute the SHA-256 of a file in-process (no external hashing tool — those * differ per OS, may be absent, and mis-quote paths under cmd.exe). Writes
src/cli/cli.c:2976
↓ 2 callers
Function
cbm_compile_flags_free
src/pipeline/pass_compile_commands.c:142
↓ 2 callers
Function
cbm_compute_change_coupling
src/pipeline/pass_githistory.c:258
↓ 2 callers
Function
cbm_confidence_band
src/pipeline/registry.c:43
↓ 2 callers
Function
cbm_config_delete
src/cli/cli.c:2809
↓ 2 callers
Function
cbm_config_get_int
src/cli/cli.c:2778
↓ 2 callers
Function
cbm_copy_binary_to_target
Copy the running binary into the canonical install target, preserving the * executable bit. When src and dst are the same on-disk file the copy is *
src/cli/cli.c:384
↓ 2 callers
Function
cbm_copy_file
src/cli/cli.c:319
↓ 2 callers
Function
cbm_cpp_out_of_line_parent_class
C++/CUDA: out-of-line method definitions name the function with a qualified declarator (`Foo::bar`, or `ns::Foo::bar`). Return the immediate enclosing
internal/cbm/extract_defs.c:484
↓ 2 callers
Function
cbm_cross_repo_match
src/pipeline/pass_cross_repo.c:751
↓ 2 callers
Function
cbm_cypher_parse
src/cypher/cypher.c:2015
↓ 2 callers
Function
cbm_detect_cgroup_cpus
Effective CPU count from a cgroup file tree. See header for contract. */
src/foundation/system_info.c:132
↓ 2 callers
Function
cbm_detect_cgroup_mem
Effective memory limit from a cgroup file tree. See header for contract. */
src/foundation/system_info.c:176
↓ 2 callers
Function
cbm_detect_shell_rc
src/cli/cli.c:198
↓ 2 callers
Function
cbm_disambiguate_m
src/discover/language.c:997
↓ 2 callers
Function
cbm_ensure_path
src/cli/cli.c:2299
↓ 2 callers
Function
cbm_envaccess_push
internal/cbm/cbm.c:155
↓ 2 callers
Function
cbm_extract_binary_from_targz
src/cli/cli.c:2444
↓ 2 callers
Function
cbm_extract_binary_from_zip
src/cli/cli.c:2565
↓ 2 callers
Function
cbm_extract_flags
src/pipeline/pass_compile_commands.c:120
← previous
next →
801–900 of 4,316, ranked by callers