Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/cppcheck-opensource/cppcheck
/ isHex
Function
isHex
externals/simplecpp/simplecpp.cpp:60–63 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
58
#endif
59
60
static bool isHex(const std::string &s)
61
{
62
return s.size()>2 && (s.compare(0,2,
"0x"
)==0 || s.compare(0,2,
"0X"
)==0);
63
}
64
65
static bool isOct(const std::string &s)
66
{
Callers
3
stringToLL
Function · 0.85
stringToULL
Function · 0.85
combineOperators
Method · 0.85
Calls
2
size
Method · 0.45
compare
Method · 0.45
Tested by
no test coverage detected