Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/djherbis/buffer
/ Put
Method
Put
pool.go:40–44 ·
view source on GitHub ↗
(buf Buffer)
Source
from the content-addressed store, hash-verified
38
}
39
40
func
(p *pool) Put(buf Buffer) error {
41
buf.Reset()
42
p.pool.Put(buf)
43
return
nil
44
}
45
46
type
memPool
struct
{
47
N int64
Callers
nothing calls this directly
Calls
2
Reset
Method · 0.65
Put
Method · 0.65
Tested by
no test coverage detected