- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 689 for Perm (0.04 sec)
-
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/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) -
tensorflow/compiler/mlir/tensorflow/transforms/layout_optimization.cc
ConstOp perm = dyn_cast_or_null<ConstOp>(transpose.getOperand(1).getDefiningOp()); if (!perm) return; // With the same permutation indices. auto dense_elem_attr = mlir::dyn_cast<DenseElementsAttr>(perm.getValue()); if (!dense_elem_attr) return; if (!permutation_op) permutation_op = perm;
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 19.3K 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) -
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) -
pkg/volume/emptydir/empty_dir.go
// the specific bits we need. err := os.Chmod(dir, perm) if err != nil { return err } fileinfo, err = os.Lstat(dir) if err != nil { return err } if fileinfo.Mode().Perm() != perm.Perm() { klog.Errorf("Expected directory %q permissions to be: %s; got: %s", dir, perm.Perm(), fileinfo.Mode().Perm()) } } return nil }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue May 21 10:18:16 UTC 2024 - 19K bytes - Viewed (0)