MCPcopy Create free account
hub / github.com/argotorg/solidity / countRoundEntries

Method countRoundEntries

tools/yulPhaser/ProgramCache.cpp:143–153  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

141}
142
143std::map<std::size_t, std::size_t> ProgramCache::countRoundEntries() const
144{
145 std::map<std::size_t, std::size_t> counts;
146 for (auto& pair: m_entries)
147 if (counts.find(pair.second.roundNumber) != counts.end())
148 ++counts.at(pair.second.roundNumber);
149 else
150 counts.insert({pair.second.roundNumber, 1});
151
152 return counts;
153}

Callers

nothing calls this directly

Calls 4

atMethod · 0.80
insertMethod · 0.80
findMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected