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

Method begin

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

* Iterators */

Source from the content-addressed store, hash-verified

1011 * Iterators
1012 */
1013 iterator begin() noexcept {
1014 auto begin = m_buckets_data.begin();
1015 while (begin != m_buckets_data.end() && begin->empty()) {
1016 ++begin;
1017 }
1018
1019 return (begin != m_buckets_data.end())
1020 ? iterator(begin, begin->cbegin(), this)
1021 : end();
1022 }
1023
1024 const_iterator begin() const noexcept { return cbegin(); }
1025

Callers 6

emplaceMethod · 0.45
findMethod · 0.45
mutable_iteratorMethod · 0.45
emplace_implMethod · 0.45

Calls 6

iteratorClass · 0.50
endFunction · 0.50
cbeginFunction · 0.50
endMethod · 0.45
emptyMethod · 0.45
cbeginMethod · 0.45

Tested by

no test coverage detected