MCPcopy Create free account
hub / github.com/ceph/ceph / insert

Method insert

src/include/cpp-btree/btree_container.h:235–237  ·  view source on GitHub ↗

Insertion routines.

Source from the content-addressed store, hash-verified

233
234 // Insertion routines.
235 std::pair<iterator, bool> insert(const value_type &x) {
236 return this->tree_.insert_unique(params_type::key(x), x);
237 }
238 std::pair<iterator, bool> insert(value_type &&x) {
239 return this->tree_.insert_unique(params_type::key(x), std::move(x));
240 }

Callers 2

add_old_poolMethod · 0.45
old_pools_cbMethod · 0.45

Calls 6

insert_uniqueMethod · 0.80
insert_hint_uniqueMethod · 0.80
iteratorClass · 0.50
beginMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected