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

Method make_space

libhsclient/string_buffer.hpp:81–84  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

79 }
80 }
81 char *make_space(size_t len) {
82 reserve(size() + len);
83 return buffer + end_offset;
84 }
85 void space_wrote(size_t len) {
86 len = std::min(len, alloc_size - end_offset);
87 end_offset += len;

Callers 10

test_9Method · 0.80
test_10Method · 0.80
test_12Method · 0.80
read_moreMethod · 0.80
append_uint32Function · 0.80
read_moreMethod · 0.80
escape_stringFunction · 0.80
unescape_stringFunction · 0.80
write_ui32Function · 0.80
write_ui64Function · 0.80

Calls

no outgoing calls

Tested by 3

test_9Method · 0.64
test_10Method · 0.64
test_12Method · 0.64