MCPcopy Create free account
hub / github.com/Achain-Dev/Achain / hexchar_to_base10

Function hexchar_to_base10

src/Chain/libraries/glua/glua_tokenparser.cpp:221–224  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

219 }
220
221 static inline int hexchar_to_base10(int c)
222 {
223 return is_digit(c) ? (c - '0') : (is_big_alpha(c) ? (c - 'A' + 10) : (c - 'a' + 10));
224 }
225
226 void GluaTokenParser::_loadhexaesc(std::string &code, std::stringstream *ss)
227 {

Callers 2

_loadhexaescMethod · 0.85
_loadutf8escMethod · 0.85

Calls 2

is_big_alphaFunction · 0.85
is_digitFunction · 0.70

Tested by

no test coverage detected