Home
last modified time | relevance | path

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

/external/llvm-project/clang-tools-extra/clangd/
DFuzzyMatch.h113 float ScoreScale; // Normalizes scores for the pattern length. variable
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()