Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 51 for ERANGE (0.13 sec)

  1. src/syscall/syscall_aix.go

    		b := make([]byte, len)
    		err := getcwd(&b[0], len)
    		if err == nil {
    			i := 0
    			for b[i] != 0 {
    				i++
    			}
    			return string(b[0:i]), nil
    		}
    		if err != ERANGE {
    			return "", err
    		}
    	}
    }
    
    func Getcwd(buf []byte) (n int, err error) {
    	err = getcwd(&buf[0], uint64(len(buf)))
    	if err == nil {
    		i := 0
    		for buf[i] != 0 {
    			i++
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 13:50:55 UTC 2024
    - 17.9K bytes
    - Viewed (0)
  2. src/cmd/vendor/golang.org/x/sys/unix/zerrors_linux_ppc64le.go

    	{29, "ESPIPE", "illegal seek"},
    	{30, "EROFS", "read-only file system"},
    	{31, "EMLINK", "too many links"},
    	{32, "EPIPE", "broken pipe"},
    	{33, "EDOM", "numerical argument out of domain"},
    	{34, "ERANGE", "numerical result out of range"},
    	{35, "EDEADLK", "resource deadlock avoided"},
    	{36, "ENAMETOOLONG", "file name too long"},
    	{37, "ENOLCK", "no locks available"},
    	{38, "ENOSYS", "function not implemented"},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jan 22 19:00:13 UTC 2024
    - 36.9K bytes
    - Viewed (0)
  3. src/cmd/vendor/golang.org/x/sys/unix/zerrors_linux_s390x.go

    	{29, "ESPIPE", "illegal seek"},
    	{30, "EROFS", "read-only file system"},
    	{31, "EMLINK", "too many links"},
    	{32, "EPIPE", "broken pipe"},
    	{33, "EDOM", "numerical argument out of domain"},
    	{34, "ERANGE", "numerical result out of range"},
    	{35, "EDEADLK", "resource deadlock avoided"},
    	{36, "ENAMETOOLONG", "file name too long"},
    	{37, "ENOLCK", "no locks available"},
    	{38, "ENOSYS", "function not implemented"},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jan 22 19:00:13 UTC 2024
    - 36.7K bytes
    - Viewed (0)
  4. src/cmd/vendor/golang.org/x/sys/unix/zerrors_zos_s390x.go

    	AT_EMPTY_PATH                   = 0x1000
    	AT_REMOVEDIR                    = 0x200
    	RENAME_NOREPLACE                = 1 << 0
    )
    
    const (
    	EDOM               = Errno(1)
    	ERANGE             = Errno(2)
    	EACCES             = Errno(111)
    	EAGAIN             = Errno(112)
    	EBADF              = Errno(113)
    	EBUSY              = Errno(114)
    	ECHILD             = Errno(115)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 16:12:58 UTC 2024
    - 39.4K bytes
    - Viewed (0)
  5. src/syscall/fs_wasip1.go

    	var nwritten size
    	errno := path_readlink(
    		dirFd,
    		pathPtr,
    		pathLen,
    		unsafe.Pointer(&buf[0]),
    		size(len(buf)),
    		unsafe.Pointer(&nwritten),
    	)
    	// For some reason wasmtime returns ERANGE when the output buffer is
    	// shorter than the symbolic link value. os.Readlink expects a nil
    	// error and uses the fact that n is greater or equal to the buffer
    	// length to assume that it needs to try again with a larger size.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 19:57:43 UTC 2024
    - 24.1K bytes
    - Viewed (0)
  6. src/syscall/zerrors_solaris_amd64.go

    	EPERM           = Errno(0x1)
    	EPFNOSUPPORT    = Errno(0x7b)
    	EPIPE           = Errno(0x20)
    	EPROTO          = Errno(0x47)
    	EPROTONOSUPPORT = Errno(0x78)
    	EPROTOTYPE      = Errno(0x62)
    	ERANGE          = Errno(0x22)
    	EREMCHG         = Errno(0x52)
    	EREMOTE         = Errno(0x42)
    	ERESTART        = Errno(0x5b)
    	EROFS           = Errno(0x1e)
    	ESHUTDOWN       = Errno(0x8f)
    	ESOCKTNOSUPPORT = Errno(0x79)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 13:52:34 UTC 2024
    - 50.8K bytes
    - Viewed (0)
  7. src/syscall/zerrors_openbsd_ppc64.go

    	EPROCUNAVAIL    = Errno(0x4c)
    	EPROGMISMATCH   = Errno(0x4b)
    	EPROGUNAVAIL    = Errno(0x4a)
    	EPROTO          = Errno(0x5f)
    	EPROTONOSUPPORT = Errno(0x2b)
    	EPROTOTYPE      = Errno(0x29)
    	ERANGE          = Errno(0x22)
    	EREMOTE         = Errno(0x47)
    	EROFS           = Errno(0x1e)
    	ERPCMISMATCH    = Errno(0x49)
    	ESHUTDOWN       = Errno(0x3a)
    	ESOCKTNOSUPPORT = Errno(0x2c)
    	ESPIPE          = Errno(0x1d)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 22 03:24:15 UTC 2023
    - 67.1K bytes
    - Viewed (0)
  8. src/syscall/zerrors_openbsd_riscv64.go

    	EPROCUNAVAIL    = Errno(0x4c)
    	EPROGMISMATCH   = Errno(0x4b)
    	EPROGUNAVAIL    = Errno(0x4a)
    	EPROTO          = Errno(0x5f)
    	EPROTONOSUPPORT = Errno(0x2b)
    	EPROTOTYPE      = Errno(0x29)
    	ERANGE          = Errno(0x22)
    	EREMOTE         = Errno(0x47)
    	EROFS           = Errno(0x1e)
    	ERPCMISMATCH    = Errno(0x49)
    	ESHUTDOWN       = Errno(0x3a)
    	ESOCKTNOSUPPORT = Errno(0x2c)
    	ESPIPE          = Errno(0x1d)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Oct 04 02:55:38 UTC 2023
    - 67.1K bytes
    - Viewed (0)
  9. src/cmd/vendor/golang.org/x/sys/unix/zerrors_linux.go

    	ENOTBLK     = syscall.Errno(0xf)
    	ENOTDIR     = syscall.Errno(0x14)
    	ENOTTY      = syscall.Errno(0x19)
    	ENXIO       = syscall.Errno(0x6)
    	EPERM       = syscall.Errno(0x1)
    	EPIPE       = syscall.Errno(0x20)
    	ERANGE      = syscall.Errno(0x22)
    	EROFS       = syscall.Errno(0x1e)
    	ESPIPE      = syscall.Errno(0x1d)
    	ESRCH       = syscall.Errno(0x3)
    	ETXTBSY     = syscall.Errno(0x1a)
    	EWOULDBLOCK = syscall.Errno(0xb)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 185.8K bytes
    - Viewed (0)
  10. src/cmd/vendor/golang.org/x/sys/unix/syscall_linux.go

    func GetsockoptString(fd, level, opt int) (string, error) {
    	buf := make([]byte, 256)
    	vallen := _Socklen(len(buf))
    	err := getsockopt(fd, level, opt, unsafe.Pointer(&buf[0]), &vallen)
    	if err != nil {
    		if err == ERANGE {
    			buf = make([]byte, vallen)
    			err = getsockopt(fd, level, opt, unsafe.Pointer(&buf[0]), &vallen)
    		}
    		if err != nil {
    			return "", err
    		}
    	}
    	return ByteSliceToString(buf[:vallen]), nil
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 07 05:26:45 UTC 2024
    - 77.5K bytes
    - Viewed (0)
Back to top