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

Method GetSize

libs/coding/sparse_vector.hpp:19–19  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

17
18 bool Empty() const { return GetSize() == 0; }
19 uint64_t GetSize() const { return m_bits.size(); }
20 bool Has(uint64_t i) const { return m_bits[i]; }
21 Value const & Get(uint64_t i) const { return m_values[m_bits.rank(i)]; }
22

Callers 3

SizeMethod · 0.45
UNIT_TESTFunction · 0.45
UNIT_TESTFunction · 0.45

Calls 1

sizeMethod · 0.45

Tested by 2

UNIT_TESTFunction · 0.36
UNIT_TESTFunction · 0.36