Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/comaps/comaps
/ LooksLikePostcode
Function
LooksLikePostcode
libs/indexer/postcodes_matcher.cpp:99–102 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
97
} // namespace
98
99
bool LooksLikePostcode(StringSliceBase const & slice, bool isPrefix)
100
{
101
return GetPostcodesMatcher().HasString(slice, isPrefix);
102
}
103
104
bool LooksLikePostcode(string_view sv, bool isPrefix)
105
{
Callers
5
InsertPostcodes
Function · 0.85
SearchPostcode
Method · 0.85
WithPostcodes
Method · 0.85
ValidatePostCode
Method · 0.85
UNIT_TEST
Function · 0.85
Calls
3
TokenizeStringAndCheckIfLastTokenIsPrefix
Function · 0.85
StringSlice
Class · 0.85
HasString
Method · 0.45
Tested by
1
UNIT_TEST
Function · 0.68