Search Options

Results per page
Sort
Preferred Languages
Advance

Results 111 - 120 of 205 for EINVAL (0.15 sec)

  1. src/syscall/syscall_freebsd.go

    }
    
    func Pipe(p []int) error {
    	return Pipe2(p, 0)
    }
    
    //sysnb pipe2(p *[2]_C_int, flags int) (err error)
    
    func Pipe2(p []int, flags int) error {
    	if len(p) != 2 {
    		return EINVAL
    	}
    	var pp [2]_C_int
    	err := pipe2(&pp, flags)
    	if err == nil {
    		p[0] = int(pp[0])
    		p[1] = int(pp[1])
    	}
    	return err
    }
    
    func GetsockoptIPMreqn(fd, level, opt int) (*IPMreqn, error) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Sep 20 18:12:35 UTC 2023
    - 8.7K bytes
    - Viewed (0)
  2. src/cmd/vendor/golang.org/x/sys/windows/security_windows.go

    // IsRestricted reports whether the access token t is a restricted token.
    func (t Token) IsRestricted() (isRestricted bool, err error) {
    	isRestricted, err = isTokenRestricted(t)
    	if !isRestricted && err == syscall.EINVAL {
    		// If err is EINVAL, this returned ERROR_SUCCESS indicating a non-restricted token.
    		err = nil
    	}
    	return
    }
    
    const (
    	WTS_CONSOLE_CONNECT        = 0x1
    	WTS_CONSOLE_DISCONNECT     = 0x2
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 52.5K bytes
    - Viewed (0)
  3. tensorflow/c/experimental/filesystem/plugins/posix/posix_filesystem.cc

      auto posix_file = static_cast<PosixFile*>(file->plugin_file);
      char* dst = buffer;
      int64_t read = 0;
    
      while (n > 0) {
        // Some platforms, notably macs, throw `EINVAL` if `pread` is asked to read
        // more than fits in a 32-bit integer.
        size_t requested_read_length;
        if (n > INT32_MAX)
          requested_read_length = INT32_MAX;
        else
          requested_read_length = n;
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sun Mar 24 20:08:23 UTC 2024
    - 15.8K bytes
    - Viewed (0)
  4. src/cmd/vendor/golang.org/x/sys/unix/zerrors_aix_ppc64.go

    	EHOSTUNREACH    = syscall.Errno(0x51)
    	EIDRM           = syscall.Errno(0x24)
    	EILSEQ          = syscall.Errno(0x74)
    	EINPROGRESS     = syscall.Errno(0x37)
    	EINTR           = syscall.Errno(0x4)
    	EINVAL          = syscall.Errno(0x16)
    	EIO             = syscall.Errno(0x5)
    	EISCONN         = syscall.Errno(0x4b)
    	EISDIR          = syscall.Errno(0x15)
    	EL2HLT          = syscall.Errno(0x2c)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 52.7K bytes
    - Viewed (0)
  5. src/syscall/syscall_darwin.go

    func PtraceDetach(pid int) (err error) { return ptrace(PT_DETACH, pid, 0, 0) }
    
    //sysnb pipe(p *[2]int32) (err error)
    
    func Pipe(p []int) (err error) {
    	if len(p) != 2 {
    		return EINVAL
    	}
    	var q [2]int32
    	err = pipe(&q)
    	if err == nil {
    		p[0] = int(q[0])
    		p[1] = int(q[1])
    	}
    	return
    }
    
    func Getfsstat(buf []Statfs_t, flags int) (n int, err error) {
    	var _p0 unsafe.Pointer
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:16:50 UTC 2024
    - 11K bytes
    - Viewed (0)
  6. src/cmd/vendor/golang.org/x/sys/unix/zerrors_aix_ppc.go

    	EHOSTUNREACH    = syscall.Errno(0x51)
    	EIDRM           = syscall.Errno(0x24)
    	EILSEQ          = syscall.Errno(0x74)
    	EINPROGRESS     = syscall.Errno(0x37)
    	EINTR           = syscall.Errno(0x4)
    	EINVAL          = syscall.Errno(0x16)
    	EIO             = syscall.Errno(0x5)
    	EISCONN         = syscall.Errno(0x4b)
    	EISDIR          = syscall.Errno(0x15)
    	EL2HLT          = syscall.Errno(0x2c)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 52.4K bytes
    - Viewed (0)
  7. src/runtime/os_linux.go

    	// As of QEMU 2.8.0 (5ea2fc84d), user emulation requires all six of these
    	// flags to be set when creating a thread; attempts to share the other
    	// five but leave SYSVSEM unshared will fail with -EINVAL.
    	//
    	// In non-QEMU environments CLONE_SYSVSEM is inconsequential as we do not
    	// use System V semaphores.
    
    	cloneFlags = _CLONE_VM | /* share memory */
    		_CLONE_FS | /* share cwd, etc */
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 25.9K bytes
    - Viewed (0)
  8. src/cmd/vendor/golang.org/x/sys/unix/zerrors_solaris_amd64.go

    	EHOSTUNREACH    = syscall.Errno(0x94)
    	EIDRM           = syscall.Errno(0x24)
    	EILSEQ          = syscall.Errno(0x58)
    	EINPROGRESS     = syscall.Errno(0x96)
    	EINTR           = syscall.Errno(0x4)
    	EINVAL          = syscall.Errno(0x16)
    	EIO             = syscall.Errno(0x5)
    	EISCONN         = syscall.Errno(0x85)
    	EISDIR          = syscall.Errno(0x15)
    	EL2HLT          = syscall.Errno(0x2c)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 59K bytes
    - Viewed (0)
  9. src/cmd/vendor/golang.org/x/sys/unix/zerrors_darwin_amd64.go

    	EHOSTUNREACH    = syscall.Errno(0x41)
    	EIDRM           = syscall.Errno(0x5a)
    	EILSEQ          = syscall.Errno(0x5c)
    	EINPROGRESS     = syscall.Errno(0x24)
    	EINTR           = syscall.Errno(0x4)
    	EINVAL          = syscall.Errno(0x16)
    	EIO             = syscall.Errno(0x5)
    	EISCONN         = syscall.Errno(0x38)
    	EISDIR          = syscall.Errno(0x15)
    	ELAST           = syscall.Errno(0x6a)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 87.5K bytes
    - Viewed (0)
  10. src/cmd/vendor/golang.org/x/sys/unix/zerrors_openbsd_riscv64.go

    	EHOSTUNREACH    = syscall.Errno(0x41)
    	EIDRM           = syscall.Errno(0x59)
    	EILSEQ          = syscall.Errno(0x54)
    	EINPROGRESS     = syscall.Errno(0x24)
    	EINTR           = syscall.Errno(0x4)
    	EINVAL          = syscall.Errno(0x16)
    	EIO             = syscall.Errno(0x5)
    	EIPSEC          = syscall.Errno(0x52)
    	EISCONN         = syscall.Errno(0x38)
    	EISDIR          = syscall.Errno(0x15)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 78.5K bytes
    - Viewed (0)
Back to top