Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/OpenDriveLab/OpenLane
/ char2int
Function
char2int
eval/CIPO_evaluation/common/gason.cpp:89–93 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
87
}
88
89
static inline int char2int(char c) {
90
if (c <=
'9'
)
91
return c -
'0'
;
92
return (c & ~
' '
) -
'A'
+ 10;
93
}
94
95
static double string2double(char *s, char **endptr) {
96
char ch = *s;
Callers
1
jsonParse
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected