Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 239 for Ioperm (0.11 sec)

  1. internal/lock/lock_nix.go

    // flags and shouldn't be considered as replacement
    // for os.OpenFile().
    func LockedOpenFile(path string, flag int, perm os.FileMode) (*LockedFile, error) {
    	return lockedOpenFile(path, flag, perm, 0)
    }
    
    // Open - Call os.OpenFile
    func Open(path string, flag int, perm os.FileMode) (*os.File, error) {
    	return os.OpenFile(path, flag, perm)
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Aug 19 01:35:22 UTC 2021
    - 2.8K bytes
    - Viewed (0)
  2. src/runtime/defs_aix_ppc64.go

    // Copyright 2018 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    //go:build aix
    
    package runtime
    
    const (
    	_EPERM     = 0x1
    	_ENOENT    = 0x2
    	_EINTR     = 0x4
    	_EAGAIN    = 0xb
    	_ENOMEM    = 0xc
    	_EACCES    = 0xd
    	_EFAULT    = 0xe
    	_EINVAL    = 0x16
    	_ETIMEDOUT = 0x4e
    
    	_PROT_NONE  = 0x0
    	_PROT_READ  = 0x1
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat May 20 21:27:51 UTC 2023
    - 3.6K bytes
    - Viewed (0)
  3. src/math/rand/v2/regress_test.go

    	[]int{4, 2, 1, 3, 0},                // Perm(5)
    	[]int{0, 2, 3, 1, 5, 4, 6, 7},       // Perm(8)
    	[]int{2, 0, 8, 3, 4, 7, 6, 5, 1},    // Perm(9)
    	[]int{0, 6, 5, 3, 8, 4, 1, 2, 9, 7}, // Perm(10)
    	[]int{9, 14, 4, 11, 13, 8, 0, 6, 2, 12, 3, 7, 1, 10, 5, 15}, // Perm(16)
    	[]int{},                             // Perm(0)
    	[]int{0},                            // Perm(1)
    	[]int{2, 4, 0, 3, 1},                // Perm(5)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 18:03:11 UTC 2024
    - 20.3K bytes
    - Viewed (0)
  4. src/compress/gzip/example_test.go

    	"strings"
    	"time"
    )
    
    func Example_writerReader() {
    	var buf bytes.Buffer
    	zw := gzip.NewWriter(&buf)
    
    	// Setting the Header fields is optional.
    	zw.Name = "a-new-hope.txt"
    	zw.Comment = "an epic space opera by George Lucas"
    	zw.ModTime = time.Date(1977, time.May, 25, 0, 0, 0, 0, time.UTC)
    
    	_, err := zw.Write([]byte("A long time ago in a galaxy far, far away..."))
    	if err != nil {
    		log.Fatal(err)
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jun 22 16:24:14 UTC 2022
    - 4.8K bytes
    - Viewed (0)
  5. src/vendor/golang.org/x/crypto/chacha20/chacha_s390x.s

    	VX     d3, d1, d1  \
    	VERLLF $7, a1, a1  \
    	VERLLF $7, b1, b1  \
    	VERLLF $7, c1, c1  \
    	VERLLF $7, d1, d1
    
    #define PERMUTE(mask, v0, v1, v2, v3) \
    	VPERM v0, v0, mask, v0 \
    	VPERM v1, v1, mask, v1 \
    	VPERM v2, v2, mask, v2 \
    	VPERM v3, v3, mask, v3
    
    #define ADDV(x, v0, v1, v2, v3) \
    	VAF x, v0, v0 \
    	VAF x, v1, v1 \
    	VAF x, v2, v2 \
    	VAF x, v3, v3
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 5.3K bytes
    - Viewed (0)
  6. src/os/removeall_at.go

    	}
    
    	// EISDIR means that we have a directory, and we need to
    	// remove its contents.
    	// EPERM or EACCES means that we don't have write permission on
    	// the parent directory, but this entry might still be a directory
    	// whose contents need to be removed.
    	// Otherwise just return the error.
    	if err != syscall.EISDIR && err != syscall.EPERM && err != syscall.EACCES {
    		return &PathError{Op: "unlinkat", Path: base, Err: err}
    	}
    	uErr := err
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 11 17:09:26 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  7. src/cmd/vendor/golang.org/x/sys/unix/xattr_bsd.go

    		 *
    		 * Linux will still error if we ask for user attributes on a file that
    		 * we don't have read permissions on, so don't ignore those errors
    		 */
    		if e != nil {
    			if e == EPERM && nsid != EXTATTR_NAMESPACE_USER {
    				continue
    			}
    			return s, e
    		}
    
    		s += stmp
    		pos = s
    		if pos > destsiz {
    			pos = destsiz
    		}
    	}
    
    	return s, nil
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 5.7K bytes
    - Viewed (0)
  8. src/syscall/creds_test.go

    			if op, ok := err.(*net.OpError); ok {
    				err = op.Err
    			}
    			if sys, ok := err.(*os.SyscallError); ok {
    				err = sys.Err
    			}
    			switch err {
    			case syscall.EPERM, syscall.EINVAL:
    			default:
    				t.Fatalf("WriteMsgUnix failed with %v, want EPERM or EINVAL", err)
    			}
    		}
    
    		ucred.Pid = int32(os.Getpid())
    		ucred.Uid = uint32(os.Getuid())
    		ucred.Gid = uint32(os.Getgid())
    		oob := syscall.UnixCredentials(&ucred)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 17 02:43:05 UTC 2022
    - 3.4K bytes
    - Viewed (0)
  9. src/syscall/tables_js.go

    		return nil
    	case EAGAIN:
    		return errEAGAIN
    	case EINVAL:
    		return errEINVAL
    	case ENOENT:
    		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,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 28 18:17:57 UTC 2021
    - 19.2K bytes
    - Viewed (0)
  10. src/syscall/zerrors_windows.go

    	ENOSR
    	ENOSTR
    	ENOSYS
    	ENOTBLK
    	ENOTCONN
    	ENOTEMPTY
    	ENOTNAM
    	ENOTRECOVERABLE
    	ENOTSOCK
    	ENOTSUP
    	ENOTTY
    	ENOTUNIQ
    	ENXIO
    	EOPNOTSUPP
    	EOVERFLOW
    	EOWNERDEAD
    	EPERM
    	EPFNOSUPPORT
    	EPIPE
    	EPROTO
    	EPROTONOSUPPORT
    	EPROTOTYPE
    	ERANGE
    	EREMCHG
    	EREMOTE
    	EREMOTEIO
    	ERESTART
    	EROFS
    	ESHUTDOWN
    	ESOCKTNOSUPPORT
    	ESPIPE
    	ESRCH
    	ESRMNT
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 14 13:21:46 UTC 2018
    - 10K bytes
    - Viewed (0)
Back to top