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

Function chi

src/lib.rs:171–181  ·  view source on GitHub ↗
(a: &mut [T; 25])

Source from the content-addressed store, hash-verified

169
170#[inline(always)]
171fn chi<T>(a: &mut [T; 25])
172where
173 T: Not<Output = T> + BitAnd<Output = T> + BitXor<Output = T> + Default + Copy,
174{
175 let mut b = <[T; 5]>::default();
176 chi_(a, &mut b, 0);
177 chi_(a, &mut b, 5);
178 chi_(a, &mut b, 10);
179 chi_(a, &mut b, 15);
180 chi_(a, &mut b, 20);
181}
182
183#[inline(always)]
184fn chi_<T>(a: &mut [T], b: &mut [T], n: usize)

Callers 1

iterFunction · 0.85

Calls 1

chi_Function · 0.85

Tested by

no test coverage detected