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

Method cleanup

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

Source from the content-addressed store, hash-verified

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

Callers 1

ResetMethod · 0.45

Calls 2

ComputeBitsShiftForBlockFunction · 0.85

Tested by

no test coverage detected