MCPcopy Create free account

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

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

↓ 2 callersFunctionscan_pattern_nodes
src/cypher/cypher.c:2808
↓ 2 callersFunctionscore_overload_match
Score an overload match: higher = better. 0 = wrong arg count (no match).
internal/cbm/lsp/type_registry.c:707
↓ 2 callersFunctionseen_set_free
src/simhash/minhash.c:431
↓ 2 callersFunctionseen_set_init
src/simhash/minhash.c:407
↓ 2 callersFunctionseen_set_insert
src/simhash/minhash.c:413
↓ 2 callersFunctionsha256_transform
src/foundation/sha256.c:26
↓ 2 callersFunctionslab_free
src/foundation/slab_alloc.c:354
↓ 2 callersFunctionslab_map_indices
src/foundation/slab_alloc.c:136
↓ 2 callersFunctionslab_map_lookup
Lock-free. Returns the slab page whose base == (ptr & mask), or NULL if the * masked base is not a registered slab page (i.e. ptr is a plain heap blo
src/foundation/slab_alloc.c:149
↓ 2 callersFunctionslab_map_set
Cold path. Sets the leaf entry for `base` to `val` (page to register, NULL to * unregister), allocating intermediate tables on demand. Returns false
src/foundation/slab_alloc.c:168
↓ 2 callersFunctionslab_map_unregister_page
src/foundation/slab_alloc.c:398
↓ 2 callersFunctionslab_reclaim_pages
Retire ownership and drop the owner guard for every page this thread owns. * A page with no live chunks is freed immediately; a page still holding *
src/foundation/slab_alloc.c:264
↓ 2 callersFunctionsnippet_suggestions
Build a JSON suggestions response for ambiguous or fuzzy results. */
src/mcp/mcp.c:4024
↓ 2 callersFunctionspec_type_matches
--- Generic spec-driven imports --- For grammar-only languages that have no dedicated parser above, consume the `import_node_types` declared in the la
internal/cbm/extract_imports.c:1340
↓ 2 callersFunctionsplit_pipe_strings
Helper: split "|"-separated string into array of const char*.
internal/cbm/lsp/go_lsp.c:2080
↓ 2 callersFunctionsplit_pipe_types
Helper: split "|"-separated string into array of CBMType*.
internal/cbm/lsp/go_lsp.c:2048
↓ 2 callersMethodstart
(self)
tests/windows/mcp_stdio.py:43
↓ 2 callersFunctionstarts_with_segment
internal/cbm/service_patterns.c:553
↓ 2 callersFunctionstat_mtime_ns
src/pipeline/pipeline_incremental.c:63
↓ 2 callersFunctionstr_eq_or_both_null
internal/cbm/lsp/type_rep.c:565
↓ 2 callersFunctionsubmit
(path = currentPath)
graph-ui/src/components/StatsTab.tsx:231
↓ 2 callersFunctiontest_null_dev
tests/test_pipeline.c:2733
↓ 2 callersFunctiontf_extract_quoted
Extract a double-quoted string value after = sign. * Handles: key = "value" and key = value */
src/pipeline/pass_infrascan.c:908
↓ 2 callersFunctionth_cleanup
Remove a temp directory tree. Safe to call with NULL. */
tests/test_helpers.h:165
↓ 2 callersFunctionth_http
One-shot HTTP exchange. Returns response length, 0 on connect failure. */
tests/test_httpd.c:123
↓ 2 callersFunctionth_make_executable
Make a file executable. On Windows this is a no-op (all files are * "executable" if they have the right extension). */
tests/test_helpers.h:154
↓ 2 callersFunctiontoml_extract_name
Extract "name" value from a TOML section. Scans from section_start until * the next [...] header or EOF. Returns heap string or NULL. */
src/pipeline/pass_pkgmap.c:350
↓ 2 callersFunctiontrim_dup
Duplicate a substring [start, end). Trims trailing whitespace. */
src/foundation/yaml.c:96
↓ 2 callersFunctiontrim_ws
src/discover/discover.c:153
↓ 2 callersFunctiontry_route_from_annotation
Try to extract a route from a Java/JVM/Kotlin annotation node (`annotation` or * `marker_annotation`). Spring mapping annotations carry the HTTP meth
internal/cbm/extract_defs.c:1587
↓ 2 callersFunctionts_emit_resolved_call
internal/cbm/lsp/ts_lsp.c:148
↓ 2 callersFunctionts_emit_unresolved_call
internal/cbm/lsp/ts_lsp.c:161
↓ 2 callersFunctionts_is_assignable
Public entry point. Allocates a small per-call cache on the stack.
internal/cbm/lsp/ts_lsp.c:962
↓ 2 callersFunctionts_process_statement
internal/cbm/lsp/ts_lsp.c:2221
↓ 2 callersFunctionts_reg_method
internal/cbm/lsp/ts_lsp.c:3243
↓ 2 callersFunctionts_register_lsp_defs
Register a batch of CBMLSPDef[] into a registry. Mirrors the inline * loop in cbm_run_ts_lsp_cross — KEEP IN SYNC. Shared by the Tier 2 * pre-built
internal/cbm/lsp/ts_lsp.c:4885
↓ 2 callersFunctionuninstall_agent_mcp_instr
src/cli/cli.c:3937
↓ 2 callersFunctionunquote
Unquote a string literal: "foo" -> foo, 'foo' -> foo
internal/cbm/extract_env_accesses.c:17
↓ 2 callersFunctionunquote_string
internal/cbm/extract_channels.c:51
↓ 2 callersFunctionunsupported_clause_error
src/cypher/cypher.c:805
↓ 2 callersFunctionunwrap_pair_value
Unwrap a block_mapping_pair value through optional block_node.
internal/cbm/extract_k8s.c:249
↓ 2 callersFunctionvalidateURLScheme
validateURLScheme rejects non-https URLs before any fetch (defense-in-depth).
pkg/go/cmd/codebase-memory-mcp/main.go:177
↓ 2 callersFunctionvalidateUrl
(url)
pkg/npm/install.js:35
↓ 2 callersFunctionvalidate_search_path_arg
Validate shell-safe arguments for search. */ Search/grep paths and globs are ALWAYS single-quoted (POSIX sh) or * double-/single-quoted (Windows cmd/
src/mcp/mcp.c:5043
↓ 2 callersFunctionwait_readable
Wait until the socket is readable. 1 = readable, 0 = timeout, -1 = error. * Windows uses select() deliberately (WSAPoll has a Won't-Fix bug where *
src/ui/httpd.c:74
↓ 2 callersFunctionwalk_es_imports
internal/cbm/extract_imports.c:496
↓ 2 callersFunctionwalk_with_narrowings
Walk a body subtree under a narrowed scope (with up to N bindings), then * restore. */
internal/cbm/lsp/php_lsp.c:1920
↓ 2 callersFunctionwd_collect_children
Collect all `cc` children of `node` linearly via a TSTreeCursor into a * malloc'd array (caller frees). Returns NULL for small nodes and on OOM — *
internal/cbm/extract_defs.c:5710
↓ 2 callersFunctionwith_add_vbinding_var
Add a virtual variable binding for one WITH item */
src/cypher/cypher.c:3595
↓ 2 callersFunctionwrite_overflow_pages
--- Overflow page writer --- Writes overflow pages for payload bytes that exceed local storage. Returns the first overflow page number (embedded in th
internal/cbm/sqlite_writer.c:856
↓ 1 callersFunction_arch
()
pkg/pypi/src/codebase_memory_mcp/_cli.py:128
↓ 1 callersFunction_cache_dir
()
pkg/pypi/src/codebase_memory_mcp/_cli.py:137
↓ 1 callersFunction_download
(version: str)
pkg/pypi/src/codebase_memory_mcp/_cli.py:152
↓ 1 callersFunction_os_name
()
pkg/pypi/src/codebase_memory_mcp/_cli.py:117
↓ 1 callersMethod_read_message
(self, timeout=60)
tests/windows/mcp_stdio.py:65
↓ 1 callersFunction_safe_extract_tar
Extract a tarfile to dest, rejecting path-traversal entries. Uses the tarfile data filter on Python >=3.12 (PEP 706), falls back to manual pe
pkg/pypi/src/codebase_memory_mcp/_cli.py:33
↓ 1 callersFunction_safe_extract_zip
Extract a zipfile to dest, rejecting path-traversal entries.
pkg/pypi/src/codebase_memory_mcp/_cli.py:60
↓ 1 callersFunction_verify_checksum
Verify SHA256 checksum against checksums.txt from the release.
pkg/pypi/src/codebase_memory_mcp/_cli.py:73
↓ 1 callersFunction_version
()
pkg/pypi/src/codebase_memory_mcp/_cli.py:109
↓ 1 callersFunctionac_build_failure
Phase 2: Build failure function via BFS + compute full goto table.
internal/cbm/ac.c:102
↓ 1 callersFunctionac_build_trie
Phase 1: Build trie (goto function) from patterns. Returns state count.
internal/cbm/ac.c:72
↓ 1 callersFunctionac_shrink_tables
Shrink allocations to exact state count.
internal/cbm/ac.c:141
↓ 1 callersFunctionaccum_boundary
Accumulate a cross-package boundary into parallel arrays. */
src/store/store.c:3933
↓ 1 callersFunctionaccumulate_control_flow
Count control-flow statement kinds (if/for/while/switch/try/return). */
src/semantic/ast_profile.c:145
↓ 1 callersFunctionaccumulate_data_flow
Data-flow counter update: bump params_in_returns / params_in_conditions * when the current leaf identifier names a parameter and we're inside the *
src/semantic/ast_profile.c:217
↓ 1 callersFunctionaccumulate_expressions
Count expression- and literal-class counters for one node. */
src/semantic/ast_profile.c:168
↓ 1 callersFunctionaccumulate_halstead
Accumulate Halstead operator/operand counts. Leaf identifiers, literals, * and booleans are "operands"; recognized statement/expression kinds are *
src/semantic/ast_profile.c:196
↓ 1 callersFunctionadd_dedup_type
Add a cleaned, deduplicated type to the types array.
internal/cbm/extract_defs.c:2930
↓ 1 callersFunctionadd_excluded_summary
Attach a compact summary of directory subtrees skipped during discovery (#411). * Shape: "excluded": {"dirs": [up to 25 rel-paths], "count": <total>,
src/mcp/mcp.c:3278
↓ 1 callersFunctionadd_git_context_string
src/mcp/mcp.c:1141
↓ 1 callersFunctionadd_skipped_summary
Attach a summary of per-file skips (Stage 2 / Track B). Always emits a * top-level "skipped_count" (0 on clean runs) so consumers can rely on it. *
src/mcp/mcp.c:3309
↓ 1 callersFunctionadd_string_array
Build an enriched snippet response for a resolved node. */ Add a string array to a JSON object (no-op if count == 0). */
src/mcp/mcp.c:4217
↓ 1 callersFunctionadd_to_search_results
Add a grep hit to the search result set (merge into existing or create new). */
src/mcp/mcp.c:4865
↓ 1 callersFunctionadr_append_line
Append a line to the current section content buffer. */
src/store/store.c:5710
↓ 1 callersFunctionadr_list_sections_from_content
ADR "sections" mode: list markdown headers ('#'-prefixed lines) from the * ADR content string. */
src/mcp/mcp.c:5551
↓ 1 callersFunctionadr_read_legacy_file
Read the legacy file-based ADR (<root>/.codebase-memory/adr.md), used by * older versions. Returns a heap buffer (caller frees) or NULL if missing/
src/mcp/mcp.c:5581
↓ 1 callersFunctionadr_render_section
Append a section to the render buffer. */
src/store/store.c:5756
↓ 1 callersFunctionadr_save_section
Save a completed ADR section into result, trimming whitespace. */
src/store/store.c:5666
↓ 1 callersFunctionadr_try_section_header
Try to extract a canonical section header from a "## Header" line. * Returns heap-allocated header string if canonical, NULL otherwise. */
src/store/store.c:5687
↓ 1 callersFunctionall_results_have_label
Check if ALL results have a specific label (validates label filter works) */
tests/test_incremental.c:886
↓ 1 callersFunctionalloc_chunk
internal/cbm/lsp/scope.c:22
↓ 1 callersFunctionannotation_args_node
Resolve an annotation's argument list across grammars. Kotlin keeps the args * under a `constructor_invocation` child as a `value_arguments` node rat
internal/cbm/extract_defs.c:1566
↓ 1 callersFunctionannotation_name_node
Resolve an annotation's name node across grammars. Java exposes a `name` * field; tree-sitter-kotlin does not — its annotation name lives in a nested
internal/cbm/extract_defs.c:1540
↓ 1 callersFunctionannotation_route_method
HTTP method for a Spring/JAX-RS style annotation name (e.g. "GetMapping" → * "GET", "RequestMapping" → "ANY", JAX-RS "GET" → "GET"). Returns NULL whe
internal/cbm/extract_defs.c:1275
↓ 1 callersFunctionappend_args_json
src/pipeline/pass_parallel.c:1486
↓ 1 callersFunctionappend_complexity_props
Append transitive_loop_depth + recursive to a node's properties JSON object. */
src/pipeline/pass_complexity.c:79
↓ 1 callersFunctionappend_cross_repo_summary
Append cross_repo_links summary to architecture JSON if CROSS_* edges exist. */
src/mcp/mcp.c:2302
↓ 1 callersFunctionappend_field_to_class
Append (field_name, field_type) to the registry slot for `class_qn`. * Used by populate_class_fields_from_ast so eval_field_access can resolve * `ob
internal/cbm/lsp/java_lsp.c:3435
↓ 1 callersFunctionappend_json_str_array
Append a JSON array of strings: ,"key":["a","b","c"]. Atomic like * append_json_string: emitted only if the whole array fits. */
src/pipeline/pass_parallel.c:414
↓ 1 callersFunctionappend_json_str_array
Append a JSON array of strings: ,"key":["a","b","c"]. Atomic like * append_json_string: emitted only if the whole array fits. */
src/pipeline/pass_definitions.c:203
↓ 1 callersFunctionappend_json_string
src/foundation/log.c:144
↓ 1 callersFunctionappend_json_string
Appends are ATOMIC: a field is emitted only if the WHOLE serialized form * fits (with PP_ESC_SPACE bytes reserved for the closing '}' + NUL). Cutting
src/pipeline/pass_parallel.c:386
↓ 1 callersFunctionappend_json_string
Appends are ATOMIC: a field is emitted only if the WHOLE serialized form * fits (with PD_ESC_SPACE bytes reserved for the closing '}' + NUL). Cutting
src/pipeline/pass_definitions.c:175
↓ 1 callersFunctionappend_path_segments
Append dotted path segments from rel_path (extension-stripped) to output buffer.
internal/cbm/helpers.c:1190
↓ 1 callersFunctionappend_roots_json
src/ui/http_server.c:647
↓ 1 callersFunctionappend_text_atom
src/foundation/log.c:130
↓ 1 callersFunctionappend_trajectory
Append one compact JSON line to the persistent NDJSON trajectory, rotating to * <path>.1 once it passes the cap. Best-effort: a failed append never d
src/foundation/diagnostics.c:102
↓ 1 callersFunctionapply_assert_narrowing
`assert(<predicate>)` narrows the current scope sequentially. */
internal/cbm/lsp/php_lsp.c:1884
↓ 1 callersFunctionapply_decorator_tags
Phase 3: Apply candidate tags to nodes in the gbuf. */
src/pipeline/pass_enrichment.c:339
↓ 1 callersFunctionapply_phpdoc_class_tags
internal/cbm/lsp/php_lsp.c:3179
← previousnext →1,401–1,500 of 4,316, ranked by callers