MCPcopy Create free account
hub / github.com/apache/arrow / MakeVector

Method MakeVector

cpp/src/arrow/util/small_vector_test.cc:146–152  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

144
145 template <size_t N>
146 IntVectorType<N> MakeVector(const std::vector<int>& init_values) {
147 IntVectorType<N> ints;
148 for (auto v : init_values) {
149 ints.emplace_back(v);
150 }
151 return ints;
152 }
153
154 template <size_t N>
155 IntVectorType<N> CheckFourValues() {

Callers

nothing calls this directly

Calls 1

emplace_backMethod · 0.80

Tested by

no test coverage detected