MCPcopy Create free account
hub / github.com/apache/trafficserver / ink_atoui

Function ink_atoui

include/tscore/ParseRules.h:890–900  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

888}
889
890static inline unsigned int
891ink_atoui(const char *str)
892{
893 uint64_t val = ink_atoui64(str);
894
895 if (val > UINT_MAX) {
896 return UINT_MAX;
897 } else {
898 return static_cast<unsigned int>(val);
899 }
900}

Callers 3

_convertStringToIntMethod · 0.85
test_ink_string.ccFile · 0.85
TSPluginInitFunction · 0.85

Calls 1

ink_atoui64Function · 0.85

Tested by

no test coverage detected