func io.CopyN
12 uses
io (current package)
io.go#L357: func CopyN(dst Writer, src Reader, n int64) (written int64, err error) {
cloud.google.com/go/storage
reader.go#L184: _, _ = io.CopyN(ioutil.Discard, res.Body, seen)
github.com/aws/aws-sdk-go/aws/signer/v4
v4.go#L773: io.CopyN(hash, reader, size)
github.com/go-git/go-git/v5/plumbing/format/index
decoder.go#L205: _, err := io.CopyN(ioutil.Discard, d.r, int64(padLen))
golang.org/x/crypto/ssh
cipher.go#L496: io.CopyN(ioutil.Discard, r, int64(c.oracleCamouflage))
mime/multipart
formdata.go#L70: n, err := io.CopyN(&b, p, maxValueBytes+1)
formdata.go#L87: n, err := io.CopyN(&b, p, maxMemory+1)
net/http
client.go#L699: io.CopyN(io.Discard, resp.Body, maxBodySlurpSize)
fs.go#L318: if _, err := io.CopyN(part, content, ra.length); err != nil {
fs.go#L337: io.CopyN(w, sendContent, sendSize)
server.go#L1371: _, err := io.CopyN(io.Discard, w.reqBody, maxPostHandlerReadBytes+1)
transfer.go#L994: n, err = io.CopyN(io.Discard, bodyLocked{b}, maxPostHandlerReadBytes)
 |
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. |