MCPcopy Create free account
hub / github.com/KDE/kdevelop / insertData

Function insertData

kdevplatform/language/duchain/tests/bench_hashes.cpp:39–44  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

37using StlHash = std::unordered_map<KDevelop::IndexedString, DataT, IndexedStringHash>;
38
39inline void insertData(StlHash& hash, const InputData& data)
40{
41 for (const DataPair& pair : data) {
42 hash.insert(std::make_pair(pair.first, pair.second));
43 }
44}
45
46using QStringHash = QHash<KDevelop::IndexedString, DataT>;
47inline void insertData(QStringHash& hash, const InputData& data)

Callers 5

insertMethod · 0.70
bench_hashes.cppFile · 0.70
findMethod · 0.70
constFindMethod · 0.70
removeMethod · 0.70

Calls 1

insertMethod · 0.45

Tested by

no test coverage detected