Home
last modified time | relevance | path

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

/llvm-project-15.0.7/clang-tools-extra/clangd/
H A DFuzzyMatch.cpp78 ScoreScale(PatN ? float{1} / (PerfectBonus * PatN) : 0), WordN(0) { in FuzzyMatcher()
80 for (int I = 0; I < PatN; ++I)
84 for (int P = 0; P <= PatN; ++P)
95 if (!PatN) in match()
106 if (WordN == PatN) in match()
183 if (PatN > WordN) in init()
186 if (PatN == 0) in init()
222 for (int P = 0; P < PatN; ++P) { in buildGraph()
312 if (PatN == 0) { in dumpLast()
335 (Scores[PatN][WordN][Match].Score > Scores[PatN][WordN][Miss].Score) in dumpLast()
[all …]
H A DFuzzyMatch.h82 llvm::StringRef pattern() const { return llvm::StringRef(Pat, PatN); } in pattern()
83 bool empty() const { return PatN == 0; } in empty()
109 int PatN; // Length variable