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

Function getOrCreateEmpty

bolt/vector/BaseVector.h:672–677  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

670 }
671
672 static VectorPtr getOrCreateEmpty(
673 VectorPtr vector,
674 const TypePtr& type,
675 bolt::memory::MemoryPool* pool) {
676 return vector ? vector : create(type, 0, pool);
677 }
678
679 void setNulls(const BufferPtr& nulls);
680

Callers 5

ArrayVectorMethod · 0.85
setElementsMethod · 0.85
MapVectorMethod · 0.85
setKeysAndValuesMethod · 0.85
TEST_FFunction · 0.85

Calls 1

createFunction · 0.70

Tested by 1

TEST_FFunction · 0.68