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

Method isWritable

bolt/vector/ComplexVector.cpp:442–452  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

440}
441
442bool RowVector::isWritable() const {
443 for (int i = 0; i < childrenSize_; i++) {
444 if (children_[i]) {
445 if (!BaseVector::isVectorWritable(children_[i])) {
446 return false;
447 }
448 }
449 }
450
451 return isNullsWritable();
452}
453
454uint64_t RowVector::estimateFlatSize() const {
455 uint64_t total = BaseVector::retainedSize();

Callers 3

maybePushBackMethod · 0.45
isVectorWritableFunction · 0.45
findReusableArgMethod · 0.45

Calls 3

isVectorWritableFunction · 0.85
isNullsWritableFunction · 0.85
isMutableMethod · 0.80

Tested by

no test coverage detected