Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/grpc/grpc-go
/ SetDeadline
Method
SetDeadline
test/bufconn/bufconn.go:271–275 ·
view source on GitHub ↗
(t time.Time)
Source
from the content-addressed store, hash-verified
269
}
270
271
func
(c *conn) SetDeadline(t time.Time) error {
272
c.SetReadDeadline(t)
273
c.SetWriteDeadline(t)
274
return
nil
275
}
276
277
func
(c *conn) SetReadDeadline(t time.Time) error {
278
p := c.Reader.(*pipe)
Callers
5
handleRawConn
Method · 0.45
TestServerCredsHandshakeTimeout
Method · 0.45
TestServerCredsHandshakeFailure
Method · 0.45
TestServerCredsHandshakeSuccess
Method · 0.45
TestServerCredsProviderSwitch
Method · 0.45
Calls
2
SetReadDeadline
Method · 0.95
SetWriteDeadline
Method · 0.95
Tested by
4
TestServerCredsHandshakeTimeout
Method · 0.36
TestServerCredsHandshakeFailure
Method · 0.36
TestServerCredsHandshakeSuccess
Method · 0.36
TestServerCredsProviderSwitch
Method · 0.36