MCPcopy Create free account
hub / github.com/Pagghiu/SaneCppLibraries / refBuffer

Method refBuffer

Libraries/AsyncStreams/AsyncStreams.cpp:16–21  ·  view source on GitHub ↗

------------------------------------------------------------------------------------------------------- AsyncBufferView -------------------------------------------------------------------------------------------------------

Source from the content-addressed store, hash-verified

14// AsyncBufferView
15//-------------------------------------------------------------------------------------------------------
16void AsyncBuffersPool::refBuffer(AsyncBufferView::ID bufferID)
17{
18 AsyncBufferView* buffer = getBuffer(bufferID);
19 SC_ASYNC_STREAMS_ASSERT_RELEASE(buffer);
20 buffer->refs++;
21}
22
23void AsyncBuffersPool::unrefBuffer(AsyncBufferView::ID bufferID)
24{

Callers 11

initMethod · 0.80
initMethod · 0.80
asyncWriteMethod · 0.80
asyncWriteMethod · 0.80
asyncWriteMethod · 0.80
asyncWriteMethod · 0.80
pushMethod · 0.80
unshiftMethod · 0.80
writeMethod · 0.80
asyncWriteWritableMethod · 0.80

Calls

no outgoing calls

Tested by 4

initMethod · 0.64
initMethod · 0.64
asyncWriteMethod · 0.64
asyncWriteMethod · 0.64