Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/comaps/comaps
/ LastUniChar
Function
LastUniChar
libs/base/string_utils.cpp:89–96 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
87
}
88
89
UniChar LastUniChar(std::string const & s)
90
{
91
if (s.empty())
92
return 0;
93
utf8::unchecked::iterator iter(s.end());
94
--iter;
95
return *iter;
96
}
97
98
bool to_size_t(char const * start, size_t & i, int base)
99
{
Callers
2
GetScore
Function · 0.85
UNIT_TEST
Function · 0.85
Calls
2
empty
Method · 0.45
end
Method · 0.45
Tested by
2
GetScore
Function · 0.68
UNIT_TEST
Function · 0.68