MCPcopy Create free account
hub / github.com/apache/trafficserver / all

Method all

lib/catch2/catch.hpp:11313–11327  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

11311 }
11312
11313 std::string TagInfo::all() const {
11314 size_t size = 0;
11315 for (auto const& spelling : spellings) {
11316 // Add 2 for the brackes
11317 size += spelling.size() + 2;
11318 }
11319
11320 std::string out; out.reserve(size);
11321 for (auto const& spelling : spellings) {
11322 out += '[';
11323 out += spelling;
11324 out += ']';
11325 }
11326 return out;
11327 }
11328
11329 std::size_t listTags( Config const& config ) {
11330 TestSpec const& testSpec = config.testSpec();

Callers 3

listTagsFunction · 0.45
test_Lexicon.ccFile · 0.45

Calls 2

sizeMethod · 0.45
reserveMethod · 0.45

Tested by

no test coverage detected