MCPcopy Create free account
hub / github.com/comaps/comaps / SetLanguages

Method SetLanguages

libs/search/keyword_lang_matcher.cpp:43–47  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

41}
42
43void KeywordLangMatcher::SetLanguages(size_t tier, std::vector<int8_t> && languages)
44{
45 ASSERT_LESS(tier, m_languagePriorities.size(), ());
46 m_languagePriorities[tier] = std::move(languages);
47}
48
49int KeywordLangMatcher::CalcLangScore(int8_t lang) const
50{

Callers 5

ProcessorMethod · 0.45
SetPreferredLocaleMethod · 0.45
SetInputLocaleMethod · 0.45
GetReadableNameMethod · 0.45
CreateMatcherFunction · 0.45

Calls 1

sizeMethod · 0.45

Tested by 1

CreateMatcherFunction · 0.36