Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 102 for EIO (0.02 sec)

  1. src/cmd/cgo/internal/testplugin/testdata/plugin2/plugin2.go

    // void cfunc() {} // uses cgo_topofstack
    
    import (
    	"reflect"
    	"strings"
    
    	"testplugin/common"
    )
    
    func init() {
    	_ = strings.NewReplacer() // trigger stack unwind, Issue #18190.
    	C.strerror(C.EIO)         // uses cgo_topofstack
    	common.X = 2
    }
    
    type sameNameReusedInPlugins struct {
    	X string
    }
    
    type sameNameHolder struct {
    	F *sameNameReusedInPlugins
    }
    
    func UnexportedNameReuse() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 12 11:59:56 UTC 2023
    - 796 bytes
    - Viewed (0)
  2. src/internal/poll/copy_file_range_linux.go

    			// any data, so we can tell the caller that we
    			// couldn't handle the transfer and let them fall
    			// back to more generic code.
    			return 0, false, nil
    		case syscall.EXDEV, syscall.EINVAL, syscall.EIO, syscall.EOPNOTSUPP, syscall.EPERM:
    			// Prior to Linux 5.3, it was not possible to
    			// copy_file_range across file systems. Similarly to
    			// the ENOSYS case above, if we see EXDEV, we have
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 04 17:40:10 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  3. src/cmd/vendor/golang.org/x/sys/plan9/errors_plan9.go

    	EISDIR       = syscall.NewError("file is a directory")
    	ENOENT       = syscall.NewError("file does not exist")
    	EEXIST       = syscall.NewError("file already exists")
    	EMFILE       = syscall.NewError("no free file descriptors")
    	EIO          = syscall.NewError("i/o error")
    	ENAMETOOLONG = syscall.NewError("file name too long")
    	EINTR        = syscall.NewError("interrupted")
    	EPERM        = syscall.NewError("permission denied")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 15 19:02:39 UTC 2021
    - 1.5K bytes
    - Viewed (0)
  4. src/syscall/errors_plan9.go

    	EISDIR       = NewError("file is a directory")
    	ENOENT       = NewError("file does not exist")
    	EEXIST       = NewError("file already exists")
    	EMFILE       = NewError("no free file descriptors")
    	EIO          = NewError("i/o error")
    	ENAMETOOLONG = NewError("file name too long")
    	EINTR        = NewError("interrupted")
    	EPERM        = NewError("permission denied")
    	EBUSY        = NewError("no free devices")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Apr 22 13:31:24 UTC 2017
    - 1.6K bytes
    - Viewed (0)
  5. src/syscall/tables_wasip1.go

    	EFBIG           Errno = 22
    	EHOSTUNREACH    Errno = 23
    	EIDRM           Errno = 24
    	EILSEQ          Errno = 25
    	EINPROGRESS     Errno = 26
    	EINTR           Errno = 27
    	EINVAL          Errno = 28
    	EIO             Errno = 29
    	EISCONN         Errno = 30
    	EISDIR          Errno = 31
    	ELOOP           Errno = 32
    	EMFILE          Errno = 33
    	EMLINK          Errno = 34
    	EMSGSIZE        Errno = 35
    	EMULTIHOP       Errno = 36
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 06 20:58:35 UTC 2023
    - 6.5K bytes
    - Viewed (0)
  6. src/crypto/rand/rand_getrandom.go

    // In this case, unix.GetRandom will not return an error.
    func getRandom(p []byte) error {
    	n, err := unix.GetRandom(p, 0)
    	if err != nil {
    		return err
    	}
    	if n != len(p) {
    		return syscall.EIO
    	}
    	return nil
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Aug 07 00:26:43 UTC 2023
    - 1.4K bytes
    - Viewed (0)
  7. src/syscall/tables_js.go

    		return errENOENT
    	}
    	return e
    }
    
    var errnoByCode = map[string]Errno{
    	"EPERM":           EPERM,
    	"ENOENT":          ENOENT,
    	"ESRCH":           ESRCH,
    	"EINTR":           EINTR,
    	"EIO":             EIO,
    	"ENXIO":           ENXIO,
    	"E2BIG":           E2BIG,
    	"ENOEXEC":         ENOEXEC,
    	"EBADF":           EBADF,
    	"ECHILD":          ECHILD,
    	"EAGAIN":          EAGAIN,
    	"ENOMEM":          ENOMEM,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 28 18:17:57 UTC 2021
    - 19.2K bytes
    - Viewed (0)
  8. src/syscall/zerrors_windows.go

    	ECONNREFUSED
    	ECONNRESET
    	EDEADLK
    	EDEADLOCK
    	EDESTADDRREQ
    	EDOM
    	EDOTDOT
    	EDQUOT
    	EEXIST
    	EFAULT
    	EFBIG
    	EHOSTDOWN
    	EHOSTUNREACH
    	EIDRM
    	EILSEQ
    	EINPROGRESS
    	EINTR
    	EINVAL
    	EIO
    	EISCONN
    	EISDIR
    	EISNAM
    	EKEYEXPIRED
    	EKEYREJECTED
    	EKEYREVOKED
    	EL2HLT
    	EL2NSYNC
    	EL3HLT
    	EL3RST
    	ELIBACC
    	ELIBBAD
    	ELIBEXEC
    	ELIBMAX
    	ELIBSCN
    	ELNRNG
    	ELOOP
    	EMEDIUMTYPE
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 14 13:21:46 UTC 2018
    - 10K bytes
    - Viewed (0)
  9. src/cmd/vendor/golang.org/x/sys/unix/syscall_bsd.go

    	if err != nil {
    		return 0, err
    	}
    
    	n := uintptr(4)
    	buf := make([]byte, 4)
    	if err := sysctl(mib, &buf[0], &n, nil, 0); err != nil {
    		return 0, err
    	}
    	if n != 4 {
    		return 0, EIO
    	}
    	return *(*uint32)(unsafe.Pointer(&buf[0])), nil
    }
    
    func SysctlUint64(name string, args ...int) (uint64, error) {
    	mib, err := sysctlmib(name, args...)
    	if err != nil {
    		return 0, err
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 29 21:28:33 UTC 2023
    - 15K bytes
    - Viewed (0)
  10. src/cmd/vendor/golang.org/x/sys/unix/syscall_openbsd.go

    	if unsafe.Sizeof(*basep) == 8 {
    		return
    	}
    	if off>>32 != 0 {
    		// We can't stuff the offset back into a uintptr, so any
    		// future calls would be suspect. Generate an error.
    		// EIO was allowed by getdirentries.
    		err = EIO
    	}
    	return
    }
    
    //sys	Getcwd(buf []byte) (n int, err error) = SYS___GETCWD
    
    func Sendfile(outfd int, infd int, offset *int64, count int) (written int, err error) {
    	if raceenabled {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 29 21:28:33 UTC 2023
    - 11K bytes
    - Viewed (0)
Back to top