MCPcopy Create free account
hub / github.com/DeNA/HandlerSocket-Plugin-for-MySQL / clear

Method clear

libhsclient/string_buffer.hpp:42–44  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

40 return end_offset - begin_offset;
41 }
42 void clear() {
43 begin_offset = end_offset = 0;
44 }
45 void resize(size_t len) {
46 if (size() < len) {
47 reserve(len);

Callers 12

test_9Method · 0.45
test_10Method · 0.45
test_12Method · 0.45
stop_workersMethod · 0.45
close_tables_ifMethod · 0.45
resetMethod · 0.45
write_moreMethod · 0.45
run_one_nbMethod · 0.45
run_one_epMethod · 0.45
closeMethod · 0.45
clear_errorMethod · 0.45
response_buf_removeMethod · 0.45

Calls

no outgoing calls

Tested by 3

test_9Method · 0.36
test_10Method · 0.36
test_12Method · 0.36