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

Method usedSize

bolt/vector/ComplexVector.cpp:1429–1437  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1427 }
1428 childrenLoaded_ = true;
1429 containsLazyNotLoaded_ = false;
1430}
1431
1432uint64_t CompositeRowVector::usedSize() const {
1433 auto size = BaseVector::usedSize();
1434 size += rowBuffer_->allocatedBytes();
1435 if (validChildren_) {
1436 validChildren_->applyToSelected(
1437 [&](vector_size_t index) { size += children_[index]->usedSize(); });
1438 }
1439 return size;
1440}

Callers 7

operator()Method · 0.45
AsStringViewFunction · 0.45
ensureInputFitsMethod · 0.45
ensureInputFitsMethod · 0.45
ensureInputFitsMethod · 0.45
estimateBytesPerRowMethod · 0.45
mainFunction · 0.45

Calls 3

usedSizeFunction · 0.85
applyToSelectedMethod · 0.80
allocatedBytesMethod · 0.45

Tested by 1

AsStringViewFunction · 0.36