81 | 228M | } bool const& inline_check_non_fatal<bool const&>(bool const&, std::source_location const&, std::basic_string_view<char, std::char_traits<char>>) Line | Count | Source | 73 | 103 | { | 74 | 103 | if (!val) { | 75 | 0 | if constexpr (G_ABORT_ON_FAILED_ASSUME) { | 76 | 0 | assertion_fail(loc, assertion); | 77 | 0 | } | 78 | 0 | throw NonFatalCheckError{assertion, loc}; | 79 | 0 | } | 80 | 103 | return std::forward<T>(val); | 81 | 103 | } |
bool&& inline_check_non_fatal<bool>(bool&&, std::source_location const&, std::basic_string_view<char, std::char_traits<char>>) Line | Count | Source | 73 | 221M | { | 74 | 221M | if (!val) { | 75 | 9 | if constexpr (G_ABORT_ON_FAILED_ASSUME) { | 76 | 9 | assertion_fail(loc, assertion); | 77 | 9 | } | 78 | 9 | throw NonFatalCheckError{assertion, loc}; | 79 | 9 | } | 80 | 221M | return std::forward<T>(val); | 81 | 221M | } |
bool& inline_check_non_fatal<bool&>(bool&, std::source_location const&, std::basic_string_view<char, std::char_traits<char>>) Line | Count | Source | 73 | 6.02M | { | 74 | 6.02M | if (!val) { | 75 | 0 | if constexpr (G_ABORT_ON_FAILED_ASSUME) { | 76 | 0 | assertion_fail(loc, assertion); | 77 | 0 | } | 78 | 0 | throw NonFatalCheckError{assertion, loc}; | 79 | 0 | } | 80 | 6.02M | return std::forward<T>(val); | 81 | 6.02M | } |
ValidationSignals* const& inline_check_non_fatal<ValidationSignals* const&>(ValidationSignals* const&, std::source_location const&, std::basic_string_view<char, std::char_traits<char>>) Line | Count | Source | 73 | 13.8k | { | 74 | 13.8k | if (!val) { | 75 | 0 | if constexpr (G_ABORT_ON_FAILED_ASSUME) { | 76 | 0 | assertion_fail(loc, assertion); | 77 | 0 | } | 78 | 0 | throw NonFatalCheckError{assertion, loc}; | 79 | 0 | } | 80 | 13.8k | return std::forward<T>(val); | 81 | 13.8k | } |
CBlockIndex const*&& inline_check_non_fatal<CBlockIndex const*>(CBlockIndex const*&&, std::source_location const&, std::basic_string_view<char, std::char_traits<char>>) Line | Count | Source | 73 | 169k | { | 74 | 169k | if (!val) { | 75 | 0 | if constexpr (G_ABORT_ON_FAILED_ASSUME) { | 76 | 0 | assertion_fail(loc, assertion); | 77 | 0 | } | 78 | 0 | throw NonFatalCheckError{assertion, loc}; | 79 | 0 | } | 80 | 169k | return std::forward<T>(val); | 81 | 169k | } |
CBlockIndex const*& inline_check_non_fatal<CBlockIndex const*&>(CBlockIndex const*&, std::source_location const&, std::basic_string_view<char, std::char_traits<char>>) Line | Count | Source | 73 | 127 | { | 74 | 127 | if (!val) { | 75 | 0 | if constexpr (G_ABORT_ON_FAILED_ASSUME) { | 76 | 0 | assertion_fail(loc, assertion); | 77 | 0 | } | 78 | 0 | throw NonFatalCheckError{assertion, loc}; | 79 | 0 | } | 80 | 127 | return std::forward<T>(val); | 81 | 127 | } |
node::BlockManager*&& inline_check_non_fatal<node::BlockManager*>(node::BlockManager*&&, std::source_location const&, std::basic_string_view<char, std::char_traits<char>>) Line | Count | Source | 73 | 11 | { | 74 | 11 | if (!val) { | 75 | 0 | if constexpr (G_ABORT_ON_FAILED_ASSUME) { | 76 | 0 | assertion_fail(loc, assertion); | 77 | 0 | } | 78 | 0 | throw NonFatalCheckError{assertion, loc}; | 79 | 0 | } | 80 | 11 | return std::forward<T>(val); | 81 | 11 | } |
Unexecuted instantiation: std::shared_ptr<CTransaction const>&& inline_check_non_fatal<std::shared_ptr<CTransaction const>>(std::shared_ptr<CTransaction const>&&, std::source_location const&, std::basic_string_view<char, std::char_traits<char>>) CBlockIndex*& inline_check_non_fatal<CBlockIndex*&>(CBlockIndex*&, std::source_location const&, std::basic_string_view<char, std::char_traits<char>>) Line | Count | Source | 73 | 2.09k | { | 74 | 2.09k | if (!val) { | 75 | 0 | if constexpr (G_ABORT_ON_FAILED_ASSUME) { | 76 | 0 | assertion_fail(loc, assertion); | 77 | 0 | } | 78 | 0 | throw NonFatalCheckError{assertion, loc}; | 79 | 0 | } | 80 | 2.09k | return std::forward<T>(val); | 81 | 2.09k | } |
std::optional<interfaces::BlockRef>&& inline_check_non_fatal<std::optional<interfaces::BlockRef>>(std::optional<interfaces::BlockRef>&&, std::source_location const&, std::basic_string_view<char, std::char_traits<char>>) Line | Count | Source | 73 | 2.11k | { | 74 | 2.11k | if (!val) { | 75 | 0 | if constexpr (G_ABORT_ON_FAILED_ASSUME) { | 76 | 0 | assertion_fail(loc, assertion); | 77 | 0 | } | 78 | 0 | throw NonFatalCheckError{assertion, loc}; | 79 | 0 | } | 80 | 2.11k | return std::forward<T>(val); | 81 | 2.11k | } |
std::unique_ptr<ValidationSignals, std::default_delete<ValidationSignals>>& inline_check_non_fatal<std::unique_ptr<ValidationSignals, std::default_delete<ValidationSignals>>&>(std::unique_ptr<ValidationSignals, std::default_delete<ValidationSignals>>&, std::source_location const&, std::basic_string_view<char, std::char_traits<char>>) Line | Count | Source | 73 | 4.03k | { | 74 | 4.03k | if (!val) { | 75 | 0 | if constexpr (G_ABORT_ON_FAILED_ASSUME) { | 76 | 0 | assertion_fail(loc, assertion); | 77 | 0 | } | 78 | 0 | throw NonFatalCheckError{assertion, loc}; | 79 | 0 | } | 80 | 4.03k | return std::forward<T>(val); | 81 | 4.03k | } |
CBlockIndex*&& inline_check_non_fatal<CBlockIndex*>(CBlockIndex*&&, std::source_location const&, std::basic_string_view<char, std::char_traits<char>>) Line | Count | Source | 73 | 17.7k | { | 74 | 17.7k | if (!val) { | 75 | 0 | if constexpr (G_ABORT_ON_FAILED_ASSUME) { | 76 | 0 | assertion_fail(loc, assertion); | 77 | 0 | } | 78 | 0 | throw NonFatalCheckError{assertion, loc}; | 79 | 0 | } | 80 | 17.7k | return std::forward<T>(val); | 81 | 17.7k | } |
CBlockIndex* const& inline_check_non_fatal<CBlockIndex* const&>(CBlockIndex* const&, std::source_location const&, std::basic_string_view<char, std::char_traits<char>>) Line | Count | Source | 73 | 12 | { | 74 | 12 | if (!val) { | 75 | 0 | if constexpr (G_ABORT_ON_FAILED_ASSUME) { | 76 | 0 | assertion_fail(loc, assertion); | 77 | 0 | } | 78 | 0 | throw NonFatalCheckError{assertion, loc}; | 79 | 0 | } | 80 | 12 | return std::forward<T>(val); | 81 | 12 | } |
std::unique_ptr<node::Warnings, std::default_delete<node::Warnings>>& inline_check_non_fatal<std::unique_ptr<node::Warnings, std::default_delete<node::Warnings>>&>(std::unique_ptr<node::Warnings, std::default_delete<node::Warnings>>&, std::source_location const&, std::basic_string_view<char, std::char_traits<char>>) Line | Count | Source | 73 | 17.3k | { | 74 | 17.3k | if (!val) { | 75 | 0 | if constexpr (G_ABORT_ON_FAILED_ASSUME) { | 76 | 0 | assertion_fail(loc, assertion); | 77 | 0 | } | 78 | 0 | throw NonFatalCheckError{assertion, loc}; | 79 | 0 | } | 80 | 17.3k | return std::forward<T>(val); | 81 | 17.3k | } |
std::optional<kernel::CCoinsStats>& inline_check_non_fatal<std::optional<kernel::CCoinsStats>&>(std::optional<kernel::CCoinsStats>&, std::source_location const&, std::basic_string_view<char, std::char_traits<char>>) Line | Count | Source | 73 | 37 | { | 74 | 37 | if (!val) { | 75 | 0 | if constexpr (G_ABORT_ON_FAILED_ASSUME) { | 76 | 0 | assertion_fail(loc, assertion); | 77 | 0 | } | 78 | 0 | throw NonFatalCheckError{assertion, loc}; | 79 | 0 | } | 80 | 37 | return std::forward<T>(val); | 81 | 37 | } |
std::unique_ptr<ValidationSignals, std::default_delete<ValidationSignals>> const& inline_check_non_fatal<std::unique_ptr<ValidationSignals, std::default_delete<ValidationSignals>> const&>(std::unique_ptr<ValidationSignals, std::default_delete<ValidationSignals>> const&, std::source_location const&, std::basic_string_view<char, std::char_traits<char>>) Line | Count | Source | 73 | 141 | { | 74 | 141 | if (!val) { | 75 | 0 | if constexpr (G_ABORT_ON_FAILED_ASSUME) { | 76 | 0 | assertion_fail(loc, assertion); | 77 | 0 | } | 78 | 0 | throw NonFatalCheckError{assertion, loc}; | 79 | 0 | } | 80 | 141 | return std::forward<T>(val); | 81 | 141 | } |
std::optional<CFeeRate> const& inline_check_non_fatal<std::optional<CFeeRate> const&>(std::optional<CFeeRate> const&, std::source_location const&, std::basic_string_view<char, std::char_traits<char>>) Line | Count | Source | 73 | 25 | { | 74 | 25 | if (!val) { | 75 | 0 | if constexpr (G_ABORT_ON_FAILED_ASSUME) { | 76 | 0 | assertion_fail(loc, assertion); | 77 | 0 | } | 78 | 0 | throw NonFatalCheckError{assertion, loc}; | 79 | 0 | } | 80 | 25 | return std::forward<T>(val); | 81 | 25 | } |
std::unique_ptr<interfaces::BlockTemplate, std::default_delete<interfaces::BlockTemplate>>& inline_check_non_fatal<std::unique_ptr<interfaces::BlockTemplate, std::default_delete<interfaces::BlockTemplate>>&>(std::unique_ptr<interfaces::BlockTemplate, std::default_delete<interfaces::BlockTemplate>>&, std::source_location const&, std::basic_string_view<char, std::char_traits<char>>) Line | Count | Source | 73 | 39.4k | { | 74 | 39.4k | if (!val) { | 75 | 0 | if constexpr (G_ABORT_ON_FAILED_ASSUME) { | 76 | 0 | assertion_fail(loc, assertion); | 77 | 0 | } | 78 | 0 | throw NonFatalCheckError{assertion, loc}; | 79 | 0 | } | 80 | 39.4k | return std::forward<T>(val); | 81 | 39.4k | } |
std::unique_ptr<CScheduler, std::default_delete<CScheduler>> const& inline_check_non_fatal<std::unique_ptr<CScheduler, std::default_delete<CScheduler>> const&>(std::unique_ptr<CScheduler, std::default_delete<CScheduler>> const&, std::source_location const&, std::basic_string_view<char, std::char_traits<char>>) Line | Count | Source | 73 | 12 | { | 74 | 12 | if (!val) { | 75 | 0 | if constexpr (G_ABORT_ON_FAILED_ASSUME) { | 76 | 0 | assertion_fail(loc, assertion); | 77 | 0 | } | 78 | 0 | throw NonFatalCheckError{assertion, loc}; | 79 | 0 | } | 80 | 12 | return std::forward<T>(val); | 81 | 12 | } |
std::optional<CMutableTransaction>&& inline_check_non_fatal<std::optional<CMutableTransaction>>(std::optional<CMutableTransaction>&&, std::source_location const&, std::basic_string_view<char, std::char_traits<char>>) Line | Count | Source | 73 | 45 | { | 74 | 45 | if (!val) { | 75 | 0 | if constexpr (G_ABORT_ON_FAILED_ASSUME) { | 76 | 0 | assertion_fail(loc, assertion); | 77 | 0 | } | 78 | 0 | throw NonFatalCheckError{assertion, loc}; | 79 | 0 | } | 80 | 45 | return std::forward<T>(val); | 81 | 45 | } |
std::function<bool ()>& inline_check_non_fatal<std::function<bool ()>&>(std::function<bool ()>&, std::source_location const&, std::basic_string_view<char, std::char_traits<char>>) Line | Count | Source | 73 | 984 | { | 74 | 984 | if (!val) { | 75 | 0 | if constexpr (G_ABORT_ON_FAILED_ASSUME) { | 76 | 0 | assertion_fail(loc, assertion); | 77 | 0 | } | 78 | 0 | throw NonFatalCheckError{assertion, loc}; | 79 | 0 | } | 80 | 984 | return std::forward<T>(val); | 81 | 984 | } |
wallet::DescriptorScriptPubKeyMan*& inline_check_non_fatal<wallet::DescriptorScriptPubKeyMan*&>(wallet::DescriptorScriptPubKeyMan*&, std::source_location const&, std::basic_string_view<char, std::char_traits<char>>) Line | Count | Source | 73 | 278 | { | 74 | 278 | if (!val) { | 75 | 0 | if constexpr (G_ABORT_ON_FAILED_ASSUME) { | 76 | 0 | assertion_fail(loc, assertion); | 77 | 0 | } | 78 | 0 | throw NonFatalCheckError{assertion, loc}; | 79 | 0 | } | 80 | 278 | return std::forward<T>(val); | 81 | 278 | } |
JSONRPCRequest const*& inline_check_non_fatal<JSONRPCRequest const*&>(JSONRPCRequest const*&, std::source_location const&, std::basic_string_view<char, std::char_traits<char>>) Line | Count | Source | 73 | 46.9k | { | 74 | 46.9k | if (!val) { | 75 | 0 | if constexpr (G_ABORT_ON_FAILED_ASSUME) { | 76 | 0 | assertion_fail(loc, assertion); | 77 | 0 | } | 78 | 0 | throw NonFatalCheckError{assertion, loc}; | 79 | 0 | } | 80 | 46.9k | return std::forward<T>(val); | 81 | 46.9k | } |
UniValue const*& inline_check_non_fatal<UniValue const*&>(UniValue const*&, std::source_location const&, std::basic_string_view<char, std::char_traits<char>>) Line | Count | Source | 73 | 44.1k | { | 74 | 44.1k | if (!val) { | 75 | 0 | if constexpr (G_ABORT_ON_FAILED_ASSUME) { | 76 | 0 | assertion_fail(loc, assertion); | 77 | 0 | } | 78 | 0 | throw NonFatalCheckError{assertion, loc}; | 79 | 0 | } | 80 | 44.1k | return std::forward<T>(val); | 81 | 44.1k | } |
std::optional<arith_uint256>&& inline_check_non_fatal<std::optional<arith_uint256>>(std::optional<arith_uint256>&&, std::source_location const&, std::basic_string_view<char, std::char_traits<char>>) Line | Count | Source | 73 | 20.8k | { | 74 | 20.8k | if (!val) { | 75 | 0 | if constexpr (G_ABORT_ON_FAILED_ASSUME) { | 76 | 0 | assertion_fail(loc, assertion); | 77 | 0 | } | 78 | 0 | throw NonFatalCheckError{assertion, loc}; | 79 | 0 | } | 80 | 20.8k | return std::forward<T>(val); | 81 | 20.8k | } |
|
97 | 3.03G | } bool&& inline_assertion_check<false, bool>(bool&&, std::source_location const&, std::basic_string_view<char, std::char_traits<char>>) Line | Count | Source | 90 | 2.87G | { | 91 | 2.87G | if (IS_ASSERT || std::is_constant_evaluated() || G_ABORT_ON_FAILED_ASSUME) { | 92 | 2.87G | if (!val) { | 93 | 1 | assertion_fail(loc, assertion); | 94 | 1 | } | 95 | 2.87G | } | 96 | 2.87G | return std::forward<T>(val); | 97 | 2.87G | } |
bool& inline_assertion_check<true, bool&>(bool&, std::source_location const&, std::basic_string_view<char, std::char_traits<char>>) Line | Count | Source | 90 | 601 | { | 91 | 601 | if (IS_ASSERT || std::is_constant_evaluated() || G_ABORT_ON_FAILED_ASSUME) { | 92 | 601 | if (!val) { | 93 | 0 | assertion_fail(loc, assertion); | 94 | 0 | } | 95 | 601 | } | 96 | 601 | return std::forward<T>(val); | 97 | 601 | } |
bool&& inline_assertion_check<true, bool>(bool&&, std::source_location const&, std::basic_string_view<char, std::char_traits<char>>) Line | Count | Source | 90 | 21.7M | { | 91 | 21.7M | if (IS_ASSERT || std::is_constant_evaluated() || G_ABORT_ON_FAILED_ASSUME) { | 92 | 21.7M | if (!val) { | 93 | 1 | assertion_fail(loc, assertion); | 94 | 1 | } | 95 | 21.7M | } | 96 | 21.7M | return std::forward<T>(val); | 97 | 21.7M | } |
std::unique_ptr<ChainstateManager, std::default_delete<ChainstateManager>>& inline_assertion_check<true, std::unique_ptr<ChainstateManager, std::default_delete<ChainstateManager>>&>(std::unique_ptr<ChainstateManager, std::default_delete<ChainstateManager>>&, std::source_location const&, std::basic_string_view<char, std::char_traits<char>>) Line | Count | Source | 90 | 893k | { | 91 | 893k | if (IS_ASSERT || std::is_constant_evaluated() || G_ABORT_ON_FAILED_ASSUME) { | 92 | 893k | if (!val) { | 93 | 0 | assertion_fail(loc, assertion); | 94 | 0 | } | 95 | 893k | } | 96 | 893k | return std::forward<T>(val); | 97 | 893k | } |
std::unique_ptr<LevelDBContext, std::default_delete<LevelDBContext>> const& inline_assertion_check<true, std::unique_ptr<LevelDBContext, std::default_delete<LevelDBContext>> const&>(std::unique_ptr<LevelDBContext, std::default_delete<LevelDBContext>> const&, std::source_location const&, std::basic_string_view<char, std::char_traits<char>>) Line | Count | Source | 90 | 12.2M | { | 91 | 12.2M | if (IS_ASSERT || std::is_constant_evaluated() || G_ABORT_ON_FAILED_ASSUME) { | 92 | 12.2M | if (!val) { | 93 | 0 | assertion_fail(loc, assertion); | 94 | 0 | } | 95 | 12.2M | } | 96 | 12.2M | return std::forward<T>(val); | 97 | 12.2M | } |
int&& inline_assertion_check<false, int>(int&&, std::source_location const&, std::basic_string_view<char, std::char_traits<char>>) Line | Count | Source | 90 | 71.4M | { | 91 | 71.4M | if (IS_ASSERT || std::is_constant_evaluated() || G_ABORT_ON_FAILED_ASSUME) { | 92 | 71.4M | if (!val) { | 93 | 0 | assertion_fail(loc, assertion); | 94 | 0 | } | 95 | 71.4M | } | 96 | 71.4M | return std::forward<T>(val); | 97 | 71.4M | } |
unsigned char const& inline_assertion_check<false, unsigned char const&>(unsigned char const&, std::source_location const&, std::basic_string_view<char, std::char_traits<char>>) Line | Count | Source | 90 | 1.33M | { | 91 | 1.33M | if (IS_ASSERT || std::is_constant_evaluated() || G_ABORT_ON_FAILED_ASSUME) { | 92 | 1.33M | if (!val) { | 93 | 0 | assertion_fail(loc, assertion); | 94 | 0 | } | 95 | 1.33M | } | 96 | 1.33M | return std::forward<T>(val); | 97 | 1.33M | } |
CCoinsView*& inline_assertion_check<true, CCoinsView*&>(CCoinsView*&, std::source_location const&, std::basic_string_view<char, std::char_traits<char>>) Line | Count | Source | 90 | 458k | { | 91 | 458k | if (IS_ASSERT || std::is_constant_evaluated() || G_ABORT_ON_FAILED_ASSUME) { | 92 | 458k | if (!val) { | 93 | 0 | assertion_fail(loc, assertion); | 94 | 0 | } | 95 | 458k | } | 96 | 458k | return std::forward<T>(val); | 97 | 458k | } |
std::shared_ptr<ThreadPool>& inline_assertion_check<true, std::shared_ptr<ThreadPool>&>(std::shared_ptr<ThreadPool>&, std::source_location const&, std::basic_string_view<char, std::char_traits<char>>) Line | Count | Source | 90 | 1.26k | { | 91 | 1.26k | if (IS_ASSERT || std::is_constant_evaluated() || G_ABORT_ON_FAILED_ASSUME) { | 92 | 1.26k | if (!val) { | 93 | 0 | assertion_fail(loc, assertion); | 94 | 0 | } | 95 | 1.26k | } | 96 | 1.26k | return std::forward<T>(val); | 97 | 1.26k | } |
std::unique_ptr<CoinsViews, std::default_delete<CoinsViews>>& inline_assertion_check<true, std::unique_ptr<CoinsViews, std::default_delete<CoinsViews>>&>(std::unique_ptr<CoinsViews, std::default_delete<CoinsViews>>&, std::source_location const&, std::basic_string_view<char, std::char_traits<char>>) Line | Count | Source | 90 | 2.23M | { | 91 | 2.23M | if (IS_ASSERT || std::is_constant_evaluated() || G_ABORT_ON_FAILED_ASSUME) { | 92 | 2.23M | if (!val) { | 93 | 0 | assertion_fail(loc, assertion); | 94 | 0 | } | 95 | 2.23M | } | 96 | 2.23M | return std::forward<T>(val); | 97 | 2.23M | } |
std::unique_ptr<CCoinsViewCache, std::default_delete<CCoinsViewCache>>& inline_assertion_check<true, std::unique_ptr<CCoinsViewCache, std::default_delete<CCoinsViewCache>>&>(std::unique_ptr<CCoinsViewCache, std::default_delete<CCoinsViewCache>>&, std::source_location const&, std::basic_string_view<char, std::char_traits<char>>) Line | Count | Source | 90 | 2.22M | { | 91 | 2.22M | if (IS_ASSERT || std::is_constant_evaluated() || G_ABORT_ON_FAILED_ASSUME) { | 92 | 2.22M | if (!val) { | 93 | 0 | assertion_fail(loc, assertion); | 94 | 0 | } | 95 | 2.22M | } | 96 | 2.22M | return std::forward<T>(val); | 97 | 2.22M | } |
std::optional<arith_uint256> const& inline_assertion_check<true, std::optional<arith_uint256> const&>(std::optional<arith_uint256> const&, std::source_location const&, std::basic_string_view<char, std::char_traits<char>>) Line | Count | Source | 90 | 229k | { | 91 | 229k | if (IS_ASSERT || std::is_constant_evaluated() || G_ABORT_ON_FAILED_ASSUME) { | 92 | 229k | if (!val) { | 93 | 0 | assertion_fail(loc, assertion); | 94 | 0 | } | 95 | 229k | } | 96 | 229k | return std::forward<T>(val); | 97 | 229k | } |
std::optional<uint256> const& inline_assertion_check<true, std::optional<uint256> const&>(std::optional<uint256> const&, std::source_location const&, std::basic_string_view<char, std::char_traits<char>>) Line | Count | Source | 90 | 169k | { | 91 | 169k | if (IS_ASSERT || std::is_constant_evaluated() || G_ABORT_ON_FAILED_ASSUME) { | 92 | 169k | if (!val) { | 93 | 0 | assertion_fail(loc, assertion); | 94 | 0 | } | 95 | 169k | } | 96 | 169k | return std::forward<T>(val); | 97 | 169k | } |
std::unique_ptr<CTxMemPool, std::default_delete<CTxMemPool>>& inline_assertion_check<true, std::unique_ptr<CTxMemPool, std::default_delete<CTxMemPool>>&>(std::unique_ptr<CTxMemPool, std::default_delete<CTxMemPool>>&, std::source_location const&, std::basic_string_view<char, std::char_traits<char>>) Line | Count | Source | 90 | 25 | { | 91 | 25 | if (IS_ASSERT || std::is_constant_evaluated() || G_ABORT_ON_FAILED_ASSUME) { | 92 | 25 | if (!val) { | 93 | 0 | assertion_fail(loc, assertion); | 94 | 0 | } | 95 | 25 | } | 96 | 25 | return std::forward<T>(val); | 97 | 25 | } |
std::optional<uint256>&& inline_assertion_check<true, std::optional<uint256>>(std::optional<uint256>&&, std::source_location const&, std::basic_string_view<char, std::char_traits<char>>) Line | Count | Source | 90 | 131 | { | 91 | 131 | if (IS_ASSERT || std::is_constant_evaluated() || G_ABORT_ON_FAILED_ASSUME) { | 92 | 131 | if (!val) { | 93 | 0 | assertion_fail(loc, assertion); | 94 | 0 | } | 95 | 131 | } | 96 | 131 | return std::forward<T>(val); | 97 | 131 | } |
std::function<bool ()>& inline_assertion_check<true, std::function<bool ()>&>(std::function<bool ()>&, std::source_location const&, std::basic_string_view<char, std::char_traits<char>>) Line | Count | Source | 90 | 1.30k | { | 91 | 1.30k | if (IS_ASSERT || std::is_constant_evaluated() || G_ABORT_ON_FAILED_ASSUME) { | 92 | 1.30k | if (!val) { | 93 | 0 | assertion_fail(loc, assertion); | 94 | 0 | } | 95 | 1.30k | } | 96 | 1.30k | return std::forward<T>(val); | 97 | 1.30k | } |
std::unique_ptr<node::Warnings, std::default_delete<node::Warnings>>& inline_assertion_check<true, std::unique_ptr<node::Warnings, std::default_delete<node::Warnings>>&>(std::unique_ptr<node::Warnings, std::default_delete<node::Warnings>>&, std::source_location const&, std::basic_string_view<char, std::char_traits<char>>) Line | Count | Source | 90 | 1.30k | { | 91 | 1.30k | if (IS_ASSERT || std::is_constant_evaluated() || G_ABORT_ON_FAILED_ASSUME) { | 92 | 1.30k | if (!val) { | 93 | 0 | assertion_fail(loc, assertion); | 94 | 0 | } | 95 | 1.30k | } | 96 | 1.30k | return std::forward<T>(val); | 97 | 1.30k | } |
util::SignalInterrupt*& inline_assertion_check<true, util::SignalInterrupt*&>(util::SignalInterrupt*&, std::source_location const&, std::basic_string_view<char, std::char_traits<char>>) Line | Count | Source | 90 | 85.5k | { | 91 | 85.5k | if (IS_ASSERT || std::is_constant_evaluated() || G_ABORT_ON_FAILED_ASSUME) { | 92 | 85.5k | if (!val) { | 93 | 0 | assertion_fail(loc, assertion); | 94 | 0 | } | 95 | 85.5k | } | 96 | 85.5k | return std::forward<T>(val); | 97 | 85.5k | } |
node::ReadRawError*&& inline_assertion_check<true, node::ReadRawError*>(node::ReadRawError*&&, std::source_location const&, std::basic_string_view<char, std::char_traits<char>>) Line | Count | Source | 90 | 14 | { | 91 | 14 | if (IS_ASSERT || std::is_constant_evaluated() || G_ABORT_ON_FAILED_ASSUME) { | 92 | 14 | if (!val) { | 93 | 0 | assertion_fail(loc, assertion); | 94 | 0 | } | 95 | 14 | } | 96 | 14 | return std::forward<T>(val); | 97 | 14 | } |
unsigned long& inline_assertion_check<false, unsigned long&>(unsigned long&, std::source_location const&, std::basic_string_view<char, std::char_traits<char>>) Line | Count | Source | 90 | 17.5M | { | 91 | 17.5M | if (IS_ASSERT || std::is_constant_evaluated() || G_ABORT_ON_FAILED_ASSUME) { | 92 | 17.5M | if (!val) { | 93 | 0 | assertion_fail(loc, assertion); | 94 | 0 | } | 95 | 17.5M | } | 96 | 17.5M | return std::forward<T>(val); | 97 | 17.5M | } |
Unexecuted instantiation: unsigned long const& inline_assertion_check<false, unsigned long const&>(unsigned long const&, std::source_location const&, std::basic_string_view<char, std::char_traits<char>>) std::optional<int>&& inline_assertion_check<true, std::optional<int>>(std::optional<int>&&, std::source_location const&, std::basic_string_view<char, std::char_traits<char>>) Line | Count | Source | 90 | 2 | { | 91 | 2 | if (IS_ASSERT || std::is_constant_evaluated() || G_ABORT_ON_FAILED_ASSUME) { | 92 | 2 | if (!val) { | 93 | 0 | assertion_fail(loc, assertion); | 94 | 0 | } | 95 | 2 | } | 96 | 2 | return std::forward<T>(val); | 97 | 2 | } |
std::optional<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>>&& inline_assertion_check<true, std::optional<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>>>(std::optional<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>>&&, std::source_location const&, std::basic_string_view<char, std::char_traits<char>>) Line | Count | Source | 90 | 2 | { | 91 | 2 | if (IS_ASSERT || std::is_constant_evaluated() || G_ABORT_ON_FAILED_ASSUME) { | 92 | 2 | if (!val) { | 93 | 0 | assertion_fail(loc, assertion); | 94 | 0 | } | 95 | 2 | } | 96 | 2 | return std::forward<T>(val); | 97 | 2 | } |
std::optional<Coin>&& inline_assertion_check<true, std::optional<Coin>>(std::optional<Coin>&&, std::source_location const&, std::basic_string_view<char, std::char_traits<char>>) Line | Count | Source | 90 | 1 | { | 91 | 1 | if (IS_ASSERT || std::is_constant_evaluated() || G_ABORT_ON_FAILED_ASSUME) { | 92 | 1 | if (!val) { | 93 | 0 | assertion_fail(loc, assertion); | 94 | 0 | } | 95 | 1 | } | 96 | 1 | return std::forward<T>(val); | 97 | 1 | } |
std::optional<unsigned int>&& inline_assertion_check<true, std::optional<unsigned int>>(std::optional<unsigned int>&&, std::source_location const&, std::basic_string_view<char, std::char_traits<char>>) Line | Count | Source | 90 | 3 | { | 91 | 3 | if (IS_ASSERT || std::is_constant_evaluated() || G_ABORT_ON_FAILED_ASSUME) { | 92 | 3 | if (!val) { | 93 | 0 | assertion_fail(loc, assertion); | 94 | 0 | } | 95 | 3 | } | 96 | 3 | return std::forward<T>(val); | 97 | 3 | } |
CBlockIndex*&& inline_assertion_check<true, CBlockIndex*>(CBlockIndex*&&, std::source_location const&, std::basic_string_view<char, std::char_traits<char>>) Line | Count | Source | 90 | 145k | { | 91 | 145k | if (IS_ASSERT || std::is_constant_evaluated() || G_ABORT_ON_FAILED_ASSUME) { | 92 | 145k | if (!val) { | 93 | 0 | assertion_fail(loc, assertion); | 94 | 0 | } | 95 | 145k | } | 96 | 145k | return std::forward<T>(val); | 97 | 145k | } |
std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>*&& inline_assertion_check<true, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>*>(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>*&&, std::source_location const&, std::basic_string_view<char, std::char_traits<char>>) Line | Count | Source | 90 | 3 | { | 91 | 3 | if (IS_ASSERT || std::is_constant_evaluated() || G_ABORT_ON_FAILED_ASSUME) { | 92 | 3 | if (!val) { | 93 | 0 | assertion_fail(loc, assertion); | 94 | 0 | } | 95 | 3 | } | 96 | 3 | return std::forward<T>(val); | 97 | 3 | } |
util::Expected<std::future<void>, ThreadPool::SubmitError>&& inline_assertion_check<true, util::Expected<std::future<void>, ThreadPool::SubmitError>>(util::Expected<std::future<void>, ThreadPool::SubmitError>&&, std::source_location const&, std::basic_string_view<char, std::char_traits<char>>) Line | Count | Source | 90 | 357 | { | 91 | 357 | if (IS_ASSERT || std::is_constant_evaluated() || G_ABORT_ON_FAILED_ASSUME) { | 92 | 357 | if (!val) { | 93 | 0 | assertion_fail(loc, assertion); | 94 | 0 | } | 95 | 357 | } | 96 | 357 | return std::forward<T>(val); | 97 | 357 | } |
std::optional<BCLog::LogFlags>&& inline_assertion_check<true, std::optional<BCLog::LogFlags>>(std::optional<BCLog::LogFlags>&&, std::source_location const&, std::basic_string_view<char, std::char_traits<char>>) Line | Count | Source | 90 | 30 | { | 91 | 30 | if (IS_ASSERT || std::is_constant_evaluated() || G_ABORT_ON_FAILED_ASSUME) { | 92 | 30 | if (!val) { | 93 | 0 | assertion_fail(loc, assertion); | 94 | 0 | } | 95 | 30 | } | 96 | 30 | return std::forward<T>(val); | 97 | 30 | } |
std::shared_ptr<BCLog::LogRateLimiter>& inline_assertion_check<true, std::shared_ptr<BCLog::LogRateLimiter>&>(std::shared_ptr<BCLog::LogRateLimiter>&, std::source_location const&, std::basic_string_view<char, std::char_traits<char>>) Line | Count | Source | 90 | 1 | { | 91 | 1 | if (IS_ASSERT || std::is_constant_evaluated() || G_ABORT_ON_FAILED_ASSUME) { | 92 | 1 | if (!val) { | 93 | 0 | assertion_fail(loc, assertion); | 94 | 0 | } | 95 | 1 | } | 96 | 1 | return std::forward<T>(val); | 97 | 1 | } |
CBlockIndex*& inline_assertion_check<true, CBlockIndex*&>(CBlockIndex*&, std::source_location const&, std::basic_string_view<char, std::char_traits<char>>) Line | Count | Source | 90 | 311k | { | 91 | 311k | if (IS_ASSERT || std::is_constant_evaluated() || G_ABORT_ON_FAILED_ASSUME) { | 92 | 311k | if (!val) { | 93 | 0 | assertion_fail(loc, assertion); | 94 | 0 | } | 95 | 311k | } | 96 | 311k | return std::forward<T>(val); | 97 | 311k | } |
CTxMemPoolEntry const*&& inline_assertion_check<true, CTxMemPoolEntry const*>(CTxMemPoolEntry const*&&, std::source_location const&, std::basic_string_view<char, std::char_traits<char>>) Line | Count | Source | 90 | 108 | { | 91 | 108 | if (IS_ASSERT || std::is_constant_evaluated() || G_ABORT_ON_FAILED_ASSUME) { | 92 | 108 | if (!val) { | 93 | 0 | assertion_fail(loc, assertion); | 94 | 0 | } | 95 | 108 | } | 96 | 108 | return std::forward<T>(val); | 97 | 108 | } |
ArgsManager*& inline_assertion_check<true, ArgsManager*&>(ArgsManager*&, std::source_location const&, std::basic_string_view<char, std::char_traits<char>>) Line | Count | Source | 90 | 10.1k | { | 91 | 10.1k | if (IS_ASSERT || std::is_constant_evaluated() || G_ABORT_ON_FAILED_ASSUME) { | 92 | 10.1k | if (!val) { | 93 | 0 | assertion_fail(loc, assertion); | 94 | 0 | } | 95 | 10.1k | } | 96 | 10.1k | return std::forward<T>(val); | 97 | 10.1k | } |
std::optional<std::vector<std::byte, std::allocator<std::byte>>>&& inline_assertion_check<true, std::optional<std::vector<std::byte, std::allocator<std::byte>>>>(std::optional<std::vector<std::byte, std::allocator<std::byte>>>&&, std::source_location const&, std::basic_string_view<char, std::char_traits<char>>) Line | Count | Source | 90 | 3.73k | { | 91 | 3.73k | if (IS_ASSERT || std::is_constant_evaluated() || G_ABORT_ON_FAILED_ASSUME) { | 92 | 3.73k | if (!val) { | 93 | 0 | assertion_fail(loc, assertion); | 94 | 0 | } | 95 | 3.73k | } | 96 | 3.73k | return std::forward<T>(val); | 97 | 3.73k | } |
unsigned long const& inline_assertion_check<true, unsigned long const&>(unsigned long const&, std::source_location const&, std::basic_string_view<char, std::char_traits<char>>) Line | Count | Source | 90 | 2 | { | 91 | 2 | if (IS_ASSERT || std::is_constant_evaluated() || G_ABORT_ON_FAILED_ASSUME) { | 92 | 2 | if (!val) { | 93 | 0 | assertion_fail(loc, assertion); | 94 | 0 | } | 95 | 2 | } | 96 | 2 | return std::forward<T>(val); | 97 | 2 | } |
ThreadPool::SubmitError*&& inline_assertion_check<true, ThreadPool::SubmitError*>(ThreadPool::SubmitError*&&, std::source_location const&, std::basic_string_view<char, std::char_traits<char>>) Line | Count | Source | 90 | 5 | { | 91 | 5 | if (IS_ASSERT || std::is_constant_evaluated() || G_ABORT_ON_FAILED_ASSUME) { | 92 | 5 | if (!val) { | 93 | 0 | assertion_fail(loc, assertion); | 94 | 0 | } | 95 | 5 | } | 96 | 5 | return std::forward<T>(val); | 97 | 5 | } |
ThreadPool::SubmitError const*&& inline_assertion_check<true, ThreadPool::SubmitError const*>(ThreadPool::SubmitError const*&&, std::source_location const&, std::basic_string_view<char, std::char_traits<char>>) Line | Count | Source | 90 | 2 | { | 91 | 2 | if (IS_ASSERT || std::is_constant_evaluated() || G_ABORT_ON_FAILED_ASSUME) { | 92 | 2 | if (!val) { | 93 | 0 | assertion_fail(loc, assertion); | 94 | 0 | } | 95 | 2 | } | 96 | 2 | return std::forward<T>(val); | 97 | 2 | } |
util::Expected<std::future<bool>, ThreadPool::SubmitError>&& inline_assertion_check<true, util::Expected<std::future<bool>, ThreadPool::SubmitError>>(util::Expected<std::future<bool>, ThreadPool::SubmitError>&&, std::source_location const&, std::basic_string_view<char, std::char_traits<char>>) Line | Count | Source | 90 | 2 | { | 91 | 2 | if (IS_ASSERT || std::is_constant_evaluated() || G_ABORT_ON_FAILED_ASSUME) { | 92 | 2 | if (!val) { | 93 | 0 | assertion_fail(loc, assertion); | 94 | 0 | } | 95 | 2 | } | 96 | 2 | return std::forward<T>(val); | 97 | 2 | } |
util::Expected<std::future<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>>, ThreadPool::SubmitError>&& inline_assertion_check<true, util::Expected<std::future<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>>, ThreadPool::SubmitError>>(util::Expected<std::future<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>>, ThreadPool::SubmitError>&&, std::source_location const&, std::basic_string_view<char, std::char_traits<char>>) Line | Count | Source | 90 | 1 | { | 91 | 1 | if (IS_ASSERT || std::is_constant_evaluated() || G_ABORT_ON_FAILED_ASSUME) { | 92 | 1 | if (!val) { | 93 | 0 | assertion_fail(loc, assertion); | 94 | 0 | } | 95 | 1 | } | 96 | 1 | return std::forward<T>(val); | 97 | 1 | } |
util::Expected<std::vector<std::future<int>, std::allocator<std::future<int>>>, ThreadPool::SubmitError>&& inline_assertion_check<true, util::Expected<std::vector<std::future<int>, std::allocator<std::future<int>>>, ThreadPool::SubmitError>>(util::Expected<std::vector<std::future<int>, std::allocator<std::future<int>>>, ThreadPool::SubmitError>&&, std::source_location const&, std::basic_string_view<char, std::char_traits<char>>) Line | Count | Source | 90 | 2 | { | 91 | 2 | if (IS_ASSERT || std::is_constant_evaluated() || G_ABORT_ON_FAILED_ASSUME) { | 92 | 2 | if (!val) { | 93 | 0 | assertion_fail(loc, assertion); | 94 | 0 | } | 95 | 2 | } | 96 | 2 | return std::forward<T>(val); | 97 | 2 | } |
std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const*&& inline_assertion_check<true, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const*>(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const*&&, std::source_location const&, std::basic_string_view<char, std::char_traits<char>>) Line | Count | Source | 90 | 4 | { | 91 | 4 | if (IS_ASSERT || std::is_constant_evaluated() || G_ABORT_ON_FAILED_ASSUME) { | 92 | 4 | if (!val) { | 93 | 0 | assertion_fail(loc, assertion); | 94 | 0 | } | 95 | 4 | } | 96 | 4 | return std::forward<T>(val); | 97 | 4 | } |
std::unique_ptr<int, std::default_delete<int>>*&& inline_assertion_check<true, std::unique_ptr<int, std::default_delete<int>>*>(std::unique_ptr<int, std::default_delete<int>>*&&, std::source_location const&, std::basic_string_view<char, std::char_traits<char>>) Line | Count | Source | 90 | 3 | { | 91 | 3 | if (IS_ASSERT || std::is_constant_evaluated() || G_ABORT_ON_FAILED_ASSUME) { | 92 | 3 | if (!val) { | 93 | 0 | assertion_fail(loc, assertion); | 94 | 0 | } | 95 | 3 | } | 96 | 3 | return std::forward<T>(val); | 97 | 3 | } |
std::unique_ptr<int, std::default_delete<int>>&& inline_assertion_check<true, std::unique_ptr<int, std::default_delete<int>>>(std::unique_ptr<int, std::default_delete<int>>&&, std::source_location const&, std::basic_string_view<char, std::char_traits<char>>) Line | Count | Source | 90 | 2 | { | 91 | 2 | if (IS_ASSERT || std::is_constant_evaluated() || G_ABORT_ON_FAILED_ASSUME) { | 92 | 2 | if (!val) { | 93 | 0 | assertion_fail(loc, assertion); | 94 | 0 | } | 95 | 2 | } | 96 | 2 | return std::forward<T>(val); | 97 | 2 | } |
std::unique_ptr<int, std::default_delete<int>> const& inline_assertion_check<true, std::unique_ptr<int, std::default_delete<int>> const&>(std::unique_ptr<int, std::default_delete<int>> const&, std::source_location const&, std::basic_string_view<char, std::char_traits<char>>) Line | Count | Source | 90 | 2 | { | 91 | 2 | if (IS_ASSERT || std::is_constant_evaluated() || G_ABORT_ON_FAILED_ASSUME) { | 92 | 2 | if (!val) { | 93 | 0 | assertion_fail(loc, assertion); | 94 | 0 | } | 95 | 2 | } | 96 | 2 | return std::forward<T>(val); | 97 | 2 | } |
bool const& inline_assertion_check<true, bool const&>(bool const&, std::source_location const&, std::basic_string_view<char, std::char_traits<char>>) Line | Count | Source | 90 | 2 | { | 91 | 2 | if (IS_ASSERT || std::is_constant_evaluated() || G_ABORT_ON_FAILED_ASSUME) { | 92 | 2 | if (!val) { | 93 | 0 | assertion_fail(loc, assertion); | 94 | 0 | } | 95 | 2 | } | 96 | 2 | return std::forward<T>(val); | 97 | 2 | } |
util_tests.cpp:util_tests::(anonymous namespace)::NoCopyOrMove& inline_assertion_check<true, util_tests::(anonymous namespace)::NoCopyOrMove&>(util_tests::(anonymous namespace)::NoCopyOrMove&, std::source_location const&, std::basic_string_view<char, std::char_traits<char>>) Line | Count | Source | 90 | 6 | { | 91 | 6 | if (IS_ASSERT || std::is_constant_evaluated() || G_ABORT_ON_FAILED_ASSUME) { | 92 | 6 | if (!val) { | 93 | 0 | assertion_fail(loc, assertion); | 94 | 0 | } | 95 | 6 | } | 96 | 6 | return std::forward<T>(val); | 97 | 6 | } |
int&& inline_assertion_check<true, int>(int&&, std::source_location const&, std::basic_string_view<char, std::char_traits<char>>) Line | Count | Source | 90 | 2 | { | 91 | 2 | if (IS_ASSERT || std::is_constant_evaluated() || G_ABORT_ON_FAILED_ASSUME) { | 92 | 2 | if (!val) { | 93 | 0 | assertion_fail(loc, assertion); | 94 | 0 | } | 95 | 2 | } | 96 | 2 | return std::forward<T>(val); | 97 | 2 | } |
Chainstate*&& inline_assertion_check<true, Chainstate*>(Chainstate*&&, std::source_location const&, std::basic_string_view<char, std::char_traits<char>>) Line | Count | Source | 90 | 7 | { | 91 | 7 | if (IS_ASSERT || std::is_constant_evaluated() || G_ABORT_ON_FAILED_ASSUME) { | 92 | 7 | if (!val) { | 93 | 0 | assertion_fail(loc, assertion); | 94 | 0 | } | 95 | 7 | } | 96 | 7 | return std::forward<T>(val); | 97 | 7 | } |
std::optional<uint256> const&& inline_assertion_check<true, std::optional<uint256> const>(std::optional<uint256> const&&, std::source_location const&, std::basic_string_view<char, std::char_traits<char>>) Line | Count | Source | 90 | 4 | { | 91 | 4 | if (IS_ASSERT || std::is_constant_evaluated() || G_ABORT_ON_FAILED_ASSUME) { | 92 | 4 | if (!val) { | 93 | 0 | assertion_fail(loc, assertion); | 94 | 0 | } | 95 | 4 | } | 96 | 4 | return std::forward<T>(val); | 97 | 4 | } |
std::unique_ptr<wallet::WalletDatabase, std::default_delete<wallet::WalletDatabase>> const& inline_assertion_check<true, std::unique_ptr<wallet::WalletDatabase, std::default_delete<wallet::WalletDatabase>> const&>(std::unique_ptr<wallet::WalletDatabase, std::default_delete<wallet::WalletDatabase>> const&, std::source_location const&, std::basic_string_view<char, std::char_traits<char>>) Line | Count | Source | 90 | 2 | { | 91 | 2 | if (IS_ASSERT || std::is_constant_evaluated() || G_ABORT_ON_FAILED_ASSUME) { | 92 | 2 | if (!val) { | 93 | 0 | assertion_fail(loc, assertion); | 94 | 0 | } | 95 | 2 | } | 96 | 2 | return std::forward<T>(val); | 97 | 2 | } |
std::unique_ptr<wallet::SQLiteDatabase, std::default_delete<wallet::SQLiteDatabase>> const& inline_assertion_check<true, std::unique_ptr<wallet::SQLiteDatabase, std::default_delete<wallet::SQLiteDatabase>> const&>(std::unique_ptr<wallet::SQLiteDatabase, std::default_delete<wallet::SQLiteDatabase>> const&, std::source_location const&, std::basic_string_view<char, std::char_traits<char>>) Line | Count | Source | 90 | 2 | { | 91 | 2 | if (IS_ASSERT || std::is_constant_evaluated() || G_ABORT_ON_FAILED_ASSUME) { | 92 | 2 | if (!val) { | 93 | 0 | assertion_fail(loc, assertion); | 94 | 0 | } | 95 | 2 | } | 96 | 2 | return std::forward<T>(val); | 97 | 2 | } |
util::Result<std::variant<CNoDestination, PubKeyDestination, PKHash, ScriptHash, WitnessV0ScriptHash, WitnessV0KeyHash, WitnessV1Taproot, PayToAnchor, WitnessUnknown>>&& inline_assertion_check<true, util::Result<std::variant<CNoDestination, PubKeyDestination, PKHash, ScriptHash, WitnessV0ScriptHash, WitnessV0KeyHash, WitnessV1Taproot, PayToAnchor, WitnessUnknown>>>(util::Result<std::variant<CNoDestination, PubKeyDestination, PKHash, ScriptHash, WitnessV0ScriptHash, WitnessV0KeyHash, WitnessV1Taproot, PayToAnchor, WitnessUnknown>>&&, std::source_location const&, std::basic_string_view<char, std::char_traits<char>>) Line | Count | Source | 90 | 6.11k | { | 91 | 6.11k | if (IS_ASSERT || std::is_constant_evaluated() || G_ABORT_ON_FAILED_ASSUME) { | 92 | 6.11k | if (!val) { | 93 | 0 | assertion_fail(loc, assertion); | 94 | 0 | } | 95 | 6.11k | } | 96 | 6.11k | return std::forward<T>(val); | 97 | 6.11k | } |
util::Result<wallet::CoinsResult>&& inline_assertion_check<true, util::Result<wallet::CoinsResult>>(util::Result<wallet::CoinsResult>&&, std::source_location const&, std::basic_string_view<char, std::char_traits<char>>) Line | Count | Source | 90 | 1 | { | 91 | 1 | if (IS_ASSERT || std::is_constant_evaluated() || G_ABORT_ON_FAILED_ASSUME) { | 92 | 1 | if (!val) { | 93 | 0 | assertion_fail(loc, assertion); | 94 | 0 | } | 95 | 1 | } | 96 | 1 | return std::forward<T>(val); | 97 | 1 | } |
std::optional<OutputType>&& inline_assertion_check<true, std::optional<OutputType>>(std::optional<OutputType>&&, std::source_location const&, std::basic_string_view<char, std::char_traits<char>>) Line | Count | Source | 90 | 180 | { | 91 | 180 | if (IS_ASSERT || std::is_constant_evaluated() || G_ABORT_ON_FAILED_ASSUME) { | 92 | 180 | if (!val) { | 93 | 0 | assertion_fail(loc, assertion); | 94 | 0 | } | 95 | 180 | } | 96 | 180 | return std::forward<T>(val); | 97 | 180 | } |
util::Result<std::reference_wrapper<wallet::DescriptorScriptPubKeyMan>>&& inline_assertion_check<true, util::Result<std::reference_wrapper<wallet::DescriptorScriptPubKeyMan>>>(util::Result<std::reference_wrapper<wallet::DescriptorScriptPubKeyMan>>&&, std::source_location const&, std::basic_string_view<char, std::char_traits<char>>) Line | Count | Source | 90 | 27 | { | 91 | 27 | if (IS_ASSERT || std::is_constant_evaluated() || G_ABORT_ON_FAILED_ASSUME) { | 92 | 27 | if (!val) { | 93 | 0 | assertion_fail(loc, assertion); | 94 | 0 | } | 95 | 27 | } | 96 | 27 | return std::forward<T>(val); | 97 | 27 | } |
Unexecuted instantiation: std::atomic<bool>& inline_assertion_check<true, std::atomic<bool>&>(std::atomic<bool>&, std::source_location const&, std::basic_string_view<char, std::char_traits<char>>) CTxMemPool*&& inline_assertion_check<true, CTxMemPool*>(CTxMemPool*&&, std::source_location const&, std::basic_string_view<char, std::char_traits<char>>) Line | Count | Source | 90 | 1.21k | { | 91 | 1.21k | if (IS_ASSERT || std::is_constant_evaluated() || G_ABORT_ON_FAILED_ASSUME) { | 92 | 1.21k | if (!val) { | 93 | 0 | assertion_fail(loc, assertion); | 94 | 0 | } | 95 | 1.21k | } | 96 | 1.21k | return std::forward<T>(val); | 97 | 1.21k | } |
util::Result<node::BlockCreateOptions>& inline_assertion_check<true, util::Result<node::BlockCreateOptions>&>(util::Result<node::BlockCreateOptions>&, std::source_location const&, std::basic_string_view<char, std::char_traits<char>>) Line | Count | Source | 90 | 1.21k | { | 91 | 1.21k | if (IS_ASSERT || std::is_constant_evaluated() || G_ABORT_ON_FAILED_ASSUME) { | 92 | 1.21k | if (!val) { | 93 | 0 | assertion_fail(loc, assertion); | 94 | 0 | } | 95 | 1.21k | } | 96 | 1.21k | return std::forward<T>(val); | 97 | 1.21k | } |
std::unique_ptr<interfaces::BlockTemplate, std::default_delete<interfaces::BlockTemplate>>& inline_assertion_check<true, std::unique_ptr<interfaces::BlockTemplate, std::default_delete<interfaces::BlockTemplate>>&>(std::unique_ptr<interfaces::BlockTemplate, std::default_delete<interfaces::BlockTemplate>>&, std::source_location const&, std::basic_string_view<char, std::char_traits<char>>) Line | Count | Source | 90 | 7.22k | { | 91 | 7.22k | if (IS_ASSERT || std::is_constant_evaluated() || G_ABORT_ON_FAILED_ASSUME) { | 92 | 7.22k | if (!val) { | 93 | 0 | assertion_fail(loc, assertion); | 94 | 0 | } | 95 | 7.22k | } | 96 | 7.22k | return std::forward<T>(val); | 97 | 7.22k | } |
util::Result<void> const& inline_assertion_check<true, util::Result<void> const&>(util::Result<void> const&, std::source_location const&, std::basic_string_view<char, std::char_traits<char>>) Line | Count | Source | 90 | 175 | { | 91 | 175 | if (IS_ASSERT || std::is_constant_evaluated() || G_ABORT_ON_FAILED_ASSUME) { | 92 | 175 | if (!val) { | 93 | 0 | assertion_fail(loc, assertion); | 94 | 0 | } | 95 | 175 | } | 96 | 175 | return std::forward<T>(val); | 97 | 175 | } |
std::optional<PresaltedSipHasher>& inline_assertion_check<true, std::optional<PresaltedSipHasher>&>(std::optional<PresaltedSipHasher>&, std::source_location const&, std::basic_string_view<char, std::char_traits<char>>) Line | Count | Source | 90 | 165k | { | 91 | 165k | if (IS_ASSERT || std::is_constant_evaluated() || G_ABORT_ON_FAILED_ASSUME) { | 92 | 165k | if (!val) { | 93 | 0 | assertion_fail(loc, assertion); | 94 | 0 | } | 95 | 165k | } | 96 | 165k | return std::forward<T>(val); | 97 | 165k | } |
CBlockIndex const*&& inline_assertion_check<true, CBlockIndex const*>(CBlockIndex const*&&, std::source_location const&, std::basic_string_view<char, std::char_traits<char>>) Line | Count | Source | 90 | 9.45k | { | 91 | 9.45k | if (IS_ASSERT || std::is_constant_evaluated() || G_ABORT_ON_FAILED_ASSUME) { | 92 | 9.45k | if (!val) { | 93 | 0 | assertion_fail(loc, assertion); | 94 | 0 | } | 95 | 9.45k | } | 96 | 9.45k | return std::forward<T>(val); | 97 | 9.45k | } |
CBlockIndex const*& inline_assertion_check<true, CBlockIndex const*&>(CBlockIndex const*&, std::source_location const&, std::basic_string_view<char, std::char_traits<char>>) Line | Count | Source | 90 | 140k | { | 91 | 140k | if (IS_ASSERT || std::is_constant_evaluated() || G_ABORT_ON_FAILED_ASSUME) { | 92 | 140k | if (!val) { | 93 | 0 | assertion_fail(loc, assertion); | 94 | 0 | } | 95 | 140k | } | 96 | 140k | return std::forward<T>(val); | 97 | 140k | } |
CBlock const* const& inline_assertion_check<true, CBlock const* const&>(CBlock const* const&, std::source_location const&, std::basic_string_view<char, std::char_traits<char>>) Line | Count | Source | 90 | 7.57k | { | 91 | 7.57k | if (IS_ASSERT || std::is_constant_evaluated() || G_ABORT_ON_FAILED_ASSUME) { | 92 | 7.57k | if (!val) { | 93 | 0 | assertion_fail(loc, assertion); | 94 | 0 | } | 95 | 7.57k | } | 96 | 7.57k | return std::forward<T>(val); | 97 | 7.57k | } |
CBlockUndo const* const& inline_assertion_check<true, CBlockUndo const* const&>(CBlockUndo const* const&, std::source_location const&, std::basic_string_view<char, std::char_traits<char>>) Line | Count | Source | 90 | 7.93k | { | 91 | 7.93k | if (IS_ASSERT || std::is_constant_evaluated() || G_ABORT_ON_FAILED_ASSUME) { | 92 | 7.93k | if (!val) { | 93 | 0 | assertion_fail(loc, assertion); | 94 | 0 | } | 95 | 7.93k | } | 96 | 7.93k | return std::forward<T>(val); | 97 | 7.93k | } |
uint256 const* const& inline_assertion_check<true, uint256 const* const&>(uint256 const* const&, std::source_location const&, std::basic_string_view<char, std::char_traits<char>>) Line | Count | Source | 90 | 210k | { | 91 | 210k | if (IS_ASSERT || std::is_constant_evaluated() || G_ABORT_ON_FAILED_ASSUME) { | 92 | 210k | if (!val) { | 93 | 0 | assertion_fail(loc, assertion); | 94 | 0 | } | 95 | 210k | } | 96 | 210k | return std::forward<T>(val); | 97 | 210k | } |
std::optional<util::SignalInterrupt>& inline_assertion_check<true, std::optional<util::SignalInterrupt>&>(std::optional<util::SignalInterrupt>&, std::source_location const&, std::basic_string_view<char, std::char_traits<char>>) Line | Count | Source | 90 | 23 | { | 91 | 23 | if (IS_ASSERT || std::is_constant_evaluated() || G_ABORT_ON_FAILED_ASSUME) { | 92 | 23 | if (!val) { | 93 | 0 | assertion_fail(loc, assertion); | 94 | 0 | } | 95 | 23 | } | 96 | 23 | return std::forward<T>(val); | 97 | 23 | } |
util::Result<void>&& inline_assertion_check<true, util::Result<void>>(util::Result<void>&&, std::source_location const&, std::basic_string_view<char, std::char_traits<char>>) Line | Count | Source | 90 | 3.17k | { | 91 | 3.17k | if (IS_ASSERT || std::is_constant_evaluated() || G_ABORT_ON_FAILED_ASSUME) { | 92 | 3.17k | if (!val) { | 93 | 0 | assertion_fail(loc, assertion); | 94 | 0 | } | 95 | 3.17k | } | 96 | 3.17k | return std::forward<T>(val); | 97 | 3.17k | } |
std::unique_ptr<ValidationSignals, std::default_delete<ValidationSignals>>& inline_assertion_check<true, std::unique_ptr<ValidationSignals, std::default_delete<ValidationSignals>>&>(std::unique_ptr<ValidationSignals, std::default_delete<ValidationSignals>>&, std::source_location const&, std::basic_string_view<char, std::char_traits<char>>) Line | Count | Source | 90 | 1.93k | { | 91 | 1.93k | if (IS_ASSERT || std::is_constant_evaluated() || G_ABORT_ON_FAILED_ASSUME) { | 92 | 1.93k | if (!val) { | 93 | 0 | assertion_fail(loc, assertion); | 94 | 0 | } | 95 | 1.93k | } | 96 | 1.93k | return std::forward<T>(val); | 97 | 1.93k | } |
std::unique_ptr<node::KernelNotifications, std::default_delete<node::KernelNotifications>>& inline_assertion_check<true, std::unique_ptr<node::KernelNotifications, std::default_delete<node::KernelNotifications>>&>(std::unique_ptr<node::KernelNotifications, std::default_delete<node::KernelNotifications>>&, std::source_location const&, std::basic_string_view<char, std::char_traits<char>>) Line | Count | Source | 90 | 1.03k | { | 91 | 1.03k | if (IS_ASSERT || std::is_constant_evaluated() || G_ABORT_ON_FAILED_ASSUME) { | 92 | 1.03k | if (!val) { | 93 | 0 | assertion_fail(loc, assertion); | 94 | 0 | } | 95 | 1.03k | } | 96 | 1.03k | return std::forward<T>(val); | 97 | 1.03k | } |
bool& inline_assertion_check<false, bool&>(bool&, std::source_location const&, std::basic_string_view<char, std::char_traits<char>>) Line | Count | Source | 90 | 427k | { | 91 | 427k | if (IS_ASSERT || std::is_constant_evaluated() || G_ABORT_ON_FAILED_ASSUME) { | 92 | 427k | if (!val) { | 93 | 0 | assertion_fail(loc, assertion); | 94 | 0 | } | 95 | 427k | } | 96 | 427k | return std::forward<T>(val); | 97 | 427k | } |
net_processing.cpp:(anonymous namespace)::CNodeState*&& inline_assertion_check<true, (anonymous namespace)::CNodeState*>((anonymous namespace)::CNodeState*&&, std::source_location const&, std::basic_string_view<char, std::char_traits<char>>) Line | Count | Source | 90 | 58.3k | { | 91 | 58.3k | if (IS_ASSERT || std::is_constant_evaluated() || G_ABORT_ON_FAILED_ASSUME) { | 92 | 58.3k | if (!val) { | 93 | 0 | assertion_fail(loc, assertion); | 94 | 0 | } | 95 | 58.3k | } | 96 | 58.3k | return std::forward<T>(val); | 97 | 58.3k | } |
net_processing.cpp:std::shared_ptr<(anonymous namespace)::Peer>&& inline_assertion_check<true, std::shared_ptr<(anonymous namespace)::Peer>>(std::shared_ptr<(anonymous namespace)::Peer>&&, std::source_location const&, std::basic_string_view<char, std::char_traits<char>>) Line | Count | Source | 90 | 4 | { | 91 | 4 | if (IS_ASSERT || std::is_constant_evaluated() || G_ABORT_ON_FAILED_ASSUME) { | 92 | 4 | if (!val) { | 93 | 0 | assertion_fail(loc, assertion); | 94 | 0 | } | 95 | 4 | } | 96 | 4 | return std::forward<T>(val); | 97 | 4 | } |
CBlockIndex*&& inline_assertion_check<false, CBlockIndex*>(CBlockIndex*&&, std::source_location const&, std::basic_string_view<char, std::char_traits<char>>) Line | Count | Source | 90 | 18.4k | { | 91 | 18.4k | if (IS_ASSERT || std::is_constant_evaluated() || G_ABORT_ON_FAILED_ASSUME) { | 92 | 18.4k | if (!val) { | 93 | 0 | assertion_fail(loc, assertion); | 94 | 0 | } | 95 | 18.4k | } | 96 | 18.4k | return std::forward<T>(val); | 97 | 18.4k | } |
unsigned int&& inline_assertion_check<false, unsigned int>(unsigned int&&, std::source_location const&, std::basic_string_view<char, std::char_traits<char>>) Line | Count | Source | 90 | 26.9M | { | 91 | 26.9M | if (IS_ASSERT || std::is_constant_evaluated() || G_ABORT_ON_FAILED_ASSUME) { | 92 | 26.9M | if (!val) { | 93 | 0 | assertion_fail(loc, assertion); | 94 | 0 | } | 95 | 26.9M | } | 96 | 26.9M | return std::forward<T>(val); | 97 | 26.9M | } |
std::optional<AssumeutxoData> const& inline_assertion_check<true, std::optional<AssumeutxoData> const&>(std::optional<AssumeutxoData> const&, std::source_location const&, std::basic_string_view<char, std::char_traits<char>>) Line | Count | Source | 90 | 6 | { | 91 | 6 | if (IS_ASSERT || std::is_constant_evaluated() || G_ABORT_ON_FAILED_ASSUME) { | 92 | 6 | if (!val) { | 93 | 0 | assertion_fail(loc, assertion); | 94 | 0 | } | 95 | 6 | } | 96 | 6 | return std::forward<T>(val); | 97 | 6 | } |
std::optional<node::BlockfileCursor>& inline_assertion_check<true, std::optional<node::BlockfileCursor>&>(std::optional<node::BlockfileCursor>&, std::source_location const&, std::basic_string_view<char, std::char_traits<char>>) Line | Count | Source | 90 | 112k | { | 91 | 112k | if (IS_ASSERT || std::is_constant_evaluated() || G_ABORT_ON_FAILED_ASSUME) { | 92 | 112k | if (!val) { | 93 | 0 | assertion_fail(loc, assertion); | 94 | 0 | } | 95 | 112k | } | 96 | 112k | return std::forward<T>(val); | 97 | 112k | } |
std::unique_ptr<node::KernelNotifications, std::default_delete<node::KernelNotifications>> const& inline_assertion_check<true, std::unique_ptr<node::KernelNotifications, std::default_delete<node::KernelNotifications>> const&>(std::unique_ptr<node::KernelNotifications, std::default_delete<node::KernelNotifications>> const&, std::source_location const&, std::basic_string_view<char, std::char_traits<char>>) Line | Count | Source | 90 | 55.8k | { | 91 | 55.8k | if (IS_ASSERT || std::is_constant_evaluated() || G_ABORT_ON_FAILED_ASSUME) { | 92 | 55.8k | if (!val) { | 93 | 0 | assertion_fail(loc, assertion); | 94 | 0 | } | 95 | 55.8k | } | 96 | 55.8k | return std::forward<T>(val); | 97 | 55.8k | } |
util::SignalInterrupt* const& inline_assertion_check<true, util::SignalInterrupt* const&>(util::SignalInterrupt* const&, std::source_location const&, std::basic_string_view<char, std::char_traits<char>>) Line | Count | Source | 90 | 8.08k | { | 91 | 8.08k | if (IS_ASSERT || std::is_constant_evaluated() || G_ABORT_ON_FAILED_ASSUME) { | 92 | 8.08k | if (!val) { | 93 | 0 | assertion_fail(loc, assertion); | 94 | 0 | } | 95 | 8.08k | } | 96 | 8.08k | return std::forward<T>(val); | 97 | 8.08k | } |
Unexecuted instantiation: node::NodeContext*& inline_assertion_check<true, node::NodeContext*&>(node::NodeContext*&, std::source_location const&, std::basic_string_view<char, std::char_traits<char>>) Unexecuted instantiation: node::NodeContext*&& inline_assertion_check<true, node::NodeContext*>(node::NodeContext*&&, std::source_location const&, std::basic_string_view<char, std::char_traits<char>>) Unexecuted instantiation: interfaces::WalletLoader*& inline_assertion_check<true, interfaces::WalletLoader*&>(interfaces::WalletLoader*&, std::source_location const&, std::basic_string_view<char, std::char_traits<char>>) std::unique_ptr<ChainstateManager, std::default_delete<ChainstateManager>> const& inline_assertion_check<true, std::unique_ptr<ChainstateManager, std::default_delete<ChainstateManager>> const&>(std::unique_ptr<ChainstateManager, std::default_delete<ChainstateManager>> const&, std::source_location const&, std::basic_string_view<char, std::char_traits<char>>) Line | Count | Source | 90 | 99.9k | { | 91 | 99.9k | if (IS_ASSERT || std::is_constant_evaluated() || G_ABORT_ON_FAILED_ASSUME) { | 92 | 99.9k | if (!val) { | 93 | 0 | assertion_fail(loc, assertion); | 94 | 0 | } | 95 | 99.9k | } | 96 | 99.9k | return std::forward<T>(val); | 97 | 99.9k | } |
std::optional<unsigned long> const& inline_assertion_check<true, std::optional<unsigned long> const&>(std::optional<unsigned long> const&, std::source_location const&, std::basic_string_view<char, std::char_traits<char>>) Line | Count | Source | 90 | 149k | { | 91 | 149k | if (IS_ASSERT || std::is_constant_evaluated() || G_ABORT_ON_FAILED_ASSUME) { | 92 | 149k | if (!val) { | 93 | 0 | assertion_fail(loc, assertion); | 94 | 0 | } | 95 | 149k | } | 96 | 149k | return std::forward<T>(val); | 97 | 149k | } |
std::optional<uint256> const& inline_assertion_check<false, std::optional<uint256> const&>(std::optional<uint256> const&, std::source_location const&, std::basic_string_view<char, std::char_traits<char>>) Line | Count | Source | 90 | 69 | { | 91 | 69 | if (IS_ASSERT || std::is_constant_evaluated() || G_ABORT_ON_FAILED_ASSUME) { | 92 | 69 | if (!val) { | 93 | 0 | assertion_fail(loc, assertion); | 94 | 0 | } | 95 | 69 | } | 96 | 69 | return std::forward<T>(val); | 97 | 69 | } |
std::optional<uint256>&& inline_assertion_check<false, std::optional<uint256>>(std::optional<uint256>&&, std::source_location const&, std::basic_string_view<char, std::char_traits<char>>) Line | Count | Source | 90 | 47.7k | { | 91 | 47.7k | if (IS_ASSERT || std::is_constant_evaluated() || G_ABORT_ON_FAILED_ASSUME) { | 92 | 47.7k | if (!val) { | 93 | 0 | assertion_fail(loc, assertion); | 94 | 0 | } | 95 | 47.7k | } | 96 | 47.7k | return std::forward<T>(val); | 97 | 47.7k | } |
bool const& inline_assertion_check<false, bool const&>(bool const&, std::source_location const&, std::basic_string_view<char, std::char_traits<char>>) Line | Count | Source | 90 | 497k | { | 91 | 497k | if (IS_ASSERT || std::is_constant_evaluated() || G_ABORT_ON_FAILED_ASSUME) { | 92 | 497k | if (!val) { | 93 | 0 | assertion_fail(loc, assertion); | 94 | 0 | } | 95 | 497k | } | 96 | 497k | return std::forward<T>(val); | 97 | 497k | } |
node::ReadRawError const*&& inline_assertion_check<true, node::ReadRawError const*>(node::ReadRawError const*&&, std::source_location const&, std::basic_string_view<char, std::char_traits<char>>) Line | Count | Source | 90 | 12 | { | 91 | 12 | if (IS_ASSERT || std::is_constant_evaluated() || G_ABORT_ON_FAILED_ASSUME) { | 92 | 12 | if (!val) { | 93 | 0 | assertion_fail(loc, assertion); | 94 | 0 | } | 95 | 12 | } | 96 | 12 | return std::forward<T>(val); | 97 | 12 | } |
TxGraph::Ref const*& inline_assertion_check<false, TxGraph::Ref const*&>(TxGraph::Ref const*&, std::source_location const&, std::basic_string_view<char, std::char_traits<char>>) Line | Count | Source | 90 | 2.73k | { | 91 | 2.73k | if (IS_ASSERT || std::is_constant_evaluated() || G_ABORT_ON_FAILED_ASSUME) { | 92 | 2.73k | if (!val) { | 93 | 0 | assertion_fail(loc, assertion); | 94 | 0 | } | 95 | 2.73k | } | 96 | 2.73k | return std::forward<T>(val); | 97 | 2.73k | } |
txgraph.cpp:(anonymous namespace)::Cluster*& inline_assertion_check<false, (anonymous namespace)::Cluster*&>((anonymous namespace)::Cluster*&, std::source_location const&, std::basic_string_view<char, std::char_traits<char>>) Line | Count | Source | 90 | 176k | { | 91 | 176k | if (IS_ASSERT || std::is_constant_evaluated() || G_ABORT_ON_FAILED_ASSUME) { | 92 | 176k | if (!val) { | 93 | 0 | assertion_fail(loc, assertion); | 94 | 0 | } | 95 | 176k | } | 96 | 176k | return std::forward<T>(val); | 97 | 176k | } |
Unexecuted instantiation: std::unique_ptr<CTxMemPool::ChangeSet, std::default_delete<CTxMemPool::ChangeSet>>& inline_assertion_check<false, std::unique_ptr<CTxMemPool::ChangeSet, std::default_delete<CTxMemPool::ChangeSet>>&>(std::unique_ptr<CTxMemPool::ChangeSet, std::default_delete<CTxMemPool::ChangeSet>>&, std::source_location const&, std::basic_string_view<char, std::char_traits<char>>) std::shared_ptr<CBlock const>& inline_assertion_check<true, std::shared_ptr<CBlock const>&>(std::shared_ptr<CBlock const>&, std::source_location const&, std::basic_string_view<char, std::char_traits<char>>) Line | Count | Source | 90 | 112k | { | 91 | 112k | if (IS_ASSERT || std::is_constant_evaluated() || G_ABORT_ON_FAILED_ASSUME) { | 92 | 112k | if (!val) { | 93 | 0 | assertion_fail(loc, assertion); | 94 | 0 | } | 95 | 112k | } | 96 | 112k | return std::forward<T>(val); | 97 | 112k | } |
uint256 const*& inline_assertion_check<true, uint256 const*&>(uint256 const*&, std::source_location const&, std::basic_string_view<char, std::char_traits<char>>) Line | Count | Source | 90 | 48.3k | { | 91 | 48.3k | if (IS_ASSERT || std::is_constant_evaluated() || G_ABORT_ON_FAILED_ASSUME) { | 92 | 48.3k | if (!val) { | 93 | 0 | assertion_fail(loc, assertion); | 94 | 0 | } | 95 | 48.3k | } | 96 | 48.3k | return std::forward<T>(val); | 97 | 48.3k | } |
std::optional<int> const& inline_assertion_check<true, std::optional<int> const&>(std::optional<int> const&, std::source_location const&, std::basic_string_view<char, std::char_traits<char>>) Line | Count | Source | 90 | 434k | { | 91 | 434k | if (IS_ASSERT || std::is_constant_evaluated() || G_ABORT_ON_FAILED_ASSUME) { | 92 | 434k | if (!val) { | 93 | 0 | assertion_fail(loc, assertion); | 94 | 0 | } | 95 | 434k | } | 96 | 434k | return std::forward<T>(val); | 97 | 434k | } |
CBlockIndex* const& inline_assertion_check<false, CBlockIndex* const&>(CBlockIndex* const&, std::source_location const&, std::basic_string_view<char, std::char_traits<char>>) Line | Count | Source | 90 | 323k | { | 91 | 323k | if (IS_ASSERT || std::is_constant_evaluated() || G_ABORT_ON_FAILED_ASSUME) { | 92 | 323k | if (!val) { | 93 | 0 | assertion_fail(loc, assertion); | 94 | 0 | } | 95 | 323k | } | 96 | 323k | return std::forward<T>(val); | 97 | 323k | } |
std::unique_ptr<Chainstate, std::default_delete<Chainstate>>&& inline_assertion_check<true, std::unique_ptr<Chainstate, std::default_delete<Chainstate>>>(std::unique_ptr<Chainstate, std::default_delete<Chainstate>>&&, std::source_location const&, std::basic_string_view<char, std::char_traits<char>>) Line | Count | Source | 90 | 2 | { | 91 | 2 | if (IS_ASSERT || std::is_constant_evaluated() || G_ABORT_ON_FAILED_ASSUME) { | 92 | 2 | if (!val) { | 93 | 0 | assertion_fail(loc, assertion); | 94 | 0 | } | 95 | 2 | } | 96 | 2 | return std::forward<T>(val); | 97 | 2 | } |
std::unique_ptr<util::TaskRunnerInterface, std::default_delete<util::TaskRunnerInterface>>& inline_assertion_check<true, std::unique_ptr<util::TaskRunnerInterface, std::default_delete<util::TaskRunnerInterface>>&>(std::unique_ptr<util::TaskRunnerInterface, std::default_delete<util::TaskRunnerInterface>>&, std::source_location const&, std::basic_string_view<char, std::char_traits<char>>) Line | Count | Source | 90 | 1.30k | { | 91 | 1.30k | if (IS_ASSERT || std::is_constant_evaluated() || G_ABORT_ON_FAILED_ASSUME) { | 92 | 1.30k | if (!val) { | 93 | 0 | assertion_fail(loc, assertion); | 94 | 0 | } | 95 | 1.30k | } | 96 | 1.30k | return std::forward<T>(val); | 97 | 1.30k | } |
std::optional<long> const& inline_assertion_check<true, std::optional<long> const&>(std::optional<long> const&, std::source_location const&, std::basic_string_view<char, std::char_traits<char>>) Line | Count | Source | 90 | 3.58k | { | 91 | 3.58k | if (IS_ASSERT || std::is_constant_evaluated() || G_ABORT_ON_FAILED_ASSUME) { | 92 | 3.58k | if (!val) { | 93 | 0 | assertion_fail(loc, assertion); | 94 | 0 | } | 95 | 3.58k | } | 96 | 3.58k | return std::forward<T>(val); | 97 | 3.58k | } |
CScheduler*& inline_assertion_check<true, CScheduler*&>(CScheduler*&, std::source_location const&, std::basic_string_view<char, std::char_traits<char>>) Line | Count | Source | 90 | 7 | { | 91 | 7 | if (IS_ASSERT || std::is_constant_evaluated() || G_ABORT_ON_FAILED_ASSUME) { | 92 | 7 | if (!val) { | 93 | 0 | assertion_fail(loc, assertion); | 94 | 0 | } | 95 | 7 | } | 96 | 7 | return std::forward<T>(val); | 97 | 7 | } |
wallet::CWalletTx const*&& inline_assertion_check<true, wallet::CWalletTx const*>(wallet::CWalletTx const*&&, std::source_location const&, std::basic_string_view<char, std::char_traits<char>>) Line | Count | Source | 90 | 5 | { | 91 | 5 | if (IS_ASSERT || std::is_constant_evaluated() || G_ABORT_ON_FAILED_ASSUME) { | 92 | 5 | if (!val) { | 93 | 0 | assertion_fail(loc, assertion); | 94 | 0 | } | 95 | 5 | } | 96 | 5 | return std::forward<T>(val); | 97 | 5 | } |
std::unique_ptr<wallet::SQliteExecHandler, std::default_delete<wallet::SQliteExecHandler>>& inline_assertion_check<true, std::unique_ptr<wallet::SQliteExecHandler, std::default_delete<wallet::SQliteExecHandler>>&>(std::unique_ptr<wallet::SQliteExecHandler, std::default_delete<wallet::SQliteExecHandler>>&, std::source_location const&, std::basic_string_view<char, std::char_traits<char>>) Line | Count | Source | 90 | 147k | { | 91 | 147k | if (IS_ASSERT || std::is_constant_evaluated() || G_ABORT_ON_FAILED_ASSUME) { | 92 | 147k | if (!val) { | 93 | 0 | assertion_fail(loc, assertion); | 94 | 0 | } | 95 | 147k | } | 96 | 147k | return std::forward<T>(val); | 97 | 147k | } |
unsigned long&& inline_assertion_check<true, unsigned long>(unsigned long&&, std::source_location const&, std::basic_string_view<char, std::char_traits<char>>) Line | Count | Source | 90 | 637 | { | 91 | 637 | if (IS_ASSERT || std::is_constant_evaluated() || G_ABORT_ON_FAILED_ASSUME) { | 92 | 637 | if (!val) { | 93 | 0 | assertion_fail(loc, assertion); | 94 | 0 | } | 95 | 637 | } | 96 | 637 | return std::forward<T>(val); | 97 | 637 | } |
ArgsManager* const& inline_assertion_check<true, ArgsManager* const&>(ArgsManager* const&, std::source_location const&, std::basic_string_view<char, std::char_traits<char>>) Line | Count | Source | 90 | 998 | { | 91 | 998 | if (IS_ASSERT || std::is_constant_evaluated() || G_ABORT_ON_FAILED_ASSUME) { | 92 | 998 | if (!val) { | 93 | 0 | assertion_fail(loc, assertion); | 94 | 0 | } | 95 | 998 | } | 96 | 998 | return std::forward<T>(val); | 97 | 998 | } |
wallet::LegacyDataSPKM*& inline_assertion_check<false, wallet::LegacyDataSPKM*&>(wallet::LegacyDataSPKM*&, std::source_location const&, std::basic_string_view<char, std::char_traits<char>>) Line | Count | Source | 90 | 80 | { | 91 | 80 | if (IS_ASSERT || std::is_constant_evaluated() || G_ABORT_ON_FAILED_ASSUME) { | 92 | 80 | if (!val) { | 93 | 0 | assertion_fail(loc, assertion); | 94 | 0 | } | 95 | 80 | } | 96 | 80 | return std::forward<T>(val); | 97 | 80 | } |
util::Expected<std::vector<wallet::WalletDescInfo, std::allocator<wallet::WalletDescInfo>>, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>>& inline_assertion_check<true, util::Expected<std::vector<wallet::WalletDescInfo, std::allocator<wallet::WalletDescInfo>>, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>>&>(util::Expected<std::vector<wallet::WalletDescInfo, std::allocator<wallet::WalletDescInfo>>, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>>&, std::source_location const&, std::basic_string_view<char, std::char_traits<char>>) Line | Count | Source | 90 | 7 | { | 91 | 7 | if (IS_ASSERT || std::is_constant_evaluated() || G_ABORT_ON_FAILED_ASSUME) { | 92 | 7 | if (!val) { | 93 | 0 | assertion_fail(loc, assertion); | 94 | 0 | } | 95 | 7 | } | 96 | 7 | return std::forward<T>(val); | 97 | 7 | } |
std::shared_ptr<CTransaction const>& inline_assertion_check<true, std::shared_ptr<CTransaction const>&>(std::shared_ptr<CTransaction const>&, std::source_location const&, std::basic_string_view<char, std::char_traits<char>>) Line | Count | Source | 90 | 4 | { | 91 | 4 | if (IS_ASSERT || std::is_constant_evaluated() || G_ABORT_ON_FAILED_ASSUME) { | 92 | 4 | if (!val) { | 93 | 0 | assertion_fail(loc, assertion); | 94 | 0 | } | 95 | 4 | } | 96 | 4 | return std::forward<T>(val); | 97 | 4 | } |
std::optional<fs::path> const& inline_assertion_check<true, std::optional<fs::path> const&>(std::optional<fs::path> const&, std::source_location const&, std::basic_string_view<char, std::char_traits<char>>) Line | Count | Source | 90 | 3.45k | { | 91 | 3.45k | if (IS_ASSERT || std::is_constant_evaluated() || G_ABORT_ON_FAILED_ASSUME) { | 92 | 3.45k | if (!val) { | 93 | 0 | assertion_fail(loc, assertion); | 94 | 0 | } | 95 | 3.45k | } | 96 | 3.45k | return std::forward<T>(val); | 97 | 3.45k | } |
std::optional<std::pair<XOnlyPubKey, bool>>& inline_assertion_check<false, std::optional<std::pair<XOnlyPubKey, bool>>&>(std::optional<std::pair<XOnlyPubKey, bool>>&, std::source_location const&, std::basic_string_view<char, std::char_traits<char>>) Line | Count | Source | 90 | 916 | { | 91 | 916 | if (IS_ASSERT || std::is_constant_evaluated() || G_ABORT_ON_FAILED_ASSUME) { | 92 | 916 | if (!val) { | 93 | 0 | assertion_fail(loc, assertion); | 94 | 0 | } | 95 | 916 | } | 96 | 916 | return std::forward<T>(val); | 97 | 916 | } |
std::map<uint256, MuSig2SecNonce, std::less<uint256>, std::allocator<std::pair<uint256 const, MuSig2SecNonce>>>* const& inline_assertion_check<false, std::map<uint256, MuSig2SecNonce, std::less<uint256>, std::allocator<std::pair<uint256 const, MuSig2SecNonce>>>* const&>(std::map<uint256, MuSig2SecNonce, std::less<uint256>, std::allocator<std::pair<uint256 const, MuSig2SecNonce>>>* const&, std::source_location const&, std::basic_string_view<char, std::char_traits<char>>) Line | Count | Source | 90 | 539 | { | 91 | 539 | if (IS_ASSERT || std::is_constant_evaluated() || G_ABORT_ON_FAILED_ASSUME) { | 92 | 539 | if (!val) { | 93 | 0 | assertion_fail(loc, assertion); | 94 | 0 | } | 95 | 539 | } | 96 | 539 | return std::forward<T>(val); | 97 | 539 | } |
|