func io.CopyN
8 uses
io (current package)
io.go#L364: func CopyN(dst Writer, src Reader, n int64) (written int64, err error) {
mime/multipart
formdata.go#L144: n, err := io.CopyN(&b, p, maxMemoryBytes+1)
formdata.go#L171: n, err := io.CopyN(&b, p, maxFileMemoryBytes+1)
net/http
client.go#L706: io.CopyN(io.Discard, resp.Body, maxBodySlurpSize)
fs.go#L335: if _, err := io.CopyN(part, content, ra.length); err != nil {
fs.go#L353: io.CopyN(w, sendContent, sendSize)
server.go#L1403: _, err := io.CopyN(io.Discard, w.reqBody, maxPostHandlerReadBytes+1)
transfer.go#L991: n, err = io.CopyN(io.Discard, bodyLocked{b}, maxPostHandlerReadBytes)
|
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. |