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

Function assertCopyableVector

bolt/vector/tests/utils/VectorTestBase.cpp:176–180  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

174}
175
176void assertCopyableVector(const VectorPtr& vector) {
177 auto copy =
178 BaseVector::create(vector->type(), vector->size(), vector->pool());
179 copy->copy(vector.get(), 0, 0, vector->size());
180}
181
182} // namespace bytedance::bolt::test

Callers 1

TEST_FFunction · 0.85

Calls 6

createFunction · 0.50
typeMethod · 0.45
sizeMethod · 0.45
poolMethod · 0.45
copyMethod · 0.45
getMethod · 0.45

Tested by

no test coverage detected