MCPcopy Create free account
hub / github.com/bytedance/bolt / testingNonEmptySpilledPartitionSet

Method testingNonEmptySpilledPartitionSet

bolt/exec/Spill.cpp:271–279  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

269}
270
271SpillPartitionNumSet SpillState::testingNonEmptySpilledPartitionSet() const {
272 SpillPartitionNumSet partitionSet;
273 for (uint32_t partition = 0; partition < maxPartitions_; ++partition) {
274 if (partitionWriters_[partition] != nullptr) {
275 partitionSet.insert(partition);
276 }
277 }
278 return partitionSet;
279}
280
281std::vector<std::unique_ptr<SpillPartition>> SpillPartition::split(
282 int numShards) {

Callers 4

setupSpillStateMethod · 0.80
TEST_PFunction · 0.80
TEST_PFunction · 0.80
TEST_PFunction · 0.80

Calls 1

insertMethod · 0.45

Tested by 4

setupSpillStateMethod · 0.64
TEST_PFunction · 0.64
TEST_PFunction · 0.64
TEST_PFunction · 0.64