Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for inBuf (0.03 sec)

  1. src/vendor/golang.org/x/text/unicode/norm/readwriter.go

    			return n, r.err
    		}
    		if r.err != nil {
    			return 0, r.err
    		}
    		outn := copy(r.outbuf, r.outbuf[r.lastBoundary:])
    		r.outbuf = r.outbuf[0:outn]
    		r.bufStart = 0
    
    		n, err := r.r.Read(r.inbuf)
    		r.rb.src = inputBytes(r.inbuf[0:n])
    		r.rb.nsrc, r.err = n, err
    		if n > 0 {
    			r.outbuf = doAppend(&r.rb, r.outbuf, 0)
    		}
    		if err == io.EOF {
    			r.lastBoundary = len(r.outbuf)
    		} else {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 26 19:27:51 UTC 2019
    - 2.9K bytes
    - Viewed (0)
  2. src/internal/poll/sockopt_windows.go

    import "syscall"
    
    // WSAIoctl wraps the WSAIoctl network call.
    func (fd *FD) WSAIoctl(iocc uint32, inbuf *byte, cbif uint32, outbuf *byte, cbob uint32, cbbr *uint32, overlapped *syscall.Overlapped, completionRoutine uintptr) error {
    	if err := fd.incref(); err != nil {
    		return err
    	}
    	defer fd.decref()
    	return syscall.WSAIoctl(fd.Sysfd, iocc, inbuf, cbif, outbuf, cbob, cbbr, overlapped, completionRoutine)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Aug 30 19:09:46 UTC 2023
    - 586 bytes
    - Viewed (0)
  3. src/cmd/vendor/golang.org/x/text/unicode/norm/readwriter.go

    			return n, r.err
    		}
    		if r.err != nil {
    			return 0, r.err
    		}
    		outn := copy(r.outbuf, r.outbuf[r.lastBoundary:])
    		r.outbuf = r.outbuf[0:outn]
    		r.bufStart = 0
    
    		n, err := r.r.Read(r.inbuf)
    		r.rb.src = inputBytes(r.inbuf[0:n])
    		r.rb.nsrc, r.err = n, err
    		if n > 0 {
    			r.outbuf = doAppend(&r.rb, r.outbuf, 0)
    		}
    		if err == io.EOF {
    			r.lastBoundary = len(r.outbuf)
    		} else {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 24 13:01:26 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  4. src/internal/poll/fd_windows_test.go

    	if ov.HEvent == 0 {
    		t.Fatalf("could not create the event!")
    	}
    	defer syscall.CloseHandle(ov.HEvent)
    
    	if err = fd.WSAIoctl(
    		SIO_TCP_INFO,
    		(*byte)(unsafe.Pointer(&inbuf)),
    		uint32(unsafe.Sizeof(inbuf)),
    		(*byte)(unsafe.Pointer(&outbuf)),
    		uint32(unsafe.Sizeof(outbuf)),
    		&cbbr,
    		&ov,
    		0,
    	); err != nil && !errors.Is(err, syscall.ERROR_IO_PENDING) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 14 08:33:36 UTC 2024
    - 4.3K bytes
    - Viewed (0)
Back to top