| 19 | } |
| 20 | |
| 21 | void BitVector::resize_zero(size_t new_nbits) |
| 22 | { |
| 23 | size_t old_nbytes = nbytes; |
| 24 | resize(new_nbits); |
| 25 | if (old_nbytes < nbytes) |
| 26 | avx_memzero(bytes + old_nbytes, nbytes - old_nbytes); |
| 27 | } |
| 28 | |
| 29 | const void* BitVector::get_ptr_to_byte(size_t i, size_t block_size) const |
| 30 | { |
no test coverage detected