Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for inBuf (0.19 sec)

  1. 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)
  2. 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)
  3. 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)
  4. src/cmd/vendor/golang.org/x/term/terminal.go

    			}
    			return
    		}
    
    		// t.remainder is a slice at the beginning of t.inBuf
    		// containing a partial key sequence
    		readBuf := t.inBuf[len(t.remainder):]
    		var n int
    
    		t.lock.Unlock()
    		n, err = t.c.Read(readBuf)
    		t.lock.Lock()
    
    		if err != nil {
    			return
    		}
    
    		t.remainder = t.inBuf[:n+len(t.remainder)]
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 22 17:16:14 UTC 2022
    - 22.5K bytes
    - Viewed (0)
  5. src/syscall/zsyscall_windows.go

    	if n == -1 {
    		err = errnoErr(e1)
    	}
    	return
    }
    
    func WSAIoctl(s Handle, iocc uint32, inbuf *byte, cbif uint32, outbuf *byte, cbob uint32, cbbr *uint32, overlapped *Overlapped, completionRoutine uintptr) (err error) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 21 11:49:46 UTC 2024
    - 56.3K bytes
    - Viewed (1)
  6. src/bufio/bufio_test.go

    	}
    }
    
    func TestReadAfterLines(t *testing.T) {
    	line1 := "this is line1"
    	restData := "this is line2\nthis is line 3\n"
    	inbuf := bytes.NewReader([]byte(line1 + "\n" + restData))
    	outbuf := new(strings.Builder)
    	maxLineLength := len(line1) + len(restData)/2
    	l := NewReaderSize(inbuf, maxLineLength)
    	line, isPrefix, err := l.ReadLine()
    	if isPrefix || err != nil || string(line) != line1 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 10 18:56:01 UTC 2023
    - 51.5K bytes
    - Viewed (0)
  7. src/syscall/syscall_windows.go

    //sys	WSAStartup(verreq uint32, data *WSAData) (sockerr error) = ws2_32.WSAStartup
    //sys	WSACleanup() (err error) [failretval==socket_error] = ws2_32.WSACleanup
    //sys	WSAIoctl(s Handle, iocc uint32, inbuf *byte, cbif uint32, outbuf *byte, cbob uint32, cbbr *uint32, overlapped *Overlapped, completionRoutine uintptr) (err error) [failretval==socket_error] = ws2_32.WSAIoctl
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 21 11:49:46 UTC 2024
    - 52.7K bytes
    - Viewed (0)
  8. src/cmd/vendor/golang.org/x/sys/windows/zsyscall_windows.go

    	if r1 == 0 {
    		err = errnoErr(e1)
    	}
    	return
    }
    
    func WSAIoctl(s Handle, iocc uint32, inbuf *byte, cbif uint32, outbuf *byte, cbob uint32, cbbr *uint32, overlapped *Overlapped, completionRoutine uintptr) (err error) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 195.8K bytes
    - Viewed (0)
  9. src/cmd/vendor/golang.org/x/sys/windows/syscall_windows.go

    //sys	WSAStartup(verreq uint32, data *WSAData) (sockerr error) = ws2_32.WSAStartup
    //sys	WSACleanup() (err error) [failretval==socket_error] = ws2_32.WSACleanup
    //sys	WSAIoctl(s Handle, iocc uint32, inbuf *byte, cbif uint32, outbuf *byte, cbob uint32, cbbr *uint32, overlapped *Overlapped, completionRoutine uintptr) (err error) [failretval==socket_error] = ws2_32.WSAIoctl
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 05 22:18:42 UTC 2024
    - 82.8K bytes
    - Viewed (0)
  10. guava/src/com/google/thirdparty/publicsuffix/PublicSuffixPatterns.java

    lemoh,?hp?latipac?ts&der?e&gdirb?rif???z!.&66duolc,amil,sh,tikcats,???ruoblem??om?p!.&bog?gro?lim?mo&c?n??t&en?opsgolb,?ude??irg?yks??r!.&mo&c?n??ossa?topsgolb,?a&c!htlaeh??pmoc?wtfos??bc?eh?if?ots!.&e&rawpohs,saberots,?yflles,??taeht?u&ces?sni?t&inruf?necca??za???s!.&a!bap.us,disnim321,?b!ibnal?rofmok??c!a??d!b?n&arb?ubroflanummok???e?f!noc,?g!ro??h!f??i!trap??k!shf??l?m!oc,t??n!mygskurbrutan??o?p!ohsdaerpsym,p??r!owebdluocti,?s!serp?yspoi,?t!opsgolb,?u?vhf?w?x!uvmok??y?z??a&c?el?hc??i&er?urc??...
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Mar 21 21:04:43 UTC 2024
    - 72.4K bytes
    - Viewed (0)
Back to top