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

Method fuzzRow

bolt/vector/fuzzer/VectorFuzzer.cpp:1319–1336  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1317}
1318
1319RowVectorPtr VectorFuzzer::fuzzRow(
1320 std::vector<VectorPtr>&& children,
1321 std::vector<std::string> childrenNames,
1322 vector_size_t size) {
1323 std::vector<TypePtr> types;
1324 types.reserve(children.size());
1325
1326 for (const auto& child : children) {
1327 types.emplace_back(child->type());
1328 }
1329
1330 return std::make_shared<RowVector>(
1331 pool_,
1332 ROW(std::move(childrenNames), std::move(types)),
1333 fuzzNulls(size),
1334 size,
1335 std::move(children));
1336}
1337
1338RowVectorPtr VectorFuzzer::fuzzRow(
1339 std::vector<VectorPtr>&& children,

Callers 15

TEST_FFunction · 0.80
makeRowVectorMethod · 0.80
createVectorsMethod · 0.80
TEST_FFunction · 0.80
fuzzDataMethod · 0.80
DEBUG_ONLY_TEST_PFunction · 0.80
DEBUG_ONLY_TEST_FFunction · 0.80
TEST_FFunction · 0.80
TEST_FFunction · 0.80
setUpMethod · 0.80
TEST_PFunction · 0.80
TEST_FFunction · 0.80

Calls 6

ROWFunction · 0.85
childAtMethod · 0.80
reserveMethod · 0.45
sizeMethod · 0.45
typeMethod · 0.45
push_backMethod · 0.45

Tested by 15

TEST_FFunction · 0.64
makeRowVectorMethod · 0.64
createVectorsMethod · 0.64
TEST_FFunction · 0.64
DEBUG_ONLY_TEST_PFunction · 0.64
DEBUG_ONLY_TEST_FFunction · 0.64
TEST_FFunction · 0.64
TEST_FFunction · 0.64
setUpMethod · 0.64
TEST_PFunction · 0.64
TEST_FFunction · 0.64
DEBUG_ONLY_TEST_FFunction · 0.64