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

Method insert

source/test/btree_test.cpp:222–224  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

220
221template <typename Key, typename Data, typename Pointer>
222void SimpleBTreeLeaf<Key, Data, Pointer>::insert(size_t i, Key k, Data d) {
223 elements.insertAt(i, Element{std::move(k), std::move(d)});
224}
225
226template <typename Key, typename Data, typename Pointer>
227void SimpleBTreeLeaf<Key, Data, Pointer>::remove(size_t i) {

Callers 15

shiftLeftMethod · 0.45
shiftRightMethod · 0.45
splitMethod · 0.45
leafInsertMethod · 0.45
putAllFunction · 0.45
TESTFunction · 0.45
putAllFunction · 0.45
TESTFunction · 0.45
TESTFunction · 0.45
TESTFunction · 0.45
TESTFunction · 0.45
TESTFunction · 0.45

Calls 1

insertAtMethod · 0.80

Tested by

no test coverage detected