MCPcopy
hub / github.com/grpc/grpc-go / Free

Method Free

mem/buffer_slice.go:69–73  ·  view source on GitHub ↗

Free invokes Buffer.Free() on each Buffer in the slice.

()

Source from the content-addressed store, hash-verified

67
68// Free invokes Buffer.Free() on each Buffer in the slice.
69func (s BufferSlice) Free() {
70 for _, b := range s {
71 b.Free()
72 }
73}
74
75// CopyTo copies each of the underlying Buffer's data into the given buffer,
76// returning the number of bytes copied. Has the same semantics as the copy

Callers 4

EncodeMethod · 0.95
compressFunction · 0.95
TestBufferSlice_RefMethod · 0.95

Calls 1

FreeMethod · 0.65

Tested by 2

TestBufferSlice_RefMethod · 0.76