Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/cpputest/cpputest
/ allocate
Method
allocate
src/CppUTest/SimpleString.cpp:971–977 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
969
}
970
971
void SimpleStringCollection::allocate(size_t _size)
972
{
973
delete[] collection_;
974
975
size_ = _size;
976
collection_ = new SimpleString[size_];
977
}
978
979
SimpleStringCollection::~SimpleStringCollection()
980
{
Callers
2
split
Method · 0.80
TEST
Function · 0.80
Calls
no outgoing calls
Tested by
1
TEST
Function · 0.64