MCPcopy Create free account
hub / github.com/baidu/babylon / resize

Method resize

test/test_string.cpp:103–105  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

101 typedef char* pointer;
102 typedef size_t size_type;
103 void resize(size_t size) {
104 _size = size + 25;
105 }
106 char& operator[](size_t) {
107 return reinterpret_cast<char&>(_size);
108 }

Callers 15

processMethod · 0.45
run_loopFunction · 0.45
mainFunction · 0.45
TEST_FFunction · 0.45
TESTFunction · 0.45
TEST_FFunction · 0.45
TEST_FFunction · 0.45
TEST_FFunction · 0.45
TEST_FFunction · 0.45
TESTFunction · 0.45
TESTFunction · 0.45
TESTFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected