Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 51 for ERANGE (0.52 sec)

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

    // TimeToTimespec converts t into a Timespec.
    // On some 32-bit systems the range of valid Timespec values are smaller
    // than that of time.Time values.  So if t is out of the valid range of
    // Timespec, it returns a zero Timespec and ERANGE.
    func TimeToTimespec(t time.Time) (Timespec, error) {
    	sec := t.Unix()
    	nsec := int64(t.Nanosecond())
    	ts := setTimespec(sec, nsec)
    
    	// Currently all targets have either int32 or int64 for Timespec.Sec.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 2.2K bytes
    - Viewed (0)
  2. src/os/user/cgo_lookup_unix.go

    // or the buffer exceeds a reasonable limit.
    func retryWithBuffer(kind bufferKind, f func([]byte) syscall.Errno) error {
    	buf := make([]byte, kind.initialSize())
    	for {
    		errno := f(buf)
    		if errno == 0 {
    			return nil
    		} else if runtime.GOOS == "aix" && errno+1 == 0 {
    			// On AIX getpwuid_r appears to return -1,
    			// not ERANGE, on buffer overflow.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 11 17:08:14 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  3. src/cmd/vendor/golang.org/x/sys/unix/zerrors_aix_ppc64.go

    	EPIPE           = syscall.Errno(0x20)
    	EPROCLIM        = syscall.Errno(0x53)
    	EPROTO          = syscall.Errno(0x79)
    	EPROTONOSUPPORT = syscall.Errno(0x3e)
    	EPROTOTYPE      = syscall.Errno(0x3c)
    	ERANGE          = syscall.Errno(0x22)
    	EREMOTE         = syscall.Errno(0x5d)
    	ERESTART        = syscall.Errno(0x52)
    	EROFS           = syscall.Errno(0x1e)
    	ESAD            = syscall.Errno(0x71)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 52.7K bytes
    - Viewed (0)
  4. src/runtime/os_freebsd.go

    	// dynamically-sized buffer at this point.
    	const maxCPUs = 64 * 1024
    	var mask [maxCPUs / 8]byte
    	var mib [_CTL_MAXNAME]uint32
    
    	// According to FreeBSD's /usr/src/sys/kern/kern_cpuset.c,
    	// cpuset_getaffinity return ERANGE when provided buffer size exceed the limits in kernel.
    	// Querying kern.smp.maxcpus to calculate maximum buffer size.
    	// See https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=200802
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Dec 05 20:34:30 UTC 2023
    - 11.6K bytes
    - Viewed (0)
  5. src/cmd/vendor/golang.org/x/sys/unix/zerrors_solaris_amd64.go

    	EPFNOSUPPORT    = syscall.Errno(0x7b)
    	EPIPE           = syscall.Errno(0x20)
    	EPROTO          = syscall.Errno(0x47)
    	EPROTONOSUPPORT = syscall.Errno(0x78)
    	EPROTOTYPE      = syscall.Errno(0x62)
    	ERANGE          = syscall.Errno(0x22)
    	EREMCHG         = syscall.Errno(0x52)
    	EREMOTE         = syscall.Errno(0x42)
    	ERESTART        = syscall.Errno(0x5b)
    	EROFS           = syscall.Errno(0x1e)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 59K bytes
    - Viewed (0)
  6. src/cmd/vendor/golang.org/x/sys/unix/zerrors_aix_ppc.go

    	EPIPE           = syscall.Errno(0x20)
    	EPROCLIM        = syscall.Errno(0x53)
    	EPROTO          = syscall.Errno(0x79)
    	EPROTONOSUPPORT = syscall.Errno(0x3e)
    	EPROTOTYPE      = syscall.Errno(0x3c)
    	ERANGE          = syscall.Errno(0x22)
    	EREMOTE         = syscall.Errno(0x5d)
    	ERESTART        = syscall.Errno(0x52)
    	EROFS           = syscall.Errno(0x1e)
    	ESAD            = syscall.Errno(0x71)
    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/cmd/vendor/golang.org/x/sys/unix/zerrors_darwin_amd64.go

    	EPROTO          = syscall.Errno(0x64)
    	EPROTONOSUPPORT = syscall.Errno(0x2b)
    	EPROTOTYPE      = syscall.Errno(0x29)
    	EPWROFF         = syscall.Errno(0x52)
    	EQFULL          = syscall.Errno(0x6a)
    	ERANGE          = syscall.Errno(0x22)
    	EREMOTE         = syscall.Errno(0x47)
    	EROFS           = syscall.Errno(0x1e)
    	ERPCMISMATCH    = syscall.Errno(0x49)
    	ESHLIBVERS      = syscall.Errno(0x57)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 87.5K bytes
    - Viewed (0)
  8. src/cmd/vendor/golang.org/x/sys/unix/zerrors_openbsd_riscv64.go

    	EPROGMISMATCH   = syscall.Errno(0x4b)
    	EPROGUNAVAIL    = syscall.Errno(0x4a)
    	EPROTO          = syscall.Errno(0x5f)
    	EPROTONOSUPPORT = syscall.Errno(0x2b)
    	EPROTOTYPE      = syscall.Errno(0x29)
    	ERANGE          = syscall.Errno(0x22)
    	EREMOTE         = syscall.Errno(0x47)
    	EROFS           = syscall.Errno(0x1e)
    	ERPCMISMATCH    = syscall.Errno(0x49)
    	ESHUTDOWN       = syscall.Errno(0x3a)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 78.5K bytes
    - Viewed (0)
  9. src/cmd/vendor/golang.org/x/sys/unix/zerrors_netbsd_386.go

    	EPROGMISMATCH   = syscall.Errno(0x4b)
    	EPROGUNAVAIL    = syscall.Errno(0x4a)
    	EPROTO          = syscall.Errno(0x60)
    	EPROTONOSUPPORT = syscall.Errno(0x2b)
    	EPROTOTYPE      = syscall.Errno(0x29)
    	ERANGE          = syscall.Errno(0x22)
    	EREMOTE         = syscall.Errno(0x47)
    	EROFS           = syscall.Errno(0x1e)
    	ERPCMISMATCH    = syscall.Errno(0x49)
    	ESHUTDOWN       = syscall.Errno(0x3a)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 72.8K bytes
    - Viewed (0)
  10. src/cmd/vendor/golang.org/x/sys/unix/zerrors_dragonfly_amd64.go

    	EPROGMISMATCH   = syscall.Errno(0x4b)
    	EPROGUNAVAIL    = syscall.Errno(0x4a)
    	EPROTO          = syscall.Errno(0x5c)
    	EPROTONOSUPPORT = syscall.Errno(0x2b)
    	EPROTOTYPE      = syscall.Errno(0x29)
    	ERANGE          = syscall.Errno(0x22)
    	EREMOTE         = syscall.Errno(0x47)
    	EROFS           = syscall.Errno(0x1e)
    	ERPCMISMATCH    = syscall.Errno(0x49)
    	ESHUTDOWN       = syscall.Errno(0x3a)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 70.7K bytes
    - Viewed (0)
Back to top