Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/deepflowio/deepflow
/ Bytes
Method
Bytes
server/libs/utils/byte_buffer.go:44–46 ·
view source on GitHub ↗
返回所有Use调用过的[]byte
()
Source
from the content-addressed store, hash-verified
42
43
// 返回所有Use调用过的[]byte
44
func
(b *ByteBuffer) Bytes() []byte {
45
return
b.buf[:b.offset]
46
}
47
48
func
(b *ByteBuffer) Reset() {
49
b.offset = 0
Callers
15
TestByteBufferUse
Function · 0.95
TestByteBufferUseTwice
Function · 0.95
TestByteBufferReset
Function · 0.95
CloneByteBuffer
Function · 0.45
QueueForward
Method · 0.45
decompressBuffer
Method · 0.45
GeneratePacket
Function · 0.45
TestTaggedFlowEncodeDecode
Function · 0.45
TestTaggedFlowEncodeDecodeiNul
Function · 0.45
GobEncode
Method · 0.45
RecvFromServerMulti
Function · 0.45
SendToServer
Function · 0.45
Calls
no outgoing calls
Tested by
5
TestByteBufferUse
Function · 0.76
TestByteBufferUseTwice
Function · 0.76
TestByteBufferReset
Function · 0.76
TestTaggedFlowEncodeDecode
Function · 0.36
TestTaggedFlowEncodeDecodeiNul
Function · 0.36