Home
last modified time | relevance | path

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

/llvm-project-15.0.7/clang-tools-extra/clangd/
H A DFuzzyMatch.h113 float ScoreScale; // Normalizes scores for the pattern length. variable
H A DFuzzyMatch.cpp78 ScoreScale(PatN ? float{1} / (PerfectBonus * PatN) : 0), WordN(0) { in FuzzyMatcher()
103 ScoreScale * std::min(PerfectBonus * PatN, std::max<int>(0, Best)); in match()