MCPcopy Create free account
hub / github.com/ablab/spades / cbegin

Method cbegin

ext/include/tsl/array-hash/array_hash.h:1026–1035  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1024 const_iterator begin() const noexcept { return cbegin(); }
1025
1026 const_iterator cbegin() const noexcept {
1027 auto begin = m_buckets_data.cbegin();
1028 while (begin != m_buckets_data.cend() && begin->empty()) {
1029 ++begin;
1030 }
1031
1032 return (begin != m_buckets_data.cend())
1033 ? const_iterator(begin, begin->cbegin(), this)
1034 : cend();
1035 }
1036
1037 iterator end() noexcept {
1038 return iterator(m_buckets_data.end(), array_bucket::cend_it(), this);

Callers 6

array_hash_iteratorClass · 0.45
beginMethod · 0.45
findMethod · 0.45
mutable_iteratorMethod · 0.45
erase_from_bucketMethod · 0.45
deserialize_implMethod · 0.45

Calls 4

const_iteratorClass · 0.50
cendFunction · 0.50
cendMethod · 0.45
emptyMethod · 0.45

Tested by

no test coverage detected