Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/grpc/grpc-go
/ GetBody
Method
GetBody
test/codec_perf/perf.pb.go:80–85 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
78
}
79
80
func
(x *Buffer) GetBody() []byte {
81
if
x != nil {
82
return
x.Body
83
}
84
return
nil
85
}
86
87
var
File_test_codec_perf_perf_proto protoreflect.FileDescriptor
88
Callers
15
marshalAndUnmarshal
Function · 0.95
TestStaggeredMarshalAndUnmarshalUsingSamePool
Method · 0.95
TestChainUnaryServerInterceptor
Method · 0.45
StreamingInputCall
Method · 0.45
testPreloaderClientSend
Function · 0.45
TestPreloaderSenderSend
Method · 0.45
testLargeUnary
Function · 0.45
testPingPong
Function · 0.45
testServerStreaming
Function · 0.45
testServerStreamingConcurrent
Function · 0.45
setupStubServer
Function · 0.45
TestMetricsAndTracesDisabled
Method · 0.45
Calls
no outgoing calls
Tested by
15
marshalAndUnmarshal
Function · 0.76
TestStaggeredMarshalAndUnmarshalUsingSamePool
Method · 0.76
TestChainUnaryServerInterceptor
Method · 0.36
StreamingInputCall
Method · 0.36
testPreloaderClientSend
Function · 0.36
TestPreloaderSenderSend
Method · 0.36
testLargeUnary
Function · 0.36
testPingPong
Function · 0.36
testServerStreaming
Function · 0.36
testServerStreamingConcurrent
Function · 0.36
setupStubServer
Function · 0.36
TestMetricsAndTracesDisabled
Method · 0.36