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

Struct nonBlockingReader

internal/transport/readyreader/ready_reader.go:48–53  ·  view source on GitHub ↗

nonBlockingReader is optimized for non-memory-pinning reads using the RawConn interface.

Source from the content-addressed store, hash-verified

46// nonBlockingReader is optimized for non-memory-pinning reads using the RawConn
47// interface.
48type nonBlockingReader struct {
49 raw syscall.RawConn
50 // The following fields are stored as field to avoid heap allocations.
51 state readState
52 doRead func(fd uintptr) bool
53}
54
55type readState struct {
56 // Request params.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected