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