Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/deepflowio/deepflow
/ AcquireByteBuffer
Function
AcquireByteBuffer
server/libs/utils/byte_buffer.go:60–64 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
58
})
59
60
func
AcquireByteBuffer() *ByteBuffer {
61
b := byteBufferPool.Get()
62
b.ReferenceCount.Reset()
63
return
b
64
}
65
66
func
CloneByteBuffer(bytes *ByteBuffer) *ByteBuffer {
67
clone := AcquireByteBuffer()
Callers
1
CloneByteBuffer
Function · 0.85
Calls
2
Get
Method · 0.65
Reset
Method · 0.65
Tested by
no test coverage detected