MCPcopy Create free account

hub / github.com/19h/dazhbog / functions

Functions746 in github.com/19h/dazhbog

↓ 2 callersFunctiondecode_basenames
(mut b: &[u8])
src/engine/context_index.rs:1322
↓ 2 callersFunctiondecode_key_bins
(mut b: &[u8])
src/engine/context_index.rs:1237
↓ 2 callersFunctiondecode_pull
Decode a Pull request.
src/protocol/rpc/decoder.rs:32
↓ 2 callersFunctiondecode_version_stats
(mut b: &[u8])
src/engine/context_index.rs:1275
↓ 2 callersFunctiondedup_binary_refs
(items: &mut Vec<BinaryRefHit>)
src/db/database.rs:2698
↓ 2 callersMethoddraw
(&self, current_binary: &str, final_line: bool)
src/bin/export_function_binary_csv.rs:109
↓ 2 callersFunctionencode_push_ok
Encode a Push OK response.
src/protocol/rpc/encoder.rs:82
↓ 2 callersFunctionescape_bytes
(bytes: &[u8])
src/protocol/lumina/type_decoder.rs:1631
↓ 2 callersFunctionexact_chunk_set
(data: &[u8])
src/bin/eval_semantic.rs:213
↓ 2 callersFunctionfetch_from_upstreams
Fetch missing items from upstream servers. Returns vector aligned to `keys`. Tries servers in priority order (lower priority number = higher priority)
src/db/upstream.rs:213
↓ 2 callersMethodfilter_visible_search_hits
( &self, hits: Vec<SearchHit>, )
src/db/database.rs:822
↓ 2 callersMethodfor_each_record
Iterate over all records in all segment trees, invoking the callback for each decoded record. Corrupt or unreadable records are skipped.
src/engine/segment.rs:656
↓ 2 callersFunctionformat_reg1
(reg: i32, off: i32)
src/protocol/lumina/type_decoder.rs:1465
↓ 2 callersFunctionformat_reg2
(reglo: i32, reghi: i32)
src/protocol/lumina/type_decoder.rs:1473
↓ 2 callersFunctionframe
Minimal frame encoder matching dazhbog's protocol
tests/protocol_test.rs:6
↓ 2 callersFunctiongenerated_hex_marker_len
(lower: &str, marker: &str)
src/db/semantic.rs:484
↓ 2 callersMethodget_basenames_for_key
Get binary basenames associated with a function key.
src/db/database.rs:1045
↓ 2 callersMethodget_binary_function_hits
( &self, md5: [u8; 16], offset: usize, limit: usize, )
src/db/database.rs:1113
↓ 2 callersMethodget_binary_graph
( &self, md5: [u8; 16], depth: usize, limit: usize, )
src/db/database.rs:1332
↓ 2 callersMethodget_binary_overlap_cache
( &self, md5: &[u8; 16], )
src/engine/context_index.rs:829
↓ 2 callersMethodget_binary_related
( &self, md5: [u8; 16], limit: usize, )
src/db/database.rs:1212
↓ 2 callersFunctionget_data_dir
Get the analysis data directory path.
tests/metadata_parser.rs:11
↓ 2 callersMethodget_record_count
Get total record count across all segments.
src/engine/segment.rs:950
↓ 2 callersFunctionget_str
Read a length-prefixed string.
src/protocol/codec.rs:37
↓ 2 callersFunctionget_str
(src: &mut &[u8])
src/engine/context_index.rs:1014
↓ 2 callersFunctionhandle_http_connection
Handle an HTTP connection with automatic HTTP/1.1 and HTTP/2 detection. This is the preferred handler that uses hyper-util's auto builder to automati
src/api/http/router.rs:105
↓ 2 callersFunctionhandle_http_connection_with_protocol
Handle an HTTP connection when we know the protocol from ALPN negotiation. When TLS ALPN has negotiated the protocol, we can skip auto-detection and
src/api/http/router.rs:120
↓ 2 callersFunctionhandle_tls_no_alpn
Handle a TLS connection without ALPN (native-tls or no client ALPN). We need to peek at the decrypted stream to detect the protocol.
src/net/server.rs:108
↓ 2 callersFunctionharmonic_mean
(a: f64, b: f64)
src/bin/eval_semantic.rs:310
↓ 2 callersFunctionhash_bytes64
(b: &[u8])
src/common/hash.rs:98
↓ 2 callersMethodinc_indexed_funcs
(&self)
src/api/metrics.rs:295
↓ 2 callersMethodinc_pulls
(&self, n: u64)
src/api/metrics.rs:210
↓ 2 callersMethodinc_queried_funcs
(&self, n: u64)
src/api/metrics.rs:225
↓ 2 callersMethodinc_total_records
(&self)
src/api/metrics.rs:305
↓ 2 callersMethodinc_unique_binaries
(&self)
src/api/metrics.rs:359
↓ 2 callersMethodinc_upstream_fetched
(&self, n: u64)
src/api/metrics.rs:260
↓ 2 callersFunctionis_generic_neighbor_token
(token: &str)
src/db/database.rs:2594
↓ 2 callersFunctionis_user_cc
(raw: u32)
src/protocol/lumina/type_decoder.rs:1524
↓ 2 callersMethoditer_keys
(&self)
src/engine/index.rs:109
↓ 2 callersFunctionload_config
Load configuration from a file path.
src/config/parser.rs:9
↓ 2 callersFunctionlooks_like_http
(hdr: &[u8])
src/net/protocol.rs:26
↓ 2 callersFunctionlooks_like_http2_preface
(hdr: &[u8])
src/net/protocol.rs:39
↓ 2 callersFunctionmetadata_quality_score_with_fingerprint
( name: &str, metadata: &FunctionMetadata, fingerprint: &SemanticFingerprint, )
src/db/semantic.rs:216
↓ 2 callersFunctionmigrate_context
(data_dir: &PathBuf)
src/bin/recover.rs:484
↓ 2 callersFunctionneighbor_token_rank
(token: &str)
src/db/database.rs:2672
↓ 2 callersFunctionnow_ts_sec
()
src/db/failure_cache.rs:68
↓ 2 callersFunctionopen_latest_index
(data_dir: &PathBuf)
src/bin/recover.rs:147
↓ 2 callersMethodparse_argloc
(&mut self, forbid_stkoff: bool)
src/protocol/lumina/type_decoder.rs:983
↓ 2 callersMethodparse_attr_header
(&mut self, sdacl: bool)
src/protocol/lumina/type_decoder.rs:866
↓ 2 callersMethodparse_func_args
( &mut self, n: usize, cc_raw: u32, args: &mut Vec<FunctionArg>, )
src/protocol/lumina/type_decoder.rs:602
↓ 2 callersFunctionparse_insn_cmts
(data: &[u8])
src/protocol/lumina/metadata.rs:415
↓ 2 callersFunctionparse_lumina_hello
Parse a Lumina Hello message.
src/protocol/lumina/parser.rs:59
↓ 2 callersFunctionparse_lumina_pull_metadata
Parse a Lumina PullMetadata message.
src/protocol/lumina/parser.rs:78
↓ 2 callersFunctionpearson_correlation
(pairs: &[(f64, f64)])
src/bin/eval_semantic.rs:426
↓ 2 callersMethodprint
(&self)
src/bin/recover.rs:60
↓ 2 callersFunctionprint_metric_block
(label: &str, acc: &MetricAccumulator)
src/bin/eval_semantic.rs:338
↓ 2 callersFunctionprint_usage
()
src/bin/recover.rs:378
↓ 2 callersFunctionput_bytes
Write a length-prefixed byte array (4-byte LE length + bytes).
src/protocol/codec.rs:83
↓ 2 callersMethodquery_fields
(&self)
src/engine/search/index.rs:417
↓ 2 callersMethodread_db
(&mut self)
src/protocol/lumina/metadata.rs:470
↓ 2 callersMethodread_dq
(&mut self)
src/protocol/lumina/type_decoder.rs:1133
↓ 2 callersMethodread_field_byte
(&mut self)
src/protocol/lumina/type_decoder.rs:1247
↓ 2 callersFunctionread_lumina_packet
Read a Lumina packet (client-side).
src/protocol/lumina/builder.rs:58
↓ 2 callersMethodread_type_name
(&mut self)
src/protocol/lumina/type_decoder.rs:1209
↓ 2 callersFunctionrebuild_from_engine_with_progress
( search: &SearchIndex, segments: &OpenSegments, index: &ShardedIndex, ctx_index: &ContextInde
src/engine/search/rebuild.rs:66
↓ 2 callersMethodrebuild_index
(&self, index: &crate::engine::index::ShardedIndex)
src/engine/segment.rs:607
↓ 2 callersFunctionrebuild_search
(data_dir: &PathBuf)
src/bin/recover.rs:1104
↓ 2 callersMethodrecord_binary_host
(&self, md5: [u8; 16], hostname: &str, ts_sec: u64)
src/engine/context_index.rs:884
↓ 2 callersMethodrecord_binary_name_alias
(&self, md5: [u8; 16], basename: &str)
src/engine/context_index.rs:861
↓ 2 callersFunctionregister_tokenizers
(index: &Index)
src/engine/search/index.rs:782
↓ 2 callersFunctionrouter
Route HTTP requests to appropriate handlers.
src/api/http/router.rs:32
↓ 2 callersFunctionrun_server
(cfg: Arc<Config>)
src/main.rs:135
↓ 2 callersMethodscan_records
(&self, readers: &[SegmentReader], mut callback: F)
src/engine/segment.rs:361
↓ 2 callersMethodsearch_internal
( &self, query: &str, offset: usize, limit: usize, )
src/engine/search/index.rs:431
↓ 2 callersFunctionselect_from_versions
( rt: &EngineRuntime, versions: &[AnalyzedVersion], scoring_ctx: &CandidateScoringContext<'_>,
src/db/database.rs:2080
↓ 2 callersMethodselect_versions_for_batch
Select best versions for a batch of keys using semantic-aware scoring.
src/db/database.rs:1670
↓ 2 callersFunctionselection_metrics
( selector: &ReplaySelectorResult, holdout_name: &str, holdout_data: &[u8], requested_mdkeys:
src/bin/eval_semantic.rs:237
↓ 2 callersMethodsemantic_neighbors
( &self, seed: &SearchDocument, exclude_key: u128, limit: usize, )
src/engine/search/index.rs:349
↓ 2 callersFunctionsend_lumina_info_result
Send a Lumina Info Result response (0x2c).
src/protocol/lumina/builder.rs:119
↓ 2 callersFunctionsend_lumina_push_result
Send a Lumina PushResult response (0x11).
src/protocol/lumina/builder.rs:271
↓ 2 callersMethodset
(&mut self, n: u64)
src/bin/recover.rs:51
↓ 2 callersFunctionsetup_logger
()
src/main.rs:20
↓ 2 callersFunctionsort_case_label_key
(label: &str)
src/api/http/handlers.rs:83
↓ 2 callersMethodsub_search_docs
(&self, n: u64)
src/api/metrics.rs:335
↓ 2 callersFunctiontake_value
(args: &[String], i: &mut usize, flag: &str)
src/bin/dump_function_names.rs:36
↓ 2 callersFunctiontake_value
(args: &[String], i: &mut usize, flag: &str)
src/bin/export_function_binary_csv.rs:33
↓ 2 callersFunctiontoken_dice_score
(lhs: &[String], rhs: &[String])
src/db/database.rs:2489
↓ 2 callersMethodtotal_segment_size
(&self, readers: &[SegmentReader])
src/engine/segment.rs:347
↓ 2 callersFunctiontry_legacy_go_middle_dot
(name: &str)
src/common/demangle.rs:55
↓ 2 callersMethodtry_reserve
Try to reserve `n` bytes from the budget. Returns a guard that releases the reservation on drop.
src/net/budget.rs:26
↓ 2 callersFunctionunpack_dq
Unpack a variable-length 64-bit integer as dd(low) + dd(high).
src/protocol/lumina/wire.rs:161
↓ 2 callersMethodupdate_search_entry
(&self, key: u128, name: &str, data: &[u8], ts: u64)
src/db/database.rs:244
↓ 2 callersMethoduptime_secs
Get current uptime in seconds.
src/api/metrics.rs:365
↓ 2 callersFunctionv64
(v: u64)
src/engine/index.rs:48
↓ 2 callersFunctionwrite_line
( writer: &mut W, include_key: bool, key: u128, name: &str, )
src/bin/dump_function_names.rs:124
↓ 1 callersMethodadd_search_docs
(&self, n: u64)
src/api/metrics.rs:325
↓ 1 callersMethodadvance
(&mut self, rows: u64, current_binary: &str, force: bool)
src/bin/export_function_binary_csv.rs:94
↓ 1 callersMethodapprox_is_empty
(&self)
src/engine/context_index.rs:190
↓ 1 callersFunctionbinary_host_key
(md5: &[u8; 16], host: &str)
src/engine/context_index.rs:1038
↓ 1 callersFunctionbuild_family_posterior
(rt: &EngineRuntime, keys: &[u128])
src/db/database.rs:2229
← previousnext →201–300 of 746, ranked by callers