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

Method HasUsedTokensInRange

libs/search/geocoder_context.cpp:68–75  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

66}
67
68bool BaseContext::HasUsedTokensInRange(TokenRange const & range) const
69{
70 ASSERT(range.IsValid(), (range));
71 for (size_t i = range.Begin(); i < range.End(); ++i)
72 if (IsTokenUsed(i))
73 return true;
74 return false;
75}
76
77size_t BaseContext::NumUnusedTokenGroups() const
78{

Callers 2

MatchRegionsMethod · 0.80
MatchCitiesMethod · 0.80

Calls 4

ASSERTFunction · 0.85
IsValidMethod · 0.45
BeginMethod · 0.45
EndMethod · 0.45

Tested by

no test coverage detected