MCPcopy 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
1004namespace {
1005void zeroOutBuffer(BufferPtr buffer) {
1006 memset(buffer->asMutable<char>(), 0, buffer->size());
1007}
1008} // namespace
1009
1010void ArrayVector::prepareForReuse() {

Callers 1

prepareForReuseMethod · 0.85

Calls 2

memsetFunction · 0.85
sizeMethod · 0.45

Tested by

no test coverage detected