MCPcopy
hub / github.com/uber-go/zap / Free

Method Free

buffer/buffer.go:144–146  ·  view source on GitHub ↗

Free returns the Buffer to its Pool. Callers must not retain references to the Buffer after calling Free.

()

Source from the content-addressed store, hash-verified

142//
143// Callers must not retain references to the Buffer after calling Free.
144func (b *Buffer) Free() {
145 b.pool.put(b)
146}

Callers 2

checkMethod · 0.45
TestBuffersFunction · 0.45

Calls 1

putMethod · 0.80

Tested by 1

TestBuffersFunction · 0.36