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

Method setKeysAndValues

bolt/vector/ComplexVector.h:859–864  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

857 }
858
859 void setKeysAndValues(VectorPtr keys, VectorPtr values) {
860 keys_ = BaseVector::getOrCreateEmpty(
861 std::move(keys), type()->childAt(0), pool_);
862 values_ = BaseVector::getOrCreateEmpty(
863 std::move(values), type()->childAt(1), pool_);
864 }
865
866 void copyRanges(
867 const BaseVector* source,

Callers 3

readMapVectorFunction · 0.80
pruneRandomSubfieldFunction · 0.80
TEST_FFunction · 0.80

Calls 3

getOrCreateEmptyFunction · 0.85
childAtMethod · 0.80
typeEnum · 0.50

Tested by 2

pruneRandomSubfieldFunction · 0.64
TEST_FFunction · 0.64