Home
last modified time | relevance | path

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

/external/llvm-project/clang-tools-extra/clangd/
DFuzzyMatch.cpp78 ScoreScale(PatN ? float{1} / (PerfectBonus * PatN) : 0), WordN(0) { in FuzzyMatcher()
98 auto Best = std::max(Scores[PatN][WordN][Miss].Score, in match()
99 Scores[PatN][WordN][Match].Score); in match()
106 if (WordN == PatN) in match()
182 WordN = std::min<int>(MaxWord, NewWord.size()); in init()
183 if (PatN > WordN) in init()
185 std::copy(NewWord.begin(), NewWord.begin() + WordN, Word); in init()
188 for (int I = 0; I < WordN; ++I) in init()
193 if (W == WordN) in init()
202 WordTypeSet = calculateRoles(llvm::StringRef(Word, WordN), in init()
[all …]
DFuzzyMatch.h117 int WordN; // Length variable