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

Function DefaultBufferPool

mem/buffer_pool.go:71–73  ·  view source on GitHub ↗

DefaultBufferPool returns the current default buffer pool. It is a BufferPool created with NewBufferPool that uses a set of default sizes optimized for expected workflows.

()

Source from the content-addressed store, hash-verified

69// created with NewBufferPool that uses a set of default sizes optimized for
70// expected workflows.
71func DefaultBufferPool() BufferPool {
72 return defaultBufferPool
73}
74
75// NewTieredBufferPool returns a BufferPool implementation that uses multiple
76// underlying pools of the given pool sizes.

Callers 15

server.goFile · 0.92
defaultDialOptionsFunction · 0.92
EncodeMethod · 0.92
TestSimpleParsingMethod · 0.92
TestMultipleParsingMethod · 0.92
TestDecompressMethod · 0.92
MarshalMethod · 0.92
UnmarshalMethod · 0.92
initFunction · 0.92
initFunction · 0.92

Calls

no outgoing calls