- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 47 for Ioperm (0.18 sec)
-
src/math/rand/rand_test.go
fn func() int }{ {name: "Int31n", fn: func() int { return int(r.Int31n(int32(nfact))) }}, {name: "int31n", fn: func() int { return int(Int31nForTest(r, int32(nfact))) }}, {name: "Perm", fn: func() int { return encodePerm(r.Perm(n)) }}, {name: "Shuffle", fn: func() int { // Generate permutation using Shuffle. for i := range p { p[i] = i }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 18:42:28 UTC 2024 - 16.9K bytes - Viewed (0) -
pkg/kubelet/certificate/kubelet_test.go
} }) } } func removeThenCreate(name string, data []byte, perm os.FileMode) error { if err := os.Remove(name); err != nil { if !os.IsNotExist(err) { return err } } return os.WriteFile(name, data, perm) } func createCertAndKeyFiles(certDir string) (string, string, error) {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Jun 06 03:07:40 UTC 2024 - 7.4K bytes - Viewed (0) -
src/net/net_windows_test.go
"io" "os" "os/exec" "regexp" "slices" "strings" "syscall" "testing" "time" ) func toErrno(err error) (syscall.Errno, bool) { operr, ok := err.(*OpError) if !ok { return 0, false } syserr, ok := operr.Err.(*os.SyscallError) if !ok { return 0, false } errno, ok := syserr.Err.(syscall.Errno) if !ok { return 0, false } return errno, true }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 16.3K bytes - Viewed (0) -
src/os/file_plan9.go
func syscallMode(i FileMode) (o uint32) { o |= uint32(i.Perm()) if i&ModeAppend != 0 { o |= syscall.DMAPPEND } if i&ModeExclusive != 0 { o |= syscall.DMEXCL } if i&ModeTemporary != 0 { o |= syscall.DMTMP } return } // openFileNolog is the Plan 9 implementation of OpenFile. func openFileNolog(name string, flag int, perm FileMode) (*File, error) { var ( fd int e error
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 30 15:35:30 UTC 2024 - 16K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/helper/ViewHelper.java
} break; case OPERA: if (isLocalFile) { url = url.replaceFirst("file:/+", systemProperties.getProperty("file.protocol.winlocal.opera", "file://")); } else { url = url.replaceFirst("file:/+", systemProperties.getProperty("file.protocol.opera", "file://")); } break; default:
Registered: Wed Jun 12 13:08:18 UTC 2024 - Last Modified: Thu May 30 06:58:45 UTC 2024 - 40.2K bytes - Viewed (0) -
pkg/controller/statefulset/stateful_set_utils_test.go
pods := make([]*v1.Pod, 10) perm := rand.Perm(10) for i, v := range perm { pods[i] = newStatefulSetPod(set, v) } sort.Sort(ascendingOrdinal(pods)) if !sort.IsSorted(ascendingOrdinal(pods)) { t.Error("ascendingOrdinal fails to sort Pods") } } func TestOverlappingStatefulSets(t *testing.T) { sets := make([]*apps.StatefulSet, 10) perm := rand.Perm(10) for i, v := range perm {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Jun 05 19:06:41 UTC 2024 - 50.9K bytes - Viewed (0) -
src/syscall/syscall_openbsd_libc.go
//sysnb getentropy(p []byte) (err error) //sys fstatat(fd int, path string, stat *Stat_t, flags int) (err error) //sys unlinkat(fd int, path string, flags int) (err error)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sat May 04 07:51:20 UTC 2024 - 3.7K bytes - Viewed (0) -
src/go/types/issues_test.go
} // run the test for all order permutations of the incoming files for _, perm := range [][len(sources)]int{ {0, 1, 2}, {0, 2, 1}, {1, 0, 2}, {1, 2, 0}, {2, 0, 1}, {2, 1, 0}, } { // create file order permutation files := make([]*ast.File, len(sources)) for i := range perm { files[i] = orig[perm[i]] } // type-check package with given file order permutation
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 30 19:19:55 UTC 2024 - 28.1K bytes - Viewed (0) -
src/syscall/syscall_darwin.go
//sys Mprotect(b []byte, prot int) (err error) //sys msync(b []byte, flags int) (err error) //sys Munlock(b []byte) (err error) //sys Munlockall() (err error) //sys Open(path string, mode int, perm uint32) (fd int, err error) //sys Pathconf(path string, name int) (val int, err error) //sys pread(fd int, p []byte, offset int64) (n int, err error) //sys pwrite(fd int, p []byte, offset int64) (n int, err error)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:16:50 UTC 2024 - 11K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/tests/prepare-quantize.mlir
%dq = "tfl.dequantize"(%q) : (tensor<5x2x!quant.uniform<i8<-127:127>:f32, 1.113490e-03>>) -> tensor<5x2xf32> %t = "tfl.transpose"(%dq, %perm) : (tensor<5x2xf32>, tensor<2xi32>) -> tensor<2x5xf32> func.return %t : tensor<2x5xf32> // QDQ: %[[perm:.*]] = arith.constant dense<[1, 0]> : tensor<2xi32> // QDQ-NEXT: %[[w:.*]] = arith.constant dense<1.000000e+00> : tensor<5x2xf32>
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu May 02 09:41:17 UTC 2024 - 67.5K bytes - Viewed (0)