Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for writeOnly (0.24 sec)

  1. src/net/http/server.go

    func (w *response) disableWriteContinue() {
    	w.writeContinueMu.Lock()
    	w.canWriteContinue.Store(false)
    	w.writeContinueMu.Unlock()
    }
    
    // writerOnly hides an io.Writer value's optional ReadFrom method
    // from io.Copy.
    type writerOnly struct {
    	io.Writer
    }
    
    // ReadFrom is here to optimize copying from an [*os.File] regular file
    // to a [*net.TCPConn] with sendfile, or from a supported src type such
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 17:57:01 UTC 2024
    - 123.4K bytes
    - Viewed (0)
Back to top