MCPcopy Create free account

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

Functions746 in github.com/19h/dazhbog

↓ 251 callersMethodpush
Push function metadata without context.
src/db/database.rs:299
↓ 224 callersMethodis_empty
Check if the index is empty.
src/engine/search/index.rs:249
↓ 119 callersMethodclone
(&self)
src/engine/segment.rs:153
↓ 79 callersFunctionpack_dd
Pack a variable-length 32-bit integer (IDA format). The IDA dd format encoding: - 1 byte: 0x00-0x7F for values 0-127 - 2 bytes: for values 0x80-0x3FF
src/protocol/lumina/wire.rs:81
↓ 75 callersFunctionlog_info
(msg: &str)
src/bin/recover.rs:133
↓ 66 callersMethodinsert
Add a key to the failure cache with current timestamp.
src/db/failure_cache.rs:47
↓ 56 callersMethodload
Load configuration from a file path.
src/config/parser.rs:228
↓ 48 callersMethodget
(&self, key: u128)
src/engine/index.rs:70
↓ 36 callersFunctionunpack_dd
Unpack a variable-length 32-bit integer (IDA format).
src/protocol/lumina/wire.rs:35
↓ 33 callersFunctionjson_response
Create a JSON response.
src/api/http/handlers.rs:684
↓ 27 callersFunctionparse_metadata
(data: &[u8])
src/protocol/lumina/metadata.rs:615
↓ 27 callersMethodpersist_u64
(&self, key: &[u8], value: u64)
src/api/metrics.rs:202
↓ 24 callersFunctionwrite_all
(w: &mut W, buf: &[u8])
src/net/handler.rs:31
↓ 21 callersFunctionlog_step
(step: u32, total: u32, msg: &str)
src/bin/recover.rs:137
↓ 21 callersMethodraw
(self)
src/protocol/lumina/metadata.rs:30
↓ 21 callersMethodread_byte
(&mut self)
src/protocol/lumina/type_decoder.rs:1241
↓ 20 callersMethodread_dt
(&mut self)
src/protocol/lumina/type_decoder.rs:1157
↓ 19 callersFunctionget_u64_le
(src: &mut &[u8])
src/engine/context_index.rs:992
↓ 19 callersFunctionput_u64_le
(v: u64, dst: &mut Vec<u8>)
src/engine/context_index.rs:973
↓ 18 callersFunctiondemangle
Attempt to demangle a symbol name using all known schemes. Returns the demangled name if successful, otherwise the original.
src/common/demangle.rs:16
↓ 18 callersMethodget_latest
Get the latest version of a function by key.
src/db/database.rs:265
↓ 18 callersMethodlock
(&self)
src/engine/spin.rs:17
↓ 18 callersFunctiontokenize_semantic_text
(input: &str)
src/db/semantic.rs:591
↓ 18 callersFunctionusize_to_f64
(v: usize)
src/db/semantic.rs:970
↓ 17 callersFunctionencode_fail
Encode a Fail response.
src/protocol/rpc/encoder.rs:46
↓ 17 callersFunctionpack_dq
Pack a variable-length 64-bit integer as dd(low) + dd(high). NOTE: pack_dq must encode the low 32 bits first, then the high 32 bits, matching how IDA
src/protocol/lumina/wire.rs:152
↓ 17 callersFunctionparse_query_param
Parse a query parameter from a request.
src/api/http/handlers.rs:667
↓ 16 callersFunctionconnect
Connect to upstream server (plain TCP or TLS with optional insecure verification).
src/db/upstream.rs:36
↓ 15 callersMethodload_u64
(&self, tree: &sled::Tree, key: &[u8], target: &AtomicU64)
src/api/metrics.rs:193
↓ 14 callersFunctionchunk
(raw_key: u32, data: &[u8])
tests/semantic_matching.rs:8
↓ 14 callersMethodparse
(data: &'a [u8])
src/protocol/lumina/metadata.rs:234
↓ 13 callersMethodas_slice
Get the frame data as a slice.
src/net/budget.rs:83
↓ 13 callersFunctionread_with_timeout
Read with timeout to prevent hanging
tests/security_fuzzing.rs:69
↓ 13 callersFunctionwrite_lumina_packet
Write a packet in Lumina format with chunking for large payloads.
src/protocol/lumina/builder.rs:11
↓ 12 callersMethodget_binary_refs_for_key
Get structured binary references associated with a function key.
src/db/database.rs:1056
↓ 12 callersMethodis_ok
(&self)
src/protocol/lumina/metadata.rs:174
↓ 12 callersFunctionsend_lumina_fail
Send a Lumina Fail response (0x0b).
src/protocol/lumina/builder.rs:184
↓ 11 callersMethodfinish
(&self)
src/bin/recover.rs:91
↓ 11 callersMethodinc
(&mut self, n: u64)
src/bin/recover.rs:41
↓ 10 callersFunctionconnect_to_server
Test helper that connects to server and returns stream
tests/security_fuzzing.rs:53
↓ 10 callersMethodget_binary_meta
(&self, md5: &[u8; 16])
src/engine/context_index.rs:627
↓ 10 callersMethodget_version_stats
(&self, version_id: &[u8; 32])
src/engine/context_index.rs:615
↓ 10 callersFunctionis_rejected_function_name
(name: &str)
src/db/semantic.rs:387
↓ 10 callersMethodparse_type
(&mut self)
src/protocol/lumina/type_decoder.rs:421
↓ 10 callersMethodread_de
(&mut self)
src/protocol/lumina/type_decoder.rs:1177
↓ 9 callersFunctionconnect_to_server
()
tests/boundary_conditions.rs:12
↓ 9 callersMethodget_binary_facets
( &self, md5: [u8; 16], limit: usize, )
src/db/database.rs:1275
↓ 9 callersFunctionget_bytes
(src: &mut &'a [u8], n: usize)
src/engine/context_index.rs:1000
↓ 9 callersMethodinc_upstream_errors
(&self)
src/api/metrics.rs:265
↓ 9 callersMethodread
(&mut self, max_len: usize)
src/db/upstream.rs:27
↓ 9 callersFunctionread_with_timeout
( reader: &mut R, buf: &mut [u8], timeout_ms: u64, )
tests/boundary_conditions.rs:44
↓ 9 callersMethodremove
Remove a key from the failure cache.
src/db/failure_cache.rs:55
↓ 8 callersFunctionanalyze_function
(name: &str, data: &[u8])
src/db/semantic.rs:101
↓ 8 callersFunctioncollect_attr_tokens
(header: &ParsedAttrHeader, known_bits: u32)
src/protocol/lumina/type_decoder.rs:1277
↓ 8 callersFunctiondecode_tinfo_decl
(type_bytes: &[u8], fields_bytes: &[u8])
src/protocol/lumina/type_decoder.rs:1622
↓ 8 callersMethodget_binary_summary
(&self, md5: [u8; 16])
src/db/database.rs:1106
↓ 8 callersFunctionget_test_config
Helper to create a default config pointing to the temp dir
tests/database_integration.rs:21
↓ 8 callersFunctionprogress_snapshot
( phase: RebuildProgressPhase, current: u64, total: u64, summary: SearchRebuildSummary, )
src/engine/search/rebuild.rs:251
↓ 8 callersFunctionraw_frame
Create a raw frame with custom length (potentially malformed)
tests/security_fuzzing.rs:24
↓ 8 callersMethodread_at
(&self, offset: u64)
src/engine/segment.rs:170
↓ 8 callersFunctionsetup_test_db_dir
Helper to create a temporary directory for tests
tests/database_integration.rs:9
↓ 8 callersFunctionshape_metadata_for_request
(data: &[u8], requested_mdkeys: &[u32])
src/db/semantic.rs:647
↓ 7 callersFunctionbest_neighbor_tokens
(tokens: &[String], max_terms: usize)
src/engine/search/index.rs:642
↓ 7 callersMethodcommit
Commit pending changes and reload the reader.
src/engine/search/index.rs:272
↓ 7 callersFunctiondedup_tokens
(tokens: &mut Vec<String>)
src/db/semantic.rs:965
↓ 7 callersFunctionframe
Create a wire-format frame with message type and payload.
src/protocol/codec.rs:114
↓ 7 callersMethodget_binary_function_keys
(&self, md5: &[u8; 16], limit: usize)
src/engine/context_index.rs:768
↓ 7 callersFunctionnormalize_requested_mdkeys
(requested_mdkeys: &[u32])
src/db/semantic.rs:636
↓ 7 callersFunctionpack_addr
(seg_id: u16, offset: u64, flags: u8)
src/common/addr.rs:13
↓ 7 callersFunctionpack_ea64
Pack an ea64 address as unpack_dq() + 1.
src/protocol/lumina/wire.rs:175
↓ 7 callersMethodparse_optional_tah
(&mut self)
src/protocol/lumina/type_decoder.rs:850
↓ 6 callersMethodappend
(&mut self, rec: &Record)
src/engine/segment.rs:88
↓ 6 callersFunctionencode_hello
(protocol_version: u32, username: &str, password: &str)
tests/performance_stress.rs:28
↓ 6 callersMethodentry_count
(&self)
src/engine/index.rs:104
↓ 6 callersMethodget_history
Get function history by key.
src/db/database.rs:774
↓ 6 callersFunctionhex_bytes
(bytes: &[u8])
src/bin/eval_semantic.rs:196
↓ 6 callersMethodindex_function_no_commit
Index a single function document without committing.
src/engine/search/index.rs:260
↓ 6 callersFunctionparse_md5_hex
(md5_hex: &str)
src/api/http/handlers.rs:1479
↓ 6 callersFunctionparse_md5_hex_local
(md5_hex: &str)
src/db/database.rs:2893
↓ 6 callersMethodpeek_byte
(&self)
src/protocol/lumina/type_decoder.rs:1253
↓ 6 callersFunctionsanitize_basename
(input: &str)
src/engine/context_index.rs:1339
↓ 6 callersFunctionunpack_cstr_capped
Unpack a null-terminated C-string with maximum length check.
src/protocol/lumina/wire.rs:189
↓ 6 callersFunctionunpack_var_bytes_capped
Unpack variable-length bytes with maximum length check.
src/protocol/lumina/wire.rs:202
↓ 6 callersMethodweighted_term_clauses
( &self, field: Field, tokens: &[String], base_weight: f32, max_terms:
src/engine/search/index.rs:563
↓ 5 callersFunctionaddr_off
(addr: Addr)
src/common/addr.rs:25
↓ 5 callersFunctionaddr_seg
(addr: Addr)
src/common/addr.rs:19
↓ 5 callersFunctiondecode_binary_meta
(mut b: &[u8])
src/engine/context_index.rs:1140
↓ 5 callersFunctiondecode_key_md5_stats
(mut b: &[u8])
src/engine/context_index.rs:1215
↓ 5 callersFunctionfiltered_tokens
(tokens: &[String])
src/bin/audit_neighbor_tokens.rs:340
↓ 5 callersMethodget_key_md5_stats
(&self, key: u128, md5: &[u8; 16])
src/engine/context_index.rs:651
↓ 5 callersMethodget_reader
(&self, seg_id: u16)
src/engine/segment.rs:559
↓ 5 callersFunctionget_u32_le
(src: &mut &[u8])
src/engine/context_index.rs:984
↓ 5 callersMethodinc_decoder_rejects
(&self)
src/api/metrics.rs:250
↓ 5 callersMethodopen
(cfg: Engine, scoring: Scoring)
src/engine/mod.rs:34
↓ 5 callersMethodpush_with_ctx
Push function metadata with context information.
src/db/database.rs:310
↓ 5 callersFunctionput_u32_le
(v: u32, dst: &mut Vec<u8>)
src/engine/context_index.rs:970
↓ 5 callersFunctionread_with_timeout
( reader: &mut R, buf: &mut [u8], timeout_ms: u64, )
tests/performance_stress.rs:45
↓ 5 callersMethodsearch
Search for functions matching the query. Returns up to `limit` results.
src/engine/search/index.rs:330
↓ 5 callersFunctionsemantic_token_dice_score
(lhs: &[String], rhs: &[String])
src/db/database.rs:2503
↓ 5 callersFunctionshared_ranked_tokens
(lhs: &[String], rhs: &[String], limit: usize)
src/db/database.rs:2563
next →1–100 of 746, ranked by callers