Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 104 for Syscall (0.56 sec)

  1. cmd/xl-storage-errors.go

    package cmd
    
    import (
    	"errors"
    	"os"
    	"runtime"
    	"syscall"
    )
    
    // No space left on device error
    func isSysErrNoSpace(err error) bool {
    	return errors.Is(err, syscall.ENOSPC)
    }
    
    // Invalid argument, unsupported flags such as O_DIRECT
    func isSysErrInvalidArg(err error) bool {
    	return errors.Is(err, syscall.EINVAL)
    }
    
    // Input/output error
    func isSysErrIO(err error) bool {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Mar 06 16:56:29 GMT 2023
    - 3.8K bytes
    - Viewed (0)
  2. api/except.txt

    pkg syscall (freebsd-arm), const BIOCGRTIMEOUT = 1074545262
    pkg syscall (freebsd-arm), const BIOCSRTIMEOUT = 2148287085
    pkg syscall (freebsd-arm), const ELAST = 94
    pkg syscall (freebsd-arm), const ImplementsGetwd = false
    pkg syscall (freebsd-arm), const O_CLOEXEC = 0
    pkg syscall (freebsd-arm), const SIOCAIFADDR = 2151967019
    pkg syscall (freebsd-arm), const SIOCGIFSTATUS = 3274991931
    Plain Text
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Thu May 25 00:13:30 GMT 2023
    - 34.6K bytes
    - Viewed (0)
  3. internal/lock/lock_solaris.go

    package lock
    
    import (
    	"os"
    	"syscall"
    )
    
    // lockedOpenFile is an internal function.
    func lockedOpenFile(path string, flag int, perm os.FileMode, rlockType int) (*LockedFile, error) {
    	var lockType int16
    	switch flag {
    	case syscall.O_RDONLY:
    		lockType = syscall.F_RDLCK
    	case syscall.O_WRONLY:
    		fallthrough
    	case syscall.O_RDWR:
    		fallthrough
    	case syscall.O_WRONLY | syscall.O_CREAT:
    		fallthrough
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Jan 02 17:15:06 GMT 2022
    - 2.8K bytes
    - Viewed (0)
  4. cmd/xl-storage-errors_test.go

    package cmd
    
    import (
    	"os"
    	"runtime"
    	"syscall"
    	"testing"
    )
    
    func TestSysErrors(t *testing.T) {
    	pathErr := &os.PathError{Err: syscall.ENAMETOOLONG}
    	ok := isSysErrTooLong(pathErr)
    	if !ok {
    		t.Fatalf("Unexpected error expecting %s", syscall.ENAMETOOLONG)
    	}
    	pathErr = &os.PathError{Err: syscall.ENOTDIR}
    	ok = isSysErrNotDir(pathErr)
    	if !ok {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 23 18:58:53 GMT 2021
    - 1.7K bytes
    - Viewed (0)
  5. cmd/os_windows.go

    	globAllP, err := syscall.UTF16PtrFromString(globAll)
    	if err != nil {
    		return nil, errInvalidArgument
    	}
    	data := &syscall.Win32finddata{}
    	handle, err := syscall.FindFirstFile(globAllP, data)
    	if err != nil {
    		return nil, syscallErrToFileErr(dirPath, err)
    	}
    
    	defer syscall.FindClose(handle)
    
    	count := opts.count
    	for ; count != 0; err = syscall.FindNextFile(handle, data) {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Oct 18 18:08:15 GMT 2023
    - 5.1K bytes
    - Viewed (0)
  6. api/go1.4.txt

    pkg syscall (windows-386), const DnsSectionAdditional = 3
    pkg syscall (windows-386), const DnsSectionAdditional ideal-int
    pkg syscall (windows-386), const DnsSectionAnswer = 1
    pkg syscall (windows-386), const DnsSectionAnswer ideal-int
    pkg syscall (windows-386), const DnsSectionAuthority = 2
    pkg syscall (windows-386), const DnsSectionAuthority ideal-int
    pkg syscall (windows-386), const DnsSectionQuestion = 0
    Plain Text
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Fri Dec 12 03:01:01 GMT 2014
    - 34K bytes
    - Viewed (0)
  7. api/go1.17.txt

    pkg syscall (netbsd-arm), const SYS_WAIT6 ideal-int
    pkg syscall (netbsd-arm), const WEXITED = 32
    pkg syscall (netbsd-arm), const WEXITED ideal-int
    pkg syscall (netbsd-arm-cgo), const SYS_WAIT6 = 481
    pkg syscall (netbsd-arm-cgo), const SYS_WAIT6 ideal-int
    pkg syscall (netbsd-arm-cgo), const WEXITED = 32
    pkg syscall (netbsd-arm-cgo), const WEXITED ideal-int
    pkg syscall (netbsd-arm64), const SYS_WAIT6 = 481
    Plain Text
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Fri Feb 17 20:31:46 GMT 2023
    - 18K bytes
    - Viewed (0)
  8. api/go1.11.txt

    pkg syscall (openbsd-386), const SOCK_NONBLOCK = 16384
    pkg syscall (openbsd-386), const SOCK_NONBLOCK ideal-int
    pkg syscall (openbsd-386), const SYS_ACCEPT4 = 93
    pkg syscall (openbsd-386), const SYS_ACCEPT4 ideal-int
    pkg syscall (openbsd-386), const SYS_PIPE2 = 101
    pkg syscall (openbsd-386), const SYS_PIPE2 ideal-int
    pkg syscall (openbsd-386), func Accept4(int, int) (int, Sockaddr, error)
    pkg syscall (openbsd-386), func Pipe2([]int, int) error
    Plain Text
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Wed Aug 22 03:48:56 GMT 2018
    - 25K bytes
    - Viewed (2)
  9. src/cmd/cgo/internal/test/issue18146.go

    				err = pe.Err
    			}
    			if se, ok := err.(syscall.Errno); ok && (se == syscall.EAGAIN || se == syscall.EMFILE) {
    				time.Sleep(time.Millisecond)
    				continue
    			}
    
    			t.Error(err)
    			return
    		}
    		cmds = append(cmds, cmd)
    	}
    
    	failures := 0
    	for _, cmd := range cmds {
    		err := cmd.Wait()
    		if err == nil {
    			continue
    		}
    
    		t.Errorf("syscall.Exec failed: %v\n%s", err, cmd.Stdout)
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Tue Sep 05 23:35:32 GMT 2023
    - 2.8K bytes
    - Viewed (0)
  10. api/go1.5.txt

    pkg syscall (darwin-amd64), type SysProcAttr struct, Foreground bool
    pkg syscall (darwin-amd64), type SysProcAttr struct, Pgid int
    pkg syscall (darwin-amd64-cgo), type SysProcAttr struct, Ctty int
    pkg syscall (darwin-amd64-cgo), type SysProcAttr struct, Foreground bool
    pkg syscall (darwin-amd64-cgo), type SysProcAttr struct, Pgid int
    pkg syscall (freebsd-386), type SysProcAttr struct, Ctty int
    Plain Text
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Thu Jul 30 21:14:09 GMT 2015
    - 46.6K bytes
    - Viewed (0)
Back to top