- Sort Score
- Result 10 results
- Languages All
Results 81 - 90 of 451 for perl (0.13 sec)
-
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/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) -
docs/es/docs/advanced/response-directly.md
**FastAPI** provee `starlette.responses` como `fastapi.responses`, simplemente como una conveniencia para ti, el desarrollador. Pero la mayorÃa de las respuestas disponibles vienen directamente de Starlette. ## Devolviendo una `Response` personalizada
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Sat Jan 13 11:57:27 UTC 2024 - 3.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) -
pkg/kubelet/winstats/network_stats.go
return nil, err } packetsReceivedErrorsData, err := n.packetsReceivedErrorsCounter.getDataList() if err != nil { klog.ErrorS(err, "Unable to get packetsReceivedErrors perf counter data") return nil, err } packetsOutboundDiscardedData, err := n.packetsOutboundDiscardedCounter.getDataList() if err != nil { klog.ErrorS(err, "Unable to get packetsOutboundDiscarded perf counter data")
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jun 04 06:25:43 UTC 2024 - 10.2K 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) -
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)