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

Method value

src/bench/nanobench.h:2777–2782  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2775}
2776
2777std::string MarkDownColumn::value() const {
2778 std::stringstream ss;
2779 auto width = mWidth - 2 - static_cast<int>(mSuffix.size());
2780 ss << '|' << Number(width, mPrecision, mValue) << mSuffix << ' ';
2781 return ss.str();
2782}
2783
2784// Formats any text as markdown code, escaping backticks.
2785MarkDownCode::MarkDownCode(std::string const& what) {

Callers 15

trimMethod · 0.45
CBlockIndexClass · 0.45
is_dynafed_blockMethod · 0.45
GetBlockHeaderMethod · 0.45
SERIALIZE_METHODSMethod · 0.45
GetBlockHashMethod · 0.45
GetMethod · 0.45
ExtractAndValidateValueFunction · 0.45
TrimAndParseFunction · 0.45
ProcessOrphanTxMethod · 0.45
ProcessMessageMethod · 0.45
LoadBlockIndexGutsMethod · 0.45

Calls 3

NumberClass · 0.85
strMethod · 0.80
sizeMethod · 0.45

Tested by 11

BOOST_FIXTURE_TEST_CASEFunction · 0.36
BOOST_AUTO_TEST_CASEFunction · 0.36
TestAddMatrixOverflowFunction · 0.36
TestAddMatrixFunction · 0.36
BOOST_AUTO_TEST_CASEFunction · 0.36
BOOST_AUTO_TEST_CASEFunction · 0.36
FUZZ_TARGET_INITFunction · 0.36
TestAdditionOverflowFunction · 0.36
FUZZ_TARGETFunction · 0.36
FUZZ_TARGETFunction · 0.36
RecvMethod · 0.36