Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 111 for fd (0.13 sec)

  1. src/syscall/zsyscall_openbsd_386.go

    func fcntlPtr(fd int, cmd int, arg unsafe.Pointer) (val int, err error) {
    	r0, _, e1 := syscall(abi.FuncPCABI0(libc_fcntl_trampoline), uintptr(fd), uintptr(cmd), uintptr(arg))
    	val = int(r0)
    	if e1 != 0 {
    		err = errnoErr(e1)
    	}
    	return
    }
    
    // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
    
    func ioctl(fd int, req int, arg int) (err error) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat May 04 07:51:20 UTC 2024
    - 47.6K bytes
    - Viewed (0)
  2. src/cmd/vendor/golang.org/x/sys/unix/syscall_freebsd.go

    //sys	Fchown(fd int, uid int, gid int) (err error)
    //sys	Fchownat(dirfd int, path string, uid int, gid int, flags int) (err error)
    //sys	Flock(fd int, how int) (err error)
    //sys	Fpathconf(fd int, name int) (val int, err error)
    //sys	Fstat(fd int, stat *Stat_t) (err error)
    //sys	Fstatat(fd int, path string, stat *Stat_t, flags int) (err error)
    //sys	Fstatfs(fd int, stat *Statfs_t) (err error)
    //sys	Fsync(fd int) (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)
  3. src/runtime/os_plan9.go

    	n := copy(buf[:], procdir)
    	n += copy(buf[n:], itoa(tmp[:], pid))
    	copy(buf[n:], notefile)
    	fd := open(&buf[0], _OWRITE, 0)
    	if fd < 0 {
    		return -1
    	}
    	len := findnull(&msg[0])
    	if write1(uintptr(fd), unsafe.Pointer(&msg[0]), int32(len)) != int32(len) {
    		closefd(fd)
    		return -1
    	}
    	closefd(fd)
    	return 0
    }
    
    //go:nosplit
    func exit(e int32) {
    	var status []byte
    	if e == 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 15:41:45 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  4. src/syscall/zsyscall_openbsd_arm.go

    func fcntlPtr(fd int, cmd int, arg unsafe.Pointer) (val int, err error) {
    	r0, _, e1 := syscall(abi.FuncPCABI0(libc_fcntl_trampoline), uintptr(fd), uintptr(cmd), uintptr(arg))
    	val = int(r0)
    	if e1 != 0 {
    		err = errnoErr(e1)
    	}
    	return
    }
    
    // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
    
    func ioctl(fd int, req int, arg int) (err error) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat May 04 07:51:20 UTC 2024
    - 47.6K bytes
    - Viewed (0)
  5. src/syscall/syscall_solaris.go

    //sys	Chroot(path string) (err error)
    //sys	Close(fd int) (err error)
    //sys	Dup(fd int) (nfd int, err error)
    //sys	Fchdir(fd int) (err error)
    //sys	Fchmod(fd int, mode uint32) (err error)
    //sys	Fchown(fd int, uid int, gid int) (err error)
    //sys	Fpathconf(fd int, name int) (val int, err error)
    //sys	Fstat(fd int, stat *Stat_t) (err error)
    //sys	Getdents(fd int, buf []byte, basep *uintptr) (n int, err error)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 26 21:03:59 UTC 2024
    - 15.7K bytes
    - Viewed (0)
  6. src/syscall/exec_linux.go

    			}
    		}
    	}
    
    	// Pass 1: look for fd[i] < i and move those up above len(fd)
    	// so that pass 2 won't stomp on an fd it needs later.
    	if pipe < nextfd {
    		_, _, err1 = RawSyscall(SYS_DUP3, uintptr(pipe), uintptr(nextfd), O_CLOEXEC)
    		if err1 != 0 {
    			goto childerror
    		}
    		pipe = nextfd
    		nextfd++
    	}
    	for i = 0; i < len(fd); i++ {
    		if fd[i] >= 0 && fd[i] < i {
    			if nextfd == pipe { // don't stomp on pipe
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 07:45:37 UTC 2024
    - 23K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tf2xla/internal/mlir_bridge_pass_util_test.cc

          /*node_def=*/
          {{{"out"}, "Identity", {"in"}, {{"T", DataType::DT_RESOURCE}}}});
    }
    
    TEST(IsSupportedByNonReplicatedBridge, NonReplicatedGraph) {
      const FunctionDef& fd = PassThroughResource();
      FunctionDefLibrary flib;
      *flib.add_function() = fd;
      FunctionLibraryDefinition flib_def(OpRegistry::Global(), flib);
      Graph graph(flib_def);
      graph.SetConstructionContext(ConstructionContext::kEagerRuntime);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Apr 17 19:51:50 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  8. src/syscall/zsyscall_openbsd_riscv64.go

    func fcntlPtr(fd int, cmd int, arg unsafe.Pointer) (val int, err error) {
    	r0, _, e1 := syscall(abi.FuncPCABI0(libc_fcntl_trampoline), uintptr(fd), uintptr(cmd), uintptr(arg))
    	val = int(r0)
    	if e1 != 0 {
    		err = errnoErr(e1)
    	}
    	return
    }
    
    // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
    
    func ioctl(fd int, req int, arg int) (err error) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat May 04 07:51:20 UTC 2024
    - 47.5K bytes
    - Viewed (0)
  9. src/os/file_unix.go

    // (as passed in the kind parameter) it tries to add the file to
    // the runtime poller.
    func newFile(fd int, name string, kind newFileKind, nonBlocking bool) *File {
    	f := &File{&file{
    		pfd: poll.FD{
    			Sysfd:         fd,
    			IsStream:      true,
    			ZeroReadIsEOF: true,
    		},
    		name:        name,
    		stdoutOrErr: fd == 1 || fd == 2,
    	}}
    
    	pollable := kind == kindOpenFile || kind == kindPipe || kind == kindSock || nonBlocking
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 13:52:34 UTC 2024
    - 14.9K bytes
    - Viewed (0)
  10. src/os/file_plan9.go

    func (f *File) Fd() uintptr {
    	if f == nil {
    		return ^(uintptr(0))
    	}
    	return uintptr(f.fd)
    }
    
    // NewFile returns a new File with the given file descriptor and
    // name. The returned value will be nil if fd is not a valid file
    // descriptor.
    func NewFile(fd uintptr, name string) *File {
    	fdi := int(fd)
    	if fdi < 0 {
    		return nil
    	}
    	f := &File{&file{fd: fdi, name: name}}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 30 15:35:30 UTC 2024
    - 16K bytes
    - Viewed (0)
Back to top