MCPcopy Create free account
hub / github.com/bitcoin/bitcoin / First

Method First

src/util/bitset.h:188–192  ·  view source on GitHub ↗

Find the first element (requires Any()). */

Source from the content-addressed store, hash-verified

186 constexpr IteratorEnd end() const noexcept { return IteratorEnd(); }
187 /** Find the first element (requires Any()). */
188 constexpr unsigned First() const noexcept
189 {
190 Assume(m_val != 0);
191 return std::countr_zero(m_val);
192 }
193 /** Find the last element (requires Any()). */
194 constexpr unsigned Last() const noexcept
195 {

Callers 12

AddTransactionMethod · 0.45
PickMergeCandidateMethod · 0.45
SpanningForestStateMethod · 0.45
SanityCheckMethod · 0.45
FUZZ_TARGETFunction · 0.45
TestTypeFunction · 0.45
FindCandidateSetMethod · 0.45
MakeConnectedFunction · 0.45
ReadTopologicalSetFunction · 0.45
BuildTreeGraphFunction · 0.45
FUZZ_TARGETFunction · 0.45

Calls

no outgoing calls

Tested by 7

FUZZ_TARGETFunction · 0.36
TestTypeFunction · 0.36
FindCandidateSetMethod · 0.36
MakeConnectedFunction · 0.36
ReadTopologicalSetFunction · 0.36
BuildTreeGraphFunction · 0.36
FUZZ_TARGETFunction · 0.36