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

Method as_int

src/script/verify_flags.h:36–36  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

34 // integer conversion needs to be very explicit
35 static constexpr script_verify_flags from_int(value_type f) { script_verify_flags r; r.m_value = f; return r; }
36 constexpr value_type as_int() const { return m_value; }
37
38 // bitwise operations
39 constexpr script_verify_flags operator~() const { return from_int(~m_value); }

Callers 5

GetScriptFlagNamesFunction · 0.80
BOOST_AUTO_TEST_CASEFunction · 0.80
DoTestMethod · 0.80
script_flags.cppFile · 0.80
FUZZ_TARGETFunction · 0.80

Calls

no outgoing calls

Tested by 3

BOOST_AUTO_TEST_CASEFunction · 0.64
DoTestMethod · 0.64
FUZZ_TARGETFunction · 0.64