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

Function iter

src/lib.rs:59–76  ·  view source on GitHub ↗
(a: &mut [T; 25], b: &mut [T; 5], x: u64)

Source from the content-addressed store, hash-verified

57
58#[inline(always)]
59fn iter<T>(a: &mut [T; 25], b: &mut [T; 5], x: u64)
60where
61 T: BitXorAssign
62 + BitXor<Output = T>
63 + Shl<u32, Output = T>
64 + Shr<u32, Output = T>
65 + BitOr<Output = T>
66 + Not<Output = T>
67 + BitAnd<Output = T>
68 + BitXorAssign<u64>
69 + Default
70 + Copy,
71{
72 theta(a, b);
73 rho_pi(a, b);
74 chi(a);
75 iota(a, x);
76}
77
78#[inline(always)]
79fn theta_<T>(a: &mut [T; 25], b: &[T; 5], m: usize, n: usize, o: usize)

Callers 2

itersFunction · 0.85
equivalentFunction · 0.85

Calls 4

thetaFunction · 0.85
rho_piFunction · 0.85
chiFunction · 0.85
iotaFunction · 0.85

Tested by 1

equivalentFunction · 0.68