| 116 | } |
| 117 | |
| 118 | void BloomFilter::reset() { |
| 119 | if (bits_) { |
| 120 | // make the bits indicate that no keys are set |
| 121 | std::memset(bits_.get(), 0, getByteSize()); |
| 122 | } |
| 123 | } |
| 124 | |
| 125 | void BloomFilter::serializeBits(RecordWriter& rw, uint64_t fragmentSize) { |
| 126 | uint64_t bitsSize = getByteSize(); |