()
| 30 | #[allow(unused)] |
| 31 | impl EvictionIndex { |
| 32 | fn new() -> Self { |
| 33 | Self { |
| 34 | // @NOTE: Uses inline constants; will only work for msrv = |
| 35 | // 1.79.0 |
| 36 | inner: core::array::from_fn(|_| AtomicU64::new(u64::MAX)), |
| 37 | } |
| 38 | } |
| 39 | |
| 40 | fn idx(counter: u32) -> usize { |
| 41 | counter as usize % 256 |
nothing calls this directly
no outgoing calls
no test coverage detected