| 807 | } |
| 808 | |
| 809 | void SwissTable::cleanup() { |
| 810 | if (blocks_) { |
| 811 | blocks_ = nullptr; |
| 812 | } |
| 813 | if (hashes_) { |
| 814 | hashes_ = nullptr; |
| 815 | } |
| 816 | log_blocks_ = 0; |
| 817 | bits_shift_for_block_and_stamp_ = ComputeBitsShiftForBlockAndStamp(log_blocks_); |
| 818 | bits_shift_for_block_ = ComputeBitsShiftForBlock(log_blocks_); |
| 819 | num_inserted_ = 0; |
| 820 | } |
| 821 | |
| 822 | } // namespace compute |
| 823 | } // namespace arrow |
no test coverage detected