MCPcopy Create free account
hub / github.com/Meituan-Dianping/SQLAdvisor / hex_val

Function hex_val

extra/resolve_stack_dump.c:174–183  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

172}
173
174static uchar hex_val(char c)
175{
176 uchar l;
177 if (my_isdigit(&my_charset_latin1,c))
178 return c - '0';
179 l = my_tolower(&my_charset_latin1,c);
180 if (l < 'a' || l > 'f')
181 return HEX_INVALID;
182 return (uchar)10 + ((uchar)c - (uchar)'a');
183}
184
185static my_long_addr_t read_addr(char** buf)
186{

Callers 1

read_addrFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected