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

Method Ref

mem/buffers.go:50–50  ·  view source on GitHub ↗

Ref increases the reference counter for this Buffer.

()

Source from the content-addressed store, hash-verified

48 ReadOnlyData() []byte
49 // Ref increases the reference counter for this Buffer.
50 Ref()
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()

Callers 15

SendMsgMethod · 0.65
recvAndDecompressFunction · 0.65
handleStreamMisbehaveMethod · 0.65
writeMethod · 0.65
handleDataMethod · 0.65
writeMethod · 0.65
writeMethod · 0.65
handleDataMethod · 0.65

Implementers 2

buffermem/buffers.go
emptyBuffermem/buffers.go

Calls

no outgoing calls