Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/deepflowio/deepflow
/ ReleaseByteBuffer
Function
ReleaseByteBuffer
server/libs/utils/byte_buffer.go:77–83 ·
view source on GitHub ↗
(bytes *ByteBuffer)
Source
from the content-addressed store, hash-verified
75
}
76
77
func
ReleaseByteBuffer(bytes *ByteBuffer) {
78
if
bytes.SubReferenceCount() {
79
return
80
}
81
bytes.Reset()
82
byteBufferPool.Put(bytes)
83
}
Callers
nothing calls this directly
Calls
3
SubReferenceCount
Method · 0.65
Reset
Method · 0.65
Put
Method · 0.65
Tested by
no test coverage detected