Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/autobrr/qui
/ Get
Method
Get
internal/proxy/buffer_pool.go:26–28 ·
view source on GitHub ↗
Get returns a buffer from the pool
()
Source
from the content-addressed store, hash-verified
24
25
// Get returns a buffer from the pool
26
func
(p *BufferPool) Get() []byte {
27
return
p.pool.Get().([]byte)
28
}
29
30
// Put returns a buffer to the pool
31
func
(p *BufferPool) Put(buf []byte) {
Callers
nothing calls this directly
Calls
1
Get
Method · 0.65
Tested by
no test coverage detected