Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for buf4 (0.08 sec)

  1. src/cmd/vendor/golang.org/x/sys/windows/zsyscall_windows.go

    }
    
    func FormatMessage(flags uint32, msgsrc uintptr, msgid uint32, langid uint32, buf []uint16, args *byte) (n uint32, err error) {
    	var _p0 *uint16
    	if len(buf) > 0 {
    		_p0 = &buf[0]
    	}
    	r0, _, e1 := syscall.Syscall9(procFormatMessageW.Addr(), 7, uintptr(flags), uintptr(msgsrc), uintptr(msgid), uintptr(langid), uintptr(unsafe.Pointer(_p0)), uintptr(len(buf)), uintptr(unsafe.Pointer(args)), 0, 0)
    	n = uint32(r0)
    	if n == 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 195.8K bytes
    - Viewed (0)
  2. src/net/http/server.go

    func (c *conn) finalFlush() {
    	if c.bufr != nil {
    		// Steal the bufio.Reader (~4KB worth of memory) and its associated
    		// reader for a future connection.
    		putBufioReader(c.bufr)
    		c.bufr = nil
    	}
    
    	if c.bufw != nil {
    		c.bufw.Flush()
    		// Steal the bufio.Writer (~4KB worth of memory) and its associated
    		// writer for a future connection.
    		putBufioWriter(c.bufw)
    		c.bufw = nil
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 17:57:01 UTC 2024
    - 123.4K bytes
    - Viewed (0)
  3. src/net/http/serve_test.go

    			body: func() []byte {
    				buf := new(bytes.Buffer)
    				zw := zlib.NewWriter(buf)
    				zw.Write([]byte("doctype html><p>Hello</p>"))
    				zw.Close()
    				return buf.Bytes()
    			}(),
    		},
    		{
    			name:            "no content-encoding", // must sniff.
    			wantContentType: "application/x-gzip",
    			body: func() []byte {
    				buf := new(bytes.Buffer)
    				gzw := gzip.NewWriter(buf)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 17:57:01 UTC 2024
    - 202K bytes
    - Viewed (0)
Back to top