Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
ArrayVector
Method · 0.85
setElements
Method · 0.85
MapVector
Method · 0.85
setKeysAndValues
Method · 0.85
TEST_F
Function · 0.85
Calls
1
create
Function · 0.70
Tested by
1
TEST_F
Function · 0.68