Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/19h/dazhbog
/ functions
Functions
746 in github.com/19h/dazhbog
⨍
Functions
746
◇
Types & classes
159
↓ 2 callers
Function
decode_basenames
(mut b: &[u8])
src/engine/context_index.rs:1322
↓ 2 callers
Function
decode_key_bins
(mut b: &[u8])
src/engine/context_index.rs:1237
↓ 2 callers
Function
decode_pull
Decode a Pull request.
src/protocol/rpc/decoder.rs:32
↓ 2 callers
Function
decode_version_stats
(mut b: &[u8])
src/engine/context_index.rs:1275
↓ 2 callers
Function
dedup_binary_refs
(items: &mut Vec<BinaryRefHit>)
src/db/database.rs:2698
↓ 2 callers
Method
draw
(&self, current_binary: &str, final_line: bool)
src/bin/export_function_binary_csv.rs:109
↓ 2 callers
Function
encode_push_ok
Encode a Push OK response.
src/protocol/rpc/encoder.rs:82
↓ 2 callers
Function
escape_bytes
(bytes: &[u8])
src/protocol/lumina/type_decoder.rs:1631
↓ 2 callers
Function
exact_chunk_set
(data: &[u8])
src/bin/eval_semantic.rs:213
↓ 2 callers
Function
fetch_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 callers
Method
filter_visible_search_hits
( &self, hits: Vec<SearchHit>, )
src/db/database.rs:822
↓ 2 callers
Method
for_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 callers
Function
format_reg1
(reg: i32, off: i32)
src/protocol/lumina/type_decoder.rs:1465
↓ 2 callers
Function
format_reg2
(reglo: i32, reghi: i32)
src/protocol/lumina/type_decoder.rs:1473
↓ 2 callers
Function
frame
Minimal frame encoder matching dazhbog's protocol
tests/protocol_test.rs:6
↓ 2 callers
Function
generated_hex_marker_len
(lower: &str, marker: &str)
src/db/semantic.rs:484
↓ 2 callers
Method
get_basenames_for_key
Get binary basenames associated with a function key.
src/db/database.rs:1045
↓ 2 callers
Method
get_binary_function_hits
( &self, md5: [u8; 16], offset: usize, limit: usize, )
src/db/database.rs:1113
↓ 2 callers
Method
get_binary_graph
( &self, md5: [u8; 16], depth: usize, limit: usize, )
src/db/database.rs:1332
↓ 2 callers
Method
get_binary_overlap_cache
( &self, md5: &[u8; 16], )
src/engine/context_index.rs:829
↓ 2 callers
Method
get_binary_related
( &self, md5: [u8; 16], limit: usize, )
src/db/database.rs:1212
↓ 2 callers
Function
get_data_dir
Get the analysis data directory path.
tests/metadata_parser.rs:11
↓ 2 callers
Method
get_record_count
Get total record count across all segments.
src/engine/segment.rs:950
↓ 2 callers
Function
get_str
Read a length-prefixed string.
src/protocol/codec.rs:37
↓ 2 callers
Function
get_str
(src: &mut &[u8])
src/engine/context_index.rs:1014
↓ 2 callers
Function
handle_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 callers
Function
handle_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 callers
Function
handle_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 callers
Function
harmonic_mean
(a: f64, b: f64)
src/bin/eval_semantic.rs:310
↓ 2 callers
Function
hash_bytes64
(b: &[u8])
src/common/hash.rs:98
↓ 2 callers
Method
inc_indexed_funcs
(&self)
src/api/metrics.rs:295
↓ 2 callers
Method
inc_pulls
(&self, n: u64)
src/api/metrics.rs:210
↓ 2 callers
Method
inc_queried_funcs
(&self, n: u64)
src/api/metrics.rs:225
↓ 2 callers
Method
inc_total_records
(&self)
src/api/metrics.rs:305
↓ 2 callers
Method
inc_unique_binaries
(&self)
src/api/metrics.rs:359
↓ 2 callers
Method
inc_upstream_fetched
(&self, n: u64)
src/api/metrics.rs:260
↓ 2 callers
Function
is_generic_neighbor_token
(token: &str)
src/db/database.rs:2594
↓ 2 callers
Function
is_user_cc
(raw: u32)
src/protocol/lumina/type_decoder.rs:1524
↓ 2 callers
Method
iter_keys
(&self)
src/engine/index.rs:109
↓ 2 callers
Function
load_config
Load configuration from a file path.
src/config/parser.rs:9
↓ 2 callers
Function
looks_like_http
(hdr: &[u8])
src/net/protocol.rs:26
↓ 2 callers
Function
looks_like_http2_preface
(hdr: &[u8])
src/net/protocol.rs:39
↓ 2 callers
Function
metadata_quality_score_with_fingerprint
( name: &str, metadata: &FunctionMetadata, fingerprint: &SemanticFingerprint, )
src/db/semantic.rs:216
↓ 2 callers
Function
migrate_context
(data_dir: &PathBuf)
src/bin/recover.rs:484
↓ 2 callers
Function
neighbor_token_rank
(token: &str)
src/db/database.rs:2672
↓ 2 callers
Function
now_ts_sec
()
src/db/failure_cache.rs:68
↓ 2 callers
Function
open_latest_index
(data_dir: &PathBuf)
src/bin/recover.rs:147
↓ 2 callers
Method
parse_argloc
(&mut self, forbid_stkoff: bool)
src/protocol/lumina/type_decoder.rs:983
↓ 2 callers
Method
parse_attr_header
(&mut self, sdacl: bool)
src/protocol/lumina/type_decoder.rs:866
↓ 2 callers
Method
parse_func_args
( &mut self, n: usize, cc_raw: u32, args: &mut Vec<FunctionArg>, )
src/protocol/lumina/type_decoder.rs:602
↓ 2 callers
Function
parse_insn_cmts
(data: &[u8])
src/protocol/lumina/metadata.rs:415
↓ 2 callers
Function
parse_lumina_hello
Parse a Lumina Hello message.
src/protocol/lumina/parser.rs:59
↓ 2 callers
Function
parse_lumina_pull_metadata
Parse a Lumina PullMetadata message.
src/protocol/lumina/parser.rs:78
↓ 2 callers
Function
pearson_correlation
(pairs: &[(f64, f64)])
src/bin/eval_semantic.rs:426
↓ 2 callers
Method
print
(&self)
src/bin/recover.rs:60
↓ 2 callers
Function
print_metric_block
(label: &str, acc: &MetricAccumulator)
src/bin/eval_semantic.rs:338
↓ 2 callers
Function
print_usage
()
src/bin/recover.rs:378
↓ 2 callers
Function
put_bytes
Write a length-prefixed byte array (4-byte LE length + bytes).
src/protocol/codec.rs:83
↓ 2 callers
Method
query_fields
(&self)
src/engine/search/index.rs:417
↓ 2 callers
Method
read_db
(&mut self)
src/protocol/lumina/metadata.rs:470
↓ 2 callers
Method
read_dq
(&mut self)
src/protocol/lumina/type_decoder.rs:1133
↓ 2 callers
Method
read_field_byte
(&mut self)
src/protocol/lumina/type_decoder.rs:1247
↓ 2 callers
Function
read_lumina_packet
Read a Lumina packet (client-side).
src/protocol/lumina/builder.rs:58
↓ 2 callers
Method
read_type_name
(&mut self)
src/protocol/lumina/type_decoder.rs:1209
↓ 2 callers
Function
rebuild_from_engine_with_progress
( search: &SearchIndex, segments: &OpenSegments, index: &ShardedIndex, ctx_index: &ContextInde
src/engine/search/rebuild.rs:66
↓ 2 callers
Method
rebuild_index
(&self, index: &crate::engine::index::ShardedIndex)
src/engine/segment.rs:607
↓ 2 callers
Function
rebuild_search
(data_dir: &PathBuf)
src/bin/recover.rs:1104
↓ 2 callers
Method
record_binary_host
(&self, md5: [u8; 16], hostname: &str, ts_sec: u64)
src/engine/context_index.rs:884
↓ 2 callers
Method
record_binary_name_alias
(&self, md5: [u8; 16], basename: &str)
src/engine/context_index.rs:861
↓ 2 callers
Function
register_tokenizers
(index: &Index)
src/engine/search/index.rs:782
↓ 2 callers
Function
router
Route HTTP requests to appropriate handlers.
src/api/http/router.rs:32
↓ 2 callers
Function
run_server
(cfg: Arc<Config>)
src/main.rs:135
↓ 2 callers
Method
scan_records
(&self, readers: &[SegmentReader], mut callback: F)
src/engine/segment.rs:361
↓ 2 callers
Method
search_internal
( &self, query: &str, offset: usize, limit: usize, )
src/engine/search/index.rs:431
↓ 2 callers
Function
select_from_versions
( rt: &EngineRuntime, versions: &[AnalyzedVersion], scoring_ctx: &CandidateScoringContext<'_>,
src/db/database.rs:2080
↓ 2 callers
Method
select_versions_for_batch
Select best versions for a batch of keys using semantic-aware scoring.
src/db/database.rs:1670
↓ 2 callers
Function
selection_metrics
( selector: &ReplaySelectorResult, holdout_name: &str, holdout_data: &[u8], requested_mdkeys:
src/bin/eval_semantic.rs:237
↓ 2 callers
Method
semantic_neighbors
( &self, seed: &SearchDocument, exclude_key: u128, limit: usize, )
src/engine/search/index.rs:349
↓ 2 callers
Function
send_lumina_info_result
Send a Lumina Info Result response (0x2c).
src/protocol/lumina/builder.rs:119
↓ 2 callers
Function
send_lumina_push_result
Send a Lumina PushResult response (0x11).
src/protocol/lumina/builder.rs:271
↓ 2 callers
Method
set
(&mut self, n: u64)
src/bin/recover.rs:51
↓ 2 callers
Function
setup_logger
()
src/main.rs:20
↓ 2 callers
Function
sort_case_label_key
(label: &str)
src/api/http/handlers.rs:83
↓ 2 callers
Method
sub_search_docs
(&self, n: u64)
src/api/metrics.rs:335
↓ 2 callers
Function
take_value
(args: &[String], i: &mut usize, flag: &str)
src/bin/dump_function_names.rs:36
↓ 2 callers
Function
take_value
(args: &[String], i: &mut usize, flag: &str)
src/bin/export_function_binary_csv.rs:33
↓ 2 callers
Function
token_dice_score
(lhs: &[String], rhs: &[String])
src/db/database.rs:2489
↓ 2 callers
Method
total_segment_size
(&self, readers: &[SegmentReader])
src/engine/segment.rs:347
↓ 2 callers
Function
try_legacy_go_middle_dot
(name: &str)
src/common/demangle.rs:55
↓ 2 callers
Method
try_reserve
Try to reserve `n` bytes from the budget. Returns a guard that releases the reservation on drop.
src/net/budget.rs:26
↓ 2 callers
Function
unpack_dq
Unpack a variable-length 64-bit integer as dd(low) + dd(high).
src/protocol/lumina/wire.rs:161
↓ 2 callers
Method
update_search_entry
(&self, key: u128, name: &str, data: &[u8], ts: u64)
src/db/database.rs:244
↓ 2 callers
Method
uptime_secs
Get current uptime in seconds.
src/api/metrics.rs:365
↓ 2 callers
Function
v64
(v: u64)
src/engine/index.rs:48
↓ 2 callers
Function
write_line
( writer: &mut W, include_key: bool, key: u128, name: &str, )
src/bin/dump_function_names.rs:124
↓ 1 callers
Method
add_search_docs
(&self, n: u64)
src/api/metrics.rs:325
↓ 1 callers
Method
advance
(&mut self, rows: u64, current_binary: &str, force: bool)
src/bin/export_function_binary_csv.rs:94
↓ 1 callers
Method
approx_is_empty
(&self)
src/engine/context_index.rs:190
↓ 1 callers
Function
binary_host_key
(md5: &[u8; 16], host: &str)
src/engine/context_index.rs:1038
↓ 1 callers
Function
build_family_posterior
(rt: &EngineRuntime, keys: &[u128])
src/db/database.rs:2229
← previous
next →
201–300 of 746, ranked by callers