MCPcopy Create free account
hub / github.com/apache/arrow / cleanup

Method cleanup

cpp/src/arrow/compute/key_map_internal.cc:809–820  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

807}
808
809void 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

Callers 1

ResetMethod · 0.45

Calls 2

ComputeBitsShiftForBlockFunction · 0.85

Tested by

no test coverage detected