Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/comaps/comaps
/ TrimLeadingSpaces
Function
TrimLeadingSpaces
libs/search/processor.cpp:78–82 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
76
}
77
78
void TrimLeadingSpaces(string & s)
79
{
80
while (!s.empty() && strings::IsASCIISpace(s.front()))
81
s = s.substr(1);
82
}
83
84
bool EatFid(string & s, uint32_t & fid)
85
{
Callers
3
EatFid
Function · 0.85
EatMwmName
Function · 0.85
EatVersion
Function · 0.85
Calls
3
IsASCIISpace
Function · 0.85
front
Method · 0.80
empty
Method · 0.45
Tested by
no test coverage detected