- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 119 for Tperm (0.04 sec)
-
src/cmd/internal/bootstrap_test/overlaydir_test.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 12 12:35:05 UTC 2023 - 2.1K bytes - Viewed (0) -
internal/lock/lock_solaris.go
// for os.OpenFile(). func LockedOpenFile(path string, flag int, perm os.FileMode) (*LockedFile, error) { return lockedOpenFile(path, flag, perm, syscall.F_SETLKW) } // 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: Sun Jan 02 17:15:06 UTC 2022 - 2.8K bytes - Viewed (0) -
src/runtime/create_file_unix.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Nov 18 03:45:30 UTC 2022 - 368 bytes - Viewed (0) -
pkg/kubelet/container/os.go
Open(name string) (*os.File, error) OpenFile(name string, flag int, perm os.FileMode) (*os.File, error) Rename(oldpath, newpath string) error } // RealOS is used to dispatch the real system level operations. type RealOS struct{} // MkdirAll will call os.MkdirAll to create a directory. func (RealOS) MkdirAll(path string, perm os.FileMode) error { return os.MkdirAll(path, perm) } // Symlink will call os.Symlink to create a symbolic link.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat Jul 30 03:35:26 UTC 2022 - 3.7K bytes - Viewed (0) -
src/internal/testenv/testenv_unix.go
var errno syscall.Errno if errors.As(err, &errno) { switch errno { case syscall.EPERM, syscall.EROFS: // User lacks permission: either the call requires root permission and the // user is not root, or the call is denied by a container security policy. return true case syscall.EINVAL: // Some containers return EINVAL instead of EPERM if a system call is // denied by security policy. return true } }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Mar 16 17:44:01 UTC 2023 - 994 bytes - Viewed (0) -
src/math/rand/v2/example_test.go
show("Int32N(10)", r.Int32N(10), r.Int32N(10), r.Int32N(10)) show("Int64N(10)", r.Int64N(10), r.Int64N(10), r.Int64N(10)) // Perm generates a random permutation of the numbers [0, n). show("Perm", r.Perm(5), r.Perm(5), r.Perm(5)) // Output: // Float32 0.95955694 0.8076733 0.8135684 // Float64 0.4297927436037299 0.797802349388613 0.3883664855410056
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Oct 30 17:09:26 UTC 2023 - 4.4K bytes - Viewed (0) -
src/cmd/cgo/internal/cgotest/overlaydir.go
for len(suffix) > 0 && suffix[0] == filepath.Separator { suffix = suffix[1:] } dstPath := filepath.Join(dstRoot, suffix) perm := info.Mode() & os.ModePerm if info.Mode()&os.ModeSymlink != 0 { info, err = os.Stat(srcPath) if err != nil { return err } perm = info.Mode() & os.ModePerm } // Always copy directories (don't symlink them).
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 22 20:56:09 UTC 2023 - 1.7K bytes - Viewed (0) -
src/internal/syscall/unix/at_libc2.go
_ "unsafe" // for linkname ) func Unlinkat(dirfd int, path string, flags int) error { return unlinkat(dirfd, path, flags) } func Openat(dirfd int, path string, flags int, perm uint32) (int, error) { return openat(dirfd, path, flags, perm) } func Fstatat(dirfd int, path string, stat *syscall.Stat_t, flags int) error { return fstatat(dirfd, path, stat, flags) } //go:linkname unlinkat syscall.unlinkat
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Aug 31 16:59:38 UTC 2022 - 927 bytes - Viewed (0) -
src/cmd/go/internal/toolchain/path_unix.go
} // Mimicking exec.findExecutable here. // ENOSYS means Eaccess is not available or not implemented. // EPERM can be returned by Linux containers employing seccomp. // In both cases, fall back to checking the permission bits. err := unix.Eaccess(filepath.Join(dir, de.Name()), unix.X_OK) if (err == syscall.ENOSYS || err == syscall.EPERM) && info.Mode()&0111 != 0 { err = nil } if err != nil { return "", false }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 31 15:15:19 UTC 2023 - 1.2K bytes - Viewed (0) -
src/internal/syscall/unix/at_libc.go
return errno } return nil } func Openat(dirfd int, path string, flags int, perm uint32) (int, error) { p, err := syscall.BytePtrFromString(path) if err != nil { return 0, err } fd, _, errno := syscall6(uintptr(unsafe.Pointer(&procOpenat)), 4, uintptr(dirfd), uintptr(unsafe.Pointer(p)), uintptr(flags), uintptr(perm), 0, 0) if errno != 0 { return 0, errno } return int(fd), nil }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 28 18:17:57 UTC 2021 - 1.4K bytes - Viewed (0)