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

Method exceedJoinSpillLevelLimit

bolt/common/base/SpillConfig.cpp:121–129  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

119}
120
121bool SpillConfig::exceedJoinSpillLevelLimit(uint8_t startBitOffset) const {
122 if (startBitOffset + joinPartitionBits > 64) {
123 return true;
124 }
125 if (maxSpillLevel == -1) {
126 return false;
127 }
128 return joinSpillLevel(startBitOffset) > maxSpillLevel;
129}
130
131int32_t SpillConfig::joinSpillLevel(
132 std::map<uint8_t, uint8_t>& offsetToJoinBits) const {

Callers 2

setupSpillerMethod · 0.80
TESTFunction · 0.80

Calls 2

emptyMethod · 0.45
endMethod · 0.45

Tested by 1

TESTFunction · 0.64