const google.golang.org/grpc/credentials/alts/internal/conn.altsRecordDefaultLength
7 uses
google.golang.org/grpc/credentials/alts/internal/conn (current package)
record.go#L58: altsRecordDefaultLength = 4 * 1024 // 4KiB
record.go#L113: payloadLengthLimit := altsRecordDefaultLength - overhead
record.go#L124: protectedBuf = make([]byte, 0, 2*altsRecordDefaultLength-1)
record.go#L165: tmp := make([]byte, len(p.protected), cap(p.protected)+altsRecordDefaultLength)
record.go#L169: n, err = p.Conn.Read(p.protected[len(p.protected):min(cap(p.protected), len(p.protected)+altsRecordDefaultLength)])
record.go#L216: const numOfFramesInMaxWriteBuf = altsWriteBufferMaxSize / altsRecordDefaultLength
record.go#L263: numOfWrittenFrames := int(math.Floor(float64(nn) / float64(altsRecordDefaultLength)))
 |
The pages are generated with Golds v0.3.2-preview. (GOOS=darwin GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |