(&self, global_counter: u32, counter_value: u32)
| 128 | } |
| 129 | |
| 130 | fn should_evict(&self, global_counter: u32, counter_value: u32) -> bool { |
| 131 | let eviction_prob = self.eviction_probability(global_counter, counter_value); |
| 132 | eviction_prob > rand::thread_rng().gen() |
| 133 | } |
| 134 | } |
| 135 | |
| 136 | #[allow(unused)] |
nothing calls this directly
no test coverage detected