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

Method Put

internal/leakcheck/leakcheck.go:68–70  ·  view source on GitHub ↗
(buf *[]byte)

Source from the content-addressed store, hash-verified

66}
67
68func (b *swappableBufferPool) Put(buf *[]byte) {
69 (*b.Load()).Put(buf)
70}
71
72// SetTrackingBufferPool replaces the default buffer pool in the mem package to
73// one that tracks where buffers are allocated. CheckTrackingBufferPool should

Callers

nothing calls this directly

Calls 2

PutMethod · 0.65
LoadMethod · 0.45

Tested by

no test coverage detected