Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/beefytech/Beef
/ Free
Method
Free
BeefySysLib/util/BeefPerf.cpp:141–148 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
139
}
140
141
void Buffer::Free()
142
{
143
//delete mPtr;
144
BpManager::Get()->FreeBytes(mPtr);
145
mPtr = NULL;
146
mDataSize = 0;
147
mBufSize = 0;
148
}
149
150
void Buffer::Clear()
151
{
Callers
1
Disable
Method · 0.45
Calls
2
Get
Function · 0.85
FreeBytes
Method · 0.80
Tested by
no test coverage detected