type io.LimitedReader
14 uses
io (current package)
io.go#L420: if l, ok := src.(*LimitedReader); ok && int64(size) > l.N {
io.go#L462: func LimitReader(r Reader, n int64) Reader { return &LimitedReader{r, n} }
io.go#L468: type LimitedReader struct {
io.go#L473: func (l *LimitedReader) Read(p []byte) (n int, err error) {
net
sendfile_linux.go#L23: lr, ok := r.(*io.LimitedReader)
splice_linux.go#L19: lr, ok := r.(*io.LimitedReader)
net/http
transfer.go#L858: if lr, ok := b.src.(*io.LimitedReader); ok && lr.N > 0 {
transfer.go#L870: if lr, ok := b.src.(*io.LimitedReader); ok && lr.N == 0 {
transfer.go#L961: if lr, ok := b.src.(*io.LimitedReader); ok {
transfer.go#L983: if lr, ok := b.src.(*io.LimitedReader); ok && lr.N > maxPostHandlerReadBytes {
os
readfrom_linux.go#L38: lr *io.LimitedReader
readfrom_linux.go#L88: lr *io.LimitedReader
readfrom_linux.go#L114: func tryLimitedReader(r io.Reader) (*io.LimitedReader, io.Reader, int64) {
readfrom_linux.go#L117: lr, ok := r.(*io.LimitedReader)
|
The pages are generated with Golds v0.6.7. (GOOS=linux 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. |