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

Method Get

pool_at.go:15–15  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

13// PoolAt's mut be concurrent-safe for calls to Get() and Put().
14type PoolAt interface {
15 Get() (BufferAt, error) // Allocate a BufferAt
16 Put(buf BufferAt) error // Release or Reuse a BufferAt
17}
18

Callers 2

TestPoolAtFunction · 0.95
GetMethod · 0.65

Implementers 4

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

Calls

no outgoing calls

Tested by 1

TestPoolAtFunction · 0.76