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

Method insertAfter

source/test/btree_test.cpp:129–131  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

127
128template <typename Key, typename Pointer>
129void SimpleBTreeIndex<Key, Pointer>::insertAfter(size_t i, Key k, Pointer p) {
130 pointers.insertAt(i, Element{k, p});
131}
132
133template <typename Key, typename Pointer>
134size_t SimpleBTreeIndex<Key, Pointer>::indexLevel() const {

Callers 3

addOrSetMethod · 0.45
indexInsertAfterMethod · 0.45
TESTFunction · 0.45

Calls 1

insertAtMethod · 0.80

Tested by

no test coverage detected