Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/catboost/catboost
/ IsHexDigit
Function
IsHexDigit
library/cpp/yson/writer.cpp:35–37 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
33
}
34
35
inline bool IsHexDigit(char c) {
36
return (c >=
'0'
&& c <=
'9'
) || (c >=
'A'
&& c <=
'F'
) || (c >=
'a'
&& c <=
'f'
);
37
}
38
39
inline bool IsOctDigit(char c) {
40
return c >=
'0'
&& c <=
'7'
;
Callers
2
EscapeC
Function · 0.70
ReadHexDigit
Method · 0.50
Calls
no outgoing calls
Tested by
no test coverage detected