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

Method prepareForReuse

bolt/vector/ComplexVector.cpp:465–473  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

463}
464
465void RowVector::prepareForReuse() {
466 BaseVector::prepareForReuse();
467 for (auto& child : children_) {
468 if (child) {
469 BaseVector::prepareForReuse(child, 0);
470 }
471 }
472 updateContainsLazyNotLoaded();
473}
474
475VectorPtr RowVector::slice(vector_size_t offset, vector_size_t length) const {
476 std::vector<VectorPtr> children(children_.size());

Callers

nothing calls this directly

Calls 5

zeroOutBufferFunction · 0.85
isMutableMethod · 0.80
applyToSelectedMethod · 0.80
clearMethod · 0.45
resetMethod · 0.45

Tested by

no test coverage detected