- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 119 for Tperm (0.03 sec)
-
src/os/file_open_unix.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Apr 07 23:34:21 UTC 2023 - 397 bytes - Viewed (0) -
src/os/path.go
// along with any necessary parents, and returns nil, // or else returns an error. // The permission bits perm (before umask) are used for all // directories that MkdirAll creates. // If path is already a directory, MkdirAll does nothing // and returns nil. func MkdirAll(path string, perm FileMode) error { // Fast path: if we can tell whether path is a directory or file, stop with success or error. dir, err := Stat(path)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 30 15:38:09 UTC 2024 - 2.3K bytes - Viewed (0) -
staging/src/k8s.io/apimachinery/pkg/util/rand/rand_test.go
} } } func TestPerm(t *testing.T) { Seed(5) rand.Seed(5) for i := 1; i < 20; i++ { actual := Perm(i) expected := rand.Perm(i) for j := 0; j < i; j++ { if actual[j] != expected[j] { t.Errorf("Perm call result is unexpected") } } } } func TestIntnRange(t *testing.T) { // 0 is invalid.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Sep 07 13:45:36 UTC 2021 - 2.5K bytes - Viewed (0) -
pkg/file/file.go
return err } defer in.Close() perm, err := in.Stat() if err != nil { return err } return AtomicWriteReader(filepath.Join(targetDir, targetFilename), in, perm.Mode()) } func Copy(srcFilepath, targetDir, targetFilename string) error { in, err := os.Open(srcFilepath) if err != nil { return err } defer in.Close() perm, err := in.Stat() if err != nil { return err }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Apr 11 21:42:29 UTC 2024 - 3K bytes - Viewed (0) -
internal/lock/lock_windows.go
errLockViolation syscall.Errno = 0x21 ) // lockedOpenFile is an internal function. func lockedOpenFile(path string, flag int, perm os.FileMode, lockType uint32) (*LockedFile, error) { f, err := Open(path, flag, perm) if err != nil { return nil, err } if err = lockFile(syscall.Handle(f.Fd()), lockType); err != nil { f.Close() return nil, err }
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Wed Oct 18 18:08:15 UTC 2023 - 7.9K bytes - Viewed (0) -
pkg/util/filesystem/defaultfs.go
} // MkdirAll via os.MkdirAll func (fs *DefaultFs) MkdirAll(path string, perm os.FileMode) error { return os.MkdirAll(fs.prefix(path), perm) } // MkdirAllWithPathCheck checks if path exists already. If not, it creates a directory // named path, along with any necessary parents, and returns nil, or else returns an error. // Permission bits perm (before umask) are used for all directories that // MkdirAllWithPathCheck creates.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Oct 03 07:38:14 UTC 2023 - 4.7K bytes - Viewed (0) -
src/internal/syscall/unix/at.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 := syscall.Syscall6(openatTrap, 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: Mon Sep 19 15:51:18 UTC 2022 - 917 bytes - Viewed (0) -
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) -
pkg/kubelet/container/testing/os.go
Removes []string Files map[string][]*os.FileInfo FilesLock sync.RWMutex } // Mkdir is a fake call that just returns nil. func (f *FakeOS) MkdirAll(path string, perm os.FileMode) error { if f.MkdirAllFn != nil { return f.MkdirAllFn(path, perm) } return nil } // Symlink is a fake call that just returns nil. func (f *FakeOS) Symlink(oldname string, newname string) error { if f.SymlinkFn != nil {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Feb 07 13:37:31 UTC 2023 - 3.7K bytes - Viewed (0) -
src/os/file_open_wasip1.go
// license that can be found in the LICENSE file. //go:build wasip1 package os import ( "internal/poll" "syscall" ) func open(filePath string, flag int, perm uint32) (int, poll.SysFile, error) { if filePath == "" { return -1, poll.SysFile{}, syscall.EINVAL } absPath := filePath // os.(*File).Chdir is emulated by setting the working directory to the
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Apr 07 23:34:21 UTC 2023 - 818 bytes - Viewed (0)