| 10 | #include <assert.h> |
| 11 | |
| 12 | void BitVector::assign(const BitVector& K) |
| 13 | { |
| 14 | if (nbits != K.nbits) |
| 15 | { |
| 16 | resize(K.nbits); |
| 17 | } |
| 18 | memcpy(bytes, K.bytes, nbytes); |
| 19 | } |
| 20 | |
| 21 | void BitVector::resize_zero(size_t new_nbits) |
| 22 | { |
no outgoing calls
no test coverage detected