Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 14 for callsplice (0.17 sec)

  1. src/cmd/vendor/golang.org/x/sys/unix/zsyscall_aix_ppc64.go

    	}
    	return
    }
    
    // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
    
    func Splice(rfd int, roff *int64, wfd int, woff *int64, len int, flags int) (n int64, err error) {
    	r0, e1 := callsplice(rfd, uintptr(unsafe.Pointer(roff)), wfd, uintptr(unsafe.Pointer(woff)), len, flags)
    	n = int64(r0)
    	if e1 != 0 {
    		err = errnoErr(e1)
    	}
    	return
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 30K bytes
    - Viewed (0)
  2. src/cmd/vendor/golang.org/x/sys/unix/zsyscall_aix_ppc64_gccgo.go

    	r1 = uintptr(C.shutdown(C.int(fd), C.int(how)))
    	e1 = syscall.GetErrno()
    	return
    }
    
    // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
    
    func callsplice(rfd int, roff uintptr, wfd int, woff uintptr, len int, flags int) (r1 uintptr, e1 Errno) {
    	r1 = uintptr(C.splice(C.int(rfd), C.uintptr_t(roff), C.int(wfd), C.uintptr_t(woff), C.int(len), C.int(flags)))
    	e1 = syscall.GetErrno()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 30.9K bytes
    - Viewed (0)
  3. src/cmd/vendor/golang.org/x/sys/unix/zsyscall_aix_ppc64_gc.go

    	r1, _, e1 = syscall6(uintptr(unsafe.Pointer(&libc_shutdown)), 2, uintptr(fd), uintptr(how), 0, 0, 0, 0)
    	return
    }
    
    // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
    
    func callsplice(rfd int, roff uintptr, wfd int, woff uintptr, len int, flags int) (r1 uintptr, e1 Errno) {
    	r1, _, e1 = syscall6(uintptr(unsafe.Pointer(&libc_splice)), 6, uintptr(rfd), roff, uintptr(wfd), woff, uintptr(len), uintptr(flags))
    	return
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 42.4K bytes
    - Viewed (0)
  4. src/net/splice_linux.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package net
    
    import (
    	"internal/poll"
    	"io"
    )
    
    var pollSplice = poll.Splice
    
    // spliceFrom transfers data from r to c using the splice system call to minimize
    // copies from and to userspace. c must be a TCP connection.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 21:49:26 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  5. src/os/export_linux_test.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package os
    
    var (
    	PollCopyFileRangeP  = &pollCopyFileRange
    	PollSpliceFile      = &pollSplice
    	GetPollFDAndNetwork = getPollFDAndNetwork
    	CheckPidfdOnce      = checkPidfdOnce
    )
    
    const StatusDone = statusDone
    
    func (p *Process) Status() processStatus {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 22:06:47 UTC 2024
    - 473 bytes
    - Viewed (0)
  6. src/os/zero_copy_linux.go

    // license that can be found in the LICENSE file.
    
    package os
    
    import (
    	"internal/poll"
    	"io"
    	"syscall"
    )
    
    var (
    	pollCopyFileRange = poll.CopyFileRange
    	pollSplice        = poll.Splice
    )
    
    // wrapSyscallError takes an error and a syscall name. If the error is
    // a syscall.Errno, it wraps it in an os.SyscallError using the syscall name.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 26 18:12:56 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  7. src/net/splice_linux_test.go

    func (h *spliceHook) install() {
    	h.original = pollSplice
    	pollSplice = func(dst, src *poll.FD, remain int64) (int64, bool, error) {
    		h.called = true
    		h.dstfd = dst.Sysfd
    		h.srcfd = src.Sysfd
    		h.remain = remain
    		h.written, h.handled, h.err = h.original(dst, src, remain)
    		return h.written, h.handled, h.err
    	}
    }
    
    func (h *spliceHook) uninstall() {
    	pollSplice = h.original
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 21:49:26 UTC 2024
    - 14.5K bytes
    - Viewed (0)
  8. src/go/internal/gccgoimporter/testdata/v1reflect.gox

     func (v <type 1>) Bytes () <type 44 [] <type -20>>;
     func (v <type 1>) CanAddr () <type -15>;
     func (v <type 1>) CanSet () <type -15>;
     func (v <type 1>) Call (in <type 45 [] <type 1>>) <type 46 [] <type 1>>;
     func (v <type 1>) CallSlice (in <type 47 [] <type 1>>) <type 48 [] <type 1>>;
     func (v <type 1>) .reflect.call (method <type -16>, in <type 49 [] <type 1>>) <type 50 [] <type 1>>;
     func (v <type 1>) Cap () <type -11>;
     func (v <type 1>) Close ();
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Sep 30 21:33:51 UTC 2021
    - 10.3K bytes
    - Viewed (0)
  9. src/reflect/value.go

    	}
    
    	isSlice := op == "CallSlice"
    	n := t.NumIn()
    	isVariadic := t.IsVariadic()
    	if isSlice {
    		if !isVariadic {
    			panic("reflect: CallSlice of non-variadic function")
    		}
    		if len(in) < n {
    			panic("reflect: CallSlice with too few input arguments")
    		}
    		if len(in) > n {
    			panic("reflect: CallSlice with too many input arguments")
    		}
    	} else {
    		if isVariadic {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 21:17:41 UTC 2024
    - 119.9K bytes
    - Viewed (0)
  10. src/reflect/all_test.go

    	if i != want {
    		t.Errorf("Variadic Method returned %d; want %d", i, want)
    	}
    	i = ValueOf(v.Interface()).CallSlice([]Value{ValueOf(points)})[0].Int()
    	if i != want {
    		t.Errorf("Variadic Method CallSlice returned %d; want %d", i, want)
    	}
    
    	f := v.Interface().(func(...Point) int)
    	i = int64(f(points[0], points[1], points[2]))
    	if i != want {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 218.8K bytes
    - Viewed (0)
Back to top