MCPcopy Create free account
hub / github.com/LPC4/Full-Stack / push_u32_le

Function push_u32_le

crates/asm-to-binary/src/assembler/output.rs:190–192  ·  view source on GitHub ↗
(buf: &mut Vec<u8>, v: u32)

Source from the content-addressed store, hash-verified

188 self.line_table.iter().copied()
189 }
190
191 /// Source location covering `addr` as `(file, 1-based line)`: the greatest
192 /// entry not exceeding `addr`; line-0 module-end sentinels read as none.
193 pub fn source_for_addr(&self, addr: u64) -> Option<(&str, u32)> {
194 let idx = match self.line_table.binary_search_by(|e| e.addr.cmp(&addr)) {
195 Ok(i) => i,

Callers 2

to_objectMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected