Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/bytedance/bolt
/ zeroOutBuffer
Function
zeroOutBuffer
bolt/vector/ComplexVector.cpp:1005–1007 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1003
1004
namespace {
1005
void zeroOutBuffer(BufferPtr buffer) {
1006
memset(buffer->asMutable<char>(), 0, buffer->size());
1007
}
1008
} // namespace
1009
1010
void ArrayVector::prepareForReuse() {
Callers
1
prepareForReuse
Method · 0.85
Calls
2
memset
Function · 0.85
size
Method · 0.45
Tested by
no test coverage detected