MCPcopy Create free account
hub / github.com/ElementsProject/elements / empty

Method empty

src/bench/nanobench.h:2961–2963  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2959}
2960
2961bool Result::empty() const noexcept {
2962 return 0U == size();
2963}
2964
2965size_t Result::size() const noexcept {
2966 auto const& data = mNameToMeasurements[detail::u(Measure::elapsed)];

Callers 15

removeForBlockMethod · 0.45
FormatScriptFunction · 0.45
ScriptToAsmStrFunction · 0.45
DisconnectMethod · 0.45
AbsPathJoinFunction · 0.45
VerifyIssuanceAmountFunction · 0.45
VerifyAmountsFunction · 0.45
RunMethod · 0.45
HTTPBindAddressesFunction · 0.45
CheckPeginTxFunction · 0.45

Calls 1

sizeFunction · 0.50

Tested by 15

TestPassphraseSingleMethod · 0.36
TestEncryptSingleMethod · 0.36
FuzzedWalletMethod · 0.36
~FuzzedWalletMethod · 0.36
GetScriptPubKeyMethod · 0.36
FUZZ_TARGET_INITFunction · 0.36
set_vchMethod · 0.36
BOOST_AUTO_TEST_CASEFunction · 0.36
BOOST_FIXTURE_TEST_CASEFunction · 0.36
BlockBuildMerkleTreeFunction · 0.36
EXCLUSIVE_LOCKS_REQUIREDFunction · 0.36
BOOST_AUTO_TEST_CASEFunction · 0.36