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

Function getCheckedEntry

zapcore/entry.go:42–46  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

40})
41
42func getCheckedEntry() *CheckedEntry {
43 ce := _cePool.Get()
44 ce.reset()
45 return ce
46}
47
48func putCheckedEntry(ce *CheckedEntry) {
49 if ce == nil {

Callers 5

TestPutNilEntryFunction · 0.85
TestCheckedEntryBeforeFunction · 0.85
AddCoreMethod · 0.85
BeforeMethod · 0.85
AfterMethod · 0.85

Calls 2

resetMethod · 0.80
GetMethod · 0.45

Tested by 2

TestPutNilEntryFunction · 0.68
TestCheckedEntryBeforeFunction · 0.68