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

Method Free

mem/buffers.go:53–53  ·  mem/buffers.go::Buffer.Free

Free decrements this Buffer's reference counter and frees the underlying byte slice if the counter reaches 0 as a result of this call.

()

Source from the content-addressed store, hash-verified

51 // Free decrements this Buffer's reference counter and frees the underlying
52 // byte slice if the counter reaches 0 as a result of this call.
53 Free()
54 // Len returns the Buffer's size.
55 Len() int
56 // Slice returns a new Buffer that is a view into this buffer's data

Callers 15

TestBuffer_SplitMethod · 0.95
TestBuffer_SliceMethod · 0.95
sendResponseMethod · 0.65
processUnaryRPCMethod · 0.65
EncodeMethod · 0.65
SendMsgMethod · 0.65
SendMsgMethod · 0.65
SendMsgMethod · 0.65
prepareMsgFunction · 0.65
encodeFunction · 0.65
compressFunction · 0.65
freeMethod · 0.65

Implementers 2

buffermem/buffers.go
emptyBuffermem/buffers.go

Calls

no outgoing calls