(count: u8)
| 284 | /// better). |
| 285 | #[rustfmt::skip] |
| 286 | const fn bucket_count_afl_first(count: u8) -> u8 { |
| 287 | match count { |
| 288 | 0 => 0b0000_0000, |
| 289 | 1 => 0b0000_0001, |
| 290 | 2 => 0b0000_0011, |
| 291 | 3 => 0b0000_0111, |
| 292 | 4..=7 => 0b0000_1111, |
| 293 | 8..=15 => 0b0001_1111, |
| 294 | 16..=31 => 0b0011_1111, |
| 295 | 32..=127 => 0b0111_1111, |
| 296 | 128..=255 => 0b1111_1111, |
| 297 | } |
| 298 | } |
| 299 | |
| 300 | /// Buckets counts such that entries that are hit a small number of times are consider interesting. |
| 301 | /// |
nothing calls this directly
no outgoing calls
no test coverage detected