Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/djherbis/buffer
/ Get
Method
Get
pool.go:36–38 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
34
}
35
36
func
(p *pool) Get() (Buffer, error) {
37
return
p.pool.Get().(Buffer), nil
38
}
39
40
func
(p *pool) Put(buf Buffer) error {
41
buf.Reset()
Callers
nothing calls this directly
Calls
1
Get
Method · 0.65
Tested by
no test coverage detected