MCPcopy Create free account
hub / github.com/cloudwego/netpoll / MallocLen

Method MallocLen

nocopy_readwriter.go:168–170  ·  view source on GitHub ↗

MallocLen implements Writer.

()

Source from the content-addressed store, hash-verified

166
167// MallocLen implements Writer.
168func (w *zcWriter) MallocLen() (length int) {
169 return w.buf.MallocLen()
170}
171
172// Flush implements Writer.
173func (w *zcWriter) Flush() (err error) {

Callers

nothing calls this directly

Calls 1

MallocLenMethod · 0.65

Tested by

no test coverage detected