Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 127 for newOff (0.11 sec)

  1. src/runtime/syscall_solaris.go

    	return int32(sysvicall1(&libc_close, uintptr(fd)))
    }
    
    const _F_DUP2FD = 0x9
    
    //go:nosplit
    //go:linkname syscall_dup2
    func syscall_dup2(oldfd, newfd uintptr) (val, err uintptr) {
    	return syscall_fcntl(oldfd, _F_DUP2FD, newfd)
    }
    
    //go:nosplit
    //go:linkname syscall_execve
    //go:cgo_unsafe_args
    func syscall_execve(path, argv, envp uintptr) (err uintptr) {
    	call := libcall{
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 06 18:49:01 UTC 2023
    - 8.4K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiserver/pkg/util/flowcontrol/controller_test.go

    				if testDebugLogs {
    					for _, newPL := range newPLs {
    						t.Logf("For %s, digesting newPL=%s", trialStep, fcfmt.Fmt(newPL))
    					}
    					for _, newFS := range newFSs {
    						t.Logf("For %s, digesting newFS=%s", trialStep, fcfmt.Fmt(newFS))
    					}
    				}
    				_ = ctlr.lockAndDigestConfigObjects(newPLs, newFSs)
    			}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Oct 30 12:18:40 UTC 2023
    - 18.4K bytes
    - Viewed (0)
  3. cni/pkg/repair/netns.go

    func getPodNetNs(pod *corev1.Pod) (string, error) {
    	parsedPodAddr := net.ParseIP(pod.Status.PodIP)
    	if parsedPodAddr == nil {
    		return "", fmt.Errorf("failed to parse addr: %s", pod.Status.PodIP)
    	}
    
    	fs, err := procfs.NewFS("/host/proc")
    	if err != nil {
    		return "", fmt.Errorf("read procfs: %v", err)
    	}
    	procs, err := fs.AllProcs()
    	if err != nil {
    		return "", fmt.Errorf("read procs: %v", err)
    	}
    	oldest := uint64(math.MaxUint64)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri May 31 04:07:10 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  4. src/net/fd_plan9.go

    	net               string
    	n                 string
    	dir               string
    	listen, ctl, data *os.File
    	laddr, raddr      Addr
    	isStream          bool
    }
    
    var netdir = "/net" // default network
    
    func newFD(net, name string, listen, ctl, data *os.File, laddr, raddr Addr) (*netFD, error) {
    	ret := &netFD{
    		net:    net,
    		n:      name,
    		dir:    netdir + "/" + net + "/" + name,
    		listen: listen,
    		ctl:    ctl, data: data,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 04 16:01:50 UTC 2018
    - 3.6K bytes
    - Viewed (0)
  5. pilot/pkg/xds/auth.go

    		id, err := checkConnectionIdentity(con.proxy, identities)
    		if err != nil {
    			log.Warnf("Unauthorized XDS: %v with identity %v: %v", con.Peer(), identities, err)
    			return status.Newf(codes.PermissionDenied, "authorization failed: %v", err).Err()
    		}
    		con.proxy.VerifiedIdentity = id
    	}
    	return nil
    }
    
    func checkConnectionIdentity(proxy *model.Proxy, identities []string) (*spiffe.Identity, error) {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 30 00:26:45 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  6. src/cmd/vendor/golang.org/x/sys/unix/syscall_freebsd.go

    func PtraceSingleStep(pid int) (err error) {
    	return ptrace(PT_STEP, pid, 1, 0)
    }
    
    func Dup3(oldfd, newfd, flags int) error {
    	if oldfd == newfd || flags&^O_CLOEXEC != 0 {
    		return EINVAL
    	}
    	how := F_DUP2FD
    	if flags&O_CLOEXEC != 0 {
    		how = F_DUP2FD_CLOEXEC
    	}
    	_, err := fcntl(oldfd, how, newfd)
    	return err
    }
    
    /*
     * Exposed directly
     */
    //sys	Access(path string, mode uint32) (err error)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 07 05:26:45 UTC 2024
    - 15.6K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tensorflow/transforms/stack_ops_decomposition.cc

      for (auto operand : if_op.getOperands()) {
        auto it = data_var_to_size_var.find(operand);
        if (it == data_var_to_size_var.end()) continue;
        new_if_operands.push_back(it->getSecond());
      }
      auto new_if = OpBuilder(if_op).create<TF::IfOp>(
          if_op.getLoc(), then_func.getFunctionType().getResults(), new_if_operands,
          if_op->getAttrs());
      for (auto result : if_op.getResults()) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 23.8K bytes
    - Viewed (0)
  8. src/syscall/syscall_linux_amd64.go

    package syscall
    
    import (
    	"unsafe"
    )
    
    const (
    	_SYS_setgroups  = SYS_SETGROUPS
    	_SYS_clone3     = 435
    	_SYS_faccessat2 = 439
    	_SYS_fchmodat2  = 452
    )
    
    //sys	Dup2(oldfd int, newfd int) (err error)
    //sys	Fchown(fd int, uid int, gid int) (err error)
    //sys	Fstat(fd int, stat *Stat_t) (err error)
    //sys	Fstatfs(fd int, buf *Statfs_t) (err error)
    //sys	Ftruncate(fd int, length int64) (err error)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 21 22:23:07 UTC 2023
    - 4.8K bytes
    - Viewed (0)
  9. src/net/sock_posix.go

    	s, err := sysSocket(family, sotype, proto)
    	if err != nil {
    		return nil, err
    	}
    	if err = setDefaultSockopts(s, family, sotype, ipv6only); err != nil {
    		poll.CloseFunc(s)
    		return nil, err
    	}
    	if fd, err = newFD(s, family, sotype, net); err != nil {
    		poll.CloseFunc(s)
    		return nil, err
    	}
    
    	// This function makes a network file descriptor for the
    	// following applications:
    	//
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Sep 18 17:20:52 UTC 2023
    - 6.3K bytes
    - Viewed (0)
  10. src/syscall/syscall_linux_ppc64x.go

    package syscall
    
    import (
    	"unsafe"
    )
    
    const (
    	_SYS_setgroups  = SYS_SETGROUPS
    	_SYS_clone3     = 435
    	_SYS_faccessat2 = 439
    	_SYS_fchmodat2  = 452
    )
    
    //sys	Dup2(oldfd int, newfd int) (err error)
    //sys	EpollWait(epfd int, events []EpollEvent, msec int) (n int, err error)
    //sys	Fchown(fd int, uid int, gid int) (err error)
    //sys	Fstat(fd int, stat *Stat_t) (err error)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 21 22:23:07 UTC 2023
    - 4.6K bytes
    - Viewed (0)
Back to top