MCPcopy Create free account
hub / github.com/Vectorized/function-selector-miner / rho_pi_

Function rho_pi_

src/lib.rs:153–160  ·  view source on GitHub ↗
(a: &mut [T; 25], b: &mut [T; 5], m: usize, n: u32)

Source from the content-addressed store, hash-verified

151
152#[inline(always)]
153fn rho_pi_<T>(a: &mut [T; 25], b: &mut [T; 5], m: usize, n: u32)
154where
155 T: Copy + Shl<u32, Output = T> + Shr<u32, Output = T> + BitOr<Output = T>,
156{
157 let t = b[0];
158 b[0] = a[m];
159 a[m] = rotate_left(t, n);
160}
161
162#[inline(always)]
163fn rotate_left<T>(value: T, shift: u32) -> T

Callers 1

rho_piFunction · 0.85

Calls 1

rotate_leftFunction · 0.85

Tested by

no test coverage detected