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

Method MallocLen

connection_impl.go:252–254  ·  view source on GitHub ↗

MallocLen implements Connection.

()

Source from the content-addressed store, hash-verified

250
251// MallocLen implements Connection.
252func (c *connection) MallocLen() (length int) {
253 return c.outputBuffer.MallocLen()
254}
255
256// Flush will send all malloc data to the peer,
257// so must confirm that the allocated bytes have been correctly assigned.

Callers

nothing calls this directly

Calls 1

MallocLenMethod · 0.65

Tested by

no test coverage detected