MCPcopy Create free account
hub / github.com/ByConity/ByConity / decode

Method decode

src/Common/UTF8Helpers.cpp:56–62  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

54 };
55
56 UInt32 decode(UInt8 byte)
57 {
58 UInt32 type = TABLE[byte];
59 codepoint = (state != ACCEPT) ? (byte & 0x3fu) | (codepoint << 6) : (0xff >> type) & (byte);
60 state = TABLE[256 + state * 16 + type];
61 return state;
62 }
63
64 void reset()
65 {

Callers 15

__generate_pb2Method · 0.45
computeWidthImplFunction · 0.45
test_mysql_clientFunction · 0.45
test_mysql_affected_rowsFunction · 0.45
test_mysql_select_userFunction · 0.45
test_mysql_federatedFunction · 0.45
test_golang_clientFunction · 0.45
test_php_clientFunction · 0.45
test_mysqljs_clientFunction · 0.45

Calls

no outgoing calls

Tested by 12

test_mysql_clientFunction · 0.36
test_mysql_affected_rowsFunction · 0.36
test_mysql_select_userFunction · 0.36
test_mysql_federatedFunction · 0.36
test_golang_clientFunction · 0.36
test_php_clientFunction · 0.36
test_mysqljs_clientFunction · 0.36
test_java_clientFunction · 0.36
check_resultFunction · 0.36