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

Function resizeVector

bolt/exec/tests/AsyncSpillerTest.cpp:100–106  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

98}
99
100void resizeVector(RowVector& vector, vector_size_t size) {
101 vector.prepareForReuse();
102 vector.resize(size);
103 for (int32_t childIdx = 0; childIdx < vector.childrenSize(); ++childIdx) {
104 vector.childAt(childIdx)->resize(size);
105 }
106}
107} // namespace
108
109class SpillerTest : public exec::test::RowContainerTestBase {

Callers 1

verifySortedSpillDataMethod · 0.70

Calls 4

childAtMethod · 0.80
prepareForReuseMethod · 0.45
resizeMethod · 0.45
childrenSizeMethod · 0.45

Tested by

no test coverage detected