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

Method Free

zapcore/error.go:133–136  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

131}
132
133func (e *errArrayElem) Free() {
134 e.err = nil
135 _errArrayElemPool.Put(e)
136}

Callers 13

putJSONEncoderFunction · 0.45
TestJSONEncodeEntryFunction · 0.45
TestJSONEmptyConfigFunction · 0.45
fuzzSafeAppendStringLikeFunction · 0.45
writeContextMethod · 0.45
BenchmarkZapJSONFunction · 0.45
FullPathMethod · 0.45
TrimmedPathMethod · 0.45
BenchmarkZapConsoleFunction · 0.45
WriteMethod · 0.45
TestConsoleEncodeEntryFunction · 0.45

Calls 1

PutMethod · 0.80

Tested by 7

TestJSONEncodeEntryFunction · 0.36
TestJSONEmptyConfigFunction · 0.36
fuzzSafeAppendStringLikeFunction · 0.36
BenchmarkZapJSONFunction · 0.36
BenchmarkZapConsoleFunction · 0.36
TestConsoleEncodeEntryFunction · 0.36