(a: &mut [T; 25])
| 9 | |
| 10 | #[inline(always)] |
| 11 | fn iters<T>(a: &mut [T; 25]) |
| 12 | where |
| 13 | T: BitXorAssign |
| 14 | + BitXor<Output = T> |
| 15 | + Shl<u32, Output = T> |
| 16 | + Shr<u32, Output = T> |
| 17 | + BitOr<Output = T> |
| 18 | + Not<Output = T> |
| 19 | + BitAnd<Output = T> |
| 20 | + BitXorAssign<u64> |
| 21 | + Default |
| 22 | + Copy, |
| 23 | { |
| 24 | let b = &mut <[T; 5]>::default(); |
| 25 | [ |
| 26 | 0x0000000000000001, |
| 27 | 0x0000000000008082, |
| 28 | 0x800000000000808a, |
| 29 | 0x8000000080008000, |
| 30 | 0x000000000000808b, |
| 31 | 0x0000000080000001, |
| 32 | 0x8000000080008081, |
| 33 | 0x8000000000008009, |
| 34 | 0x000000000000008a, |
| 35 | 0x0000000000000088, |
| 36 | 0x0000000080008009, |
| 37 | 0x000000008000000a, |
| 38 | 0x000000008000808b, |
| 39 | 0x800000000000008b, |
| 40 | 0x8000000000008089, |
| 41 | 0x8000000000008003, |
| 42 | 0x8000000000008002, |
| 43 | 0x8000000000000080, |
| 44 | 0x000000000000800a, |
| 45 | 0x800000008000000a, |
| 46 | 0x8000000080008081, |
| 47 | 0x8000000000008080, |
| 48 | 0x0000000080000001, |
| 49 | ] |
| 50 | .into_iter() |
| 51 | .for_each(|v| { |
| 52 | iter(a, b, v); |
| 53 | }); |
| 54 | |
| 55 | iter(a, b, 0x8000000080008008); |
| 56 | } |
| 57 | |
| 58 | #[inline(always)] |
| 59 | fn iter<T>(a: &mut [T; 25], b: &mut [T; 5], x: u64) |
no test coverage detected