Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/deepflowio/deepflow
/ SetQuota
Method
SetQuota
server/libs/utils/byte_buffer.go:52–54 ·
view source on GitHub ↗
(n int)
Source
from the content-addressed store, hash-verified
50
}
51
52
func
(b *ByteBuffer) SetQuota(n int) {
53
b.quota = n
54
}
55
56
var
byteBufferPool = pool.NewLockFreePool(
func
() *ByteBuffer {
57
return
&ByteBuffer{quota: 1 << 16}
Callers
1
TestByteBufferUseTwice
Function · 0.95
Calls
no outgoing calls
Tested by
1
TestByteBufferUseTwice
Function · 0.76