io.LimitedReader.N (field)
19 uses
io (current package)
io.go#L420: if l, ok := src.(*LimitedReader); ok && int64(size) > l.N {
io.go#L421: if l.N < 1 {
io.go#L424: size = int(l.N)
io.go#L470: N int64 // max bytes remaining
io.go#L474: if l.N <= 0 {
io.go#L477: if int64(len(p)) > l.N {
io.go#L478: p = p[0:l.N]
io.go#L481: l.N -= int64(n)
net
sendfile_linux.go#L25: remain, r = lr.N, lr.R
sendfile_linux.go#L50: lr.N = remain - written
splice_linux.go#L21: remain, r = lr.N, lr.R
splice_linux.go#L41: lr.N -= written
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#L962: return lr.N
transfer.go#L983: if lr, ok := b.src.(*io.LimitedReader); ok && lr.N > maxPostHandlerReadBytes {
os
readfrom_linux.go#L60: lr.N = remain - written
readfrom_linux.go#L106: lr.N -= written
readfrom_linux.go#L122: remain = lr.N
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. |