MCPcopy Create free account
hub / github.com/NationalSecurityAgency/TraceAnalysis / _impl

Method _impl

dynamic-dataflow/core/src/operation.rs:748–751  ·  view source on GitHub ↗

Performs a zero extension of `b` and stores the result in `a` (i.e. `a = zext(b)`). # Panics Panics if `b.len() > a.len()`.

(a: &mut [u8], b: &[u8])

Source from the content-addressed store, hash-verified

746 ///
747 /// Panics if `b.len() > a.len()`.
748 pub fn _impl(a: &mut [u8], b: &[u8]) {
749 a.fill(0);
750 (&mut a[..b.len()]).copy_from_slice(b)
751 }
752}
753
754impl IntSignExtend {

Callers

nothing calls this directly

Calls 6

to_primitiveMethod · 0.80
write_le_bytesMethod · 0.80
for_eachMethod · 0.80
lenMethod · 0.45
iterMethod · 0.45
cmpMethod · 0.45

Tested by

no test coverage detected