Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/grpc/grpc-go
/ Read
Method
Read
rpc_util.go:741–741 ·
view source on GitHub ↗
(n int)
Source
from the content-addressed store, hash-verified
739
type
streamReader
interface
{
740
ReadMessageHeader(header []byte) error
741
Read(n int) (mem.BufferSlice, error)
742
}
743
744
// noCopy may be embedded into structs which must not be copied
Callers
15
TestCloseConnectionWhenServerPrefaceNotReceived
Method · 0.65
keepReading
Function · 0.65
recvMsg
Method · 0.65
Read
Method · 0.65
ReadOnReady
Method · 0.65
Read
Method · 0.65
testPingPong
Function · 0.65
testSmallReadBuffer
Function · 0.65
testIncorrectMsgType
Function · 0.65
testFrameTooLarge
Function · 0.65
testWriteLargeData
Function · 0.65
testProtectedBuffer
Function · 0.65
Implementers
3
fullReader
rpc_util_test.go
recvBufferReader
internal/transport/transport.go
transportReader
internal/transport/transport.go
Calls
no outgoing calls
Tested by
15
TestCloseConnectionWhenServerPrefaceNotReceived
Method · 0.52
keepReading
Function · 0.52
Read
Method · 0.52
testPingPong
Function · 0.52
testSmallReadBuffer
Function · 0.52
testIncorrectMsgType
Function · 0.52
testFrameTooLarge
Function · 0.52
testWriteLargeData
Function · 0.52
testProtectedBuffer
Function · 0.52
BenchmarkReadMemoryUsage
Function · 0.52
TestConn
Method · 0.52
TestListenerAndDialer
Method · 0.52