func io.CopyN
9 uses
io (current package)
io.go#L363: func CopyN(dst Writer, src Reader, n int64) (written int64, err error) {
github.com/klauspost/compress/zstd
bytebuf.go#L126: n2, err := io.CopyN(io.Discard, r.r, n)
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#L715: io.CopyN(io.Discard, resp.Body, maxBodySlurpSize)
fs.go#L386: if _, err := io.CopyN(part, content, ra.length); err != nil {
fs.go#L429: io.CopyN(w, sendContent, sendSize)
server.go#L1418: _, err := io.CopyN(io.Discard, w.reqBody, maxPostHandlerReadBytes+1)
transfer.go#L995: n, err = io.CopyN(io.Discard, bodyLocked{b}, maxPostHandlerReadBytes)
 |
The pages are generated with Golds v0.8.4. (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 @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |