Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/async-profiler/async-profiler
/ BufferWriter
Method
BufferWriter
src/writer.cpp:85–87 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
83
}
84
85
BufferWriter::BufferWriter(size_t capacity) : _size(0), _capacity(capacity) {
86
_buf = (char*)malloc(capacity);
87
}
88
89
BufferWriter::~BufferWriter() {
90
free(_buf);
Callers
nothing calls this directly
Calls
1
malloc
Function · 0.85
Tested by
no test coverage detected