(dst: &mut [T], src: T)
| 76 | /// Prepare the repeated pattern and handle the tail independently of the bulk backend. |
| 77 | #[inline(always)] |
| 78 | fn volatile_fill_chunked<T: Copy, const N: usize>(dst: &mut [T], src: T) { |
| 79 | let (chunks, tail) = as_chunks_mut::<T, N>(dst); |
| 80 | |
| 81 | if !chunks.is_empty() { |
| 82 | volatile_fill_iterative(chunks, [src; N]); |
| 83 | } |
| 84 | |
| 85 | volatile_fill_iterative(tail, src); |
| 86 | } |
| 87 | |
| 88 | /// Write individual elements or complete chunks with the same volatile primitive. |
| 89 | #[inline(always)] |
nothing calls this directly
no test coverage detected