MCPcopy Create free account
hub / github.com/Snapchat/Valdi / getAllSymbolNames

Method getAllSymbolNames

valdi_protobuf/src/valdi_protobuf/DescriptorDatabase.cpp:112–119  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

110}
111
112std::vector<std::string> DescriptorDatabase::getAllSymbolNames() const {
113 std::vector<std::string> output;
114 output.reserve(_index.symbols_size());
115 for (const auto& symbol : _index.symbols()) {
116 output.push_back(symbol.full_name());
117 }
118 return output;
119}
120
121size_t DescriptorDatabase::getSymbolsSize() const {
122 return _index.symbols_size();

Callers 2

getDescriptorNamesMethod · 0.80
TESTFunction · 0.80

Calls 2

symbols_sizeMethod · 0.80
reserveMethod · 0.45

Tested by 1

TESTFunction · 0.64