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

Struct swappableBufferPool

benchmark/benchmain/main.go:158–160  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

156var useNopBufferPool atomic.Bool
157
158type swappableBufferPool struct {
159 mem.BufferPool
160}
161
162func (p swappableBufferPool) Get(length int) *[]byte {
163 var pool mem.BufferPool

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected