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

Method IsPrefix

libs/search/token_slice.cpp:38–42  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

36}
37
38bool TokenSlice::IsPrefix(size_t i) const
39{
40 ASSERT_LESS(i, Size(), ());
41 return m_params.IsPrefixToken(m_offset + i);
42}
43
44// TokenSliceNoCategories --------------------------------------------------------------------------
45TokenSliceNoCategories::TokenSliceNoCategories(QueryParams const & params, TokenRange const & range) : m_params(params)

Callers 2

GetNameScoresFunction · 0.45
MatchFeatureByPostcodeFunction · 0.45

Calls 2

SizeFunction · 0.85
IsPrefixTokenMethod · 0.80

Tested by

no test coverage detected