MCPcopy Create free account
hub / github.com/RenderKit/embree / addRow

Method addRow

tutorials/external/catch.hpp:13893–13905  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

13891 : label( std::move( _label ) ),
13892 colour( _colour ) {}
13893 SummaryColumn addRow( std::size_t count ) {
13894 ReusableStringStream rss;
13895 rss << count;
13896 std::string row = rss.str();
13897 for (auto& oldRow : rows) {
13898 while (oldRow.size() < row.size())
13899 oldRow = ' ' + oldRow;
13900 while (oldRow.size() > row.size())
13901 row = ' ' + row;
13902 }
13903 rows.push_back(row);
13904 return *this;
13905 }
13906
13907 std::string label;
13908 Colour::Code colour;

Callers 1

printTotalsMethod · 0.80

Calls 3

strMethod · 0.45
sizeMethod · 0.45
push_backMethod · 0.45

Tested by

no test coverage detected