MCPcopy Create free account
hub / github.com/djherbis/buffer / Put

Method Put

pool_at.go:16–16  ·  view source on GitHub ↗

Allocate a BufferAt

(buf BufferAt)

Source from the content-addressed store, hash-verified

14type PoolAt interface {
15 Get() (BufferAt, error) // Allocate a BufferAt
16 Put(buf BufferAt) error // Release or Reuse a BufferAt
17}
18
19type poolAt struct {

Callers 2

TestPoolAtFunction · 0.95
PutMethod · 0.65

Implementers 4

poolAtpool_at.go
filePoolAtpool_at.go
poolpool.go
filePoolpool.go

Calls

no outgoing calls

Tested by 1

TestPoolAtFunction · 0.76