Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 205 for Dup (0.2 sec)

  1. src/internal/poll/fd_unix.go

    			// now on.
    			dupCloexecUnsupported.Store(true)
    		default:
    			return -1, "fcntl", err
    		}
    	}
    	return dupCloseOnExecOld(fd)
    }
    
    // Dup duplicates the file descriptor.
    func (fd *FD) Dup() (int, string, error) {
    	if err := fd.incref(); err != nil {
    		return -1, "", err
    	}
    	defer fd.decref()
    	return DupCloseOnExec(fd.Sysfd)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 04:09:44 UTC 2024
    - 17.9K bytes
    - Viewed (0)
  2. src/syscall/syscall_netbsd.go

    //sys	Chmod(path string, mode uint32) (err error)
    //sys	Chown(path string, uid int, gid int) (err error)
    //sys	Chroot(path string) (err error)
    //sys	Close(fd int) (err error)
    //sys	Dup(fd int) (nfd int, err error)
    //sys	Dup2(from int, to int) (err error)
    //sys	Fchdir(fd int) (err error)
    //sys	Fchflags(fd int, flags int) (err error)
    //sys	Fchmod(fd int, mode uint32) (err error)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Sep 20 18:12:35 UTC 2023
    - 7.8K bytes
    - Viewed (0)
  3. src/net/unixsock_posix.go

    	ln.unlinkOnce.Do(func() {
    		if ln.path[0] != '@' && ln.unlink {
    			syscall.Unlink(ln.path)
    		}
    	})
    	return ln.fd.Close()
    }
    
    func (ln *UnixListener) file() (*os.File, error) {
    	f, err := ln.fd.dup()
    	if err != nil {
    		return nil, err
    	}
    	return f, nil
    }
    
    // SetUnlinkOnClose sets whether the underlying socket file should be removed
    // from the file system when the listener is closed.
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 16:54:32 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  4. src/cmd/vendor/golang.org/x/sys/plan9/zsyscall_plan9_arm.go

    	}
    	r0, _, e1 := Syscall(SYS_CHDIR, uintptr(unsafe.Pointer(_p0)), 0, 0)
    	if int32(r0) == -1 {
    		err = e1
    	}
    	return
    }
    
    // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
    
    func Dup(oldfd int, newfd int) (fd int, err error) {
    	r0, _, e1 := Syscall(SYS_DUP, uintptr(oldfd), uintptr(newfd), 0)
    	fd = int(r0)
    	if int32(r0) == -1 {
    		err = e1
    	}
    	return
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 6.2K bytes
    - Viewed (0)
  5. src/syscall/zsyscall_plan9_amd64.go

    	}
    	r0, _, e1 := Syscall(SYS_CHDIR, uintptr(unsafe.Pointer(_p0)), 0, 0)
    	if int32(r0) == -1 {
    		err = e1
    	}
    	return
    }
    
    // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
    
    func Dup(oldfd int, newfd int) (fd int, err error) {
    	r0, _, e1 := Syscall(SYS_DUP, uintptr(oldfd), uintptr(newfd), 0)
    	fd = int(r0)
    	if int32(r0) == -1 {
    		err = e1
    	}
    	return
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 28 18:17:57 UTC 2021
    - 6.2K bytes
    - Viewed (0)
  6. src/cmd/vendor/golang.org/x/sys/plan9/zsyscall_plan9_386.go

    	}
    	r0, _, e1 := Syscall(SYS_CHDIR, uintptr(unsafe.Pointer(_p0)), 0, 0)
    	if int32(r0) == -1 {
    		err = e1
    	}
    	return
    }
    
    // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
    
    func Dup(oldfd int, newfd int) (fd int, err error) {
    	r0, _, e1 := Syscall(SYS_DUP, uintptr(oldfd), uintptr(newfd), 0)
    	fd = int(r0)
    	if int32(r0) == -1 {
    		err = e1
    	}
    	return
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 6.2K bytes
    - Viewed (0)
  7. pkg/controlplane/controller/crdregistration/crdregistration_controller.go

    	apiServiceRegistration AutoAPIServiceRegistration
    
    	syncHandler func(groupVersion schema.GroupVersion) error
    
    	syncedInitialSet chan struct{}
    
    	// queue is where incoming work is placed to de-dup and to allow "easy" rate limited requeues on errors
    	// this is actually keyed by a groupVersion
    	queue workqueue.TypedRateLimitingInterface[schema.GroupVersion]
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  8. src/syscall/zsyscall_plan9_arm.go

    	}
    	r0, _, e1 := Syscall(SYS_CHDIR, uintptr(unsafe.Pointer(_p0)), 0, 0)
    	if int32(r0) == -1 {
    		err = e1
    	}
    	return
    }
    
    // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
    
    func Dup(oldfd int, newfd int) (fd int, err error) {
    	r0, _, e1 := Syscall(SYS_DUP, uintptr(oldfd), uintptr(newfd), 0)
    	fd = int(r0)
    	if int32(r0) == -1 {
    		err = e1
    	}
    	return
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 28 18:17:57 UTC 2021
    - 6.2K bytes
    - Viewed (0)
  9. src/cmd/vendor/golang.org/x/sys/plan9/syscall_plan9.go

    }
    
    //sys	wstat(path string, edir []byte) (err error)
    
    func Wstat(path string, edir []byte) (err error) {
    	fixwd()
    	return wstat(path, edir)
    }
    
    //sys	chdir(path string) (err error)
    //sys	Dup(oldfd int, newfd int) (fd int, err error)
    //sys	Pread(fd int, p []byte, offset int64) (n int, err error)
    //sys	Pwrite(fd int, p []byte, offset int64) (n int, err error)
    //sys	Close(fd int) (err error)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 16 22:24:28 UTC 2022
    - 7K bytes
    - Viewed (0)
  10. src/html/template/escape.go

    				// to the predefined escaper, use the predefined escaper instead.
    				dup := false
    				for i, escaper := range s {
    					if escFnsEq(esc, escaper) {
    						s[i] = idNode.Ident
    						dup = true
    					}
    				}
    				if dup {
    					// The predefined escaper will already be inserted along with the
    					// escapers in s, so do not copy it to the rewritten pipeline.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 02 15:18:39 UTC 2023
    - 32.4K bytes
    - Viewed (0)
Back to top