MCPcopy
hub / github.com/grpc/grpc-go / NopBufferPool

Struct NopBufferPool

internal/mem/buffer_pool.go:200–200  ·  view source on GitHub ↗

NopBufferPool is a buffer pool that returns new buffers without pooling.

Source from the content-addressed store, hash-verified

198
199// NopBufferPool is a buffer pool that returns new buffers without pooling.
200type NopBufferPool struct{}
201
202// Get returns a buffer with specified length from the pool.
203func (NopBufferPool) Get(length int) *[]byte {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected