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

Method Put

internal/pool/pool.go:56–58  ·  view source on GitHub ↗

Put returns x into the pool.

(x T)

Source from the content-addressed store, hash-verified

54
55// Put returns x into the pool.
56func (p *Pool[T]) Put(x T) {
57 p.pool.Put(x)
58}

Callers 9

MarshalLogArrayMethod · 0.80
putJSONEncoderFunction · 0.80
putSliceEncoderFunction · 0.80
putCheckedEntryFunction · 0.80
FreeMethod · 0.80
TestNewFunction · 0.80
TestNew_RaceFunction · 0.80
FreeMethod · 0.80
putMethod · 0.80

Calls

no outgoing calls

Tested by 2

TestNewFunction · 0.64
TestNew_RaceFunction · 0.64