MCPcopy Create free account
hub / github.com/MariaDB/server / read_ui32

Function read_ui32

plugin/handler_socket/libhsclient/escape.cpp:89–104  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

87}
88
89uint32_t
90read_ui32(char *& start, char *finish)
91{
92 char *const n_begin = start;
93 read_token(start, finish);
94 char *const n_end = start;
95 uint32_t v = 0;
96 for (char *p = n_begin; p != n_end; ++p) {
97 const char ch = p[0];
98 if (ch >= '0' && ch <= '9') {
99 v *= 10;
100 v += (ch - '0');
101 }
102 }
103 return v;
104}
105
106void
107write_ui32(string_buffer& buf, uint32_t v)

Callers 3

do_open_indexMethod · 0.85
do_exec_on_indexMethod · 0.85
response_recvMethod · 0.85

Calls 1

read_tokenFunction · 0.70

Tested by

no test coverage detected