(cov: &[u64], bit: u32)
| 349 | gen_count_lookup_table!(SMALL_COUNT_LOOKUP_16, bucket_count_small); |
| 350 | |
| 351 | pub fn is_bit_set(cov: &[u64], bit: u32) -> bool { |
| 352 | let (index, bit) = (bit / 64, bit % 64); |
| 353 | match cov.get(index as usize) { |
| 354 | Some(entry) => (entry & (1 << bit)) != 0, |
| 355 | None => false, |
| 356 | } |
| 357 | } |
| 358 | |
| 359 | type BlockCoverageSnapshot = Vec<u8>; |
| 360 |
no test coverage detected