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

Method emplace_back

cpp/src/arrow/util/small_vector.h:387–390  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

385
386 template <typename... Args>
387 void emplace_back(Args&&... args) {
388 storage_.bump_size(1);
389 storage_.storage_ptr()[storage_.size_ - 1].construct(std::forward<Args>(args)...);
390 }
391
392 template <typename InputIt>
393 iterator insert(const_iterator insert_at, InputIt first, InputIt last) {

Calls 3

bump_sizeMethod · 0.45
constructMethod · 0.45
storage_ptrMethod · 0.45

Tested by 15

TestOwnedRefMovesFunction · 0.64
TestOwnedRefNoGILMovesFunction · 0.64
TEST_FFunction · 0.64
MakeUnionScalarFunction · 0.64
MakeSpecificNullScalarFunction · 0.64
ASSERT_OK_AND_ASSIGNFunction · 0.64
MakeStatisticsArrayFunction · 0.64
TESTFunction · 0.64
MakeBatchArraysFunction · 0.64
TEST_FFunction · 0.64
TestPathTreeMethod · 0.64
ExpectForestIsFunction · 0.64