Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
process
Method · 0.45
run_loop
Function · 0.45
main
Function · 0.45
TEST_F
Function · 0.45
TEST
Function · 0.45
TEST_F
Function · 0.45
TEST_F
Function · 0.45
TEST_F
Function · 0.45
TEST_F
Function · 0.45
TEST
Function · 0.45
TEST
Function · 0.45
TEST
Function · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected