Home
last modified time | relevance | path

Searched refs:IDAndScore (Results 1 – 2 of 2) sorted by relevance

/external/llvm-project/clang-tools-extra/clangd/index/dex/
DDex.cpp236 using IDAndScore = std::pair<DocID, float>; in fuzzyFind() typedef
237 std::vector<IDAndScore> IDAndScores = consume(*Root); in fuzzyFind()
239 auto Compare = [](const IDAndScore &LHS, const IDAndScore &RHS) { in fuzzyFind()
242 TopN<IDAndScore, decltype(Compare)> Top( in fuzzyFind()
244 for (const auto &IDAndScore : IDAndScores) { in fuzzyFind() local
245 const DocID SymbolDocID = IDAndScore.first; in fuzzyFind()
253 (*Score) * SymbolQuality[SymbolDocID] * IDAndScore.second; in fuzzyFind()
/external/llvm-project/clang-tools-extra/clangd/unittests/
DDexTests.cpp41 auto IDAndScore = consume(It); in consumeIDs() local
42 std::vector<DocID> IDs(IDAndScore.size()); in consumeIDs()
43 for (size_t I = 0; I < IDAndScore.size(); ++I) in consumeIDs()
44 IDs[I] = IDAndScore[I].first; in consumeIDs()