MCPcopy Create free account
hub / github.com/comaps/comaps / swap

Method swap

3party/succinct/darray.hpp:72–77  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

70 }
71
72 void swap(darray& other) {
73 std::swap(other.m_positions, m_positions);
74 m_block_inventory.swap(other.m_block_inventory);
75 m_subblock_inventory.swap(other.m_subblock_inventory);
76 m_overflow_positions.swap(other.m_overflow_positions);
77 }
78
79 inline uint64_t select(bit_vector const& bv, uint64_t idx) const
80 {

Callers 4

BOOST_AUTO_TEST_CASEFunction · 0.45
disposeFunction · 0.45
build_random_binary_treeFunction · 0.45
buildMethod · 0.45

Calls 1

swapFunction · 0.50

Tested by 3

BOOST_AUTO_TEST_CASEFunction · 0.36
build_random_binary_treeFunction · 0.36
buildMethod · 0.36