- Sort Score
- Result 10 results
- Languages All
Results 71 - 80 of 218 for Ioperm (0.35 sec)
-
tensorflow/c/python_api.cc
} void ExtendSession(TF_Session* session, TF_Status* status) { TF_ExtendSession(session, status); } std::string GetHandleShapeAndType(TF_Graph* graph, TF_Output output) { Node* node = &output.oper->node; tensorflow::core::CppShapeInferenceResult::HandleData handle_data; handle_data.set_is_set(true); { mutex_lock l(graph->mu); tensorflow::shape_inference::InferenceContext* ic =
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Jul 12 18:48:56 UTC 2023 - 3.5K bytes - Viewed (0) -
src/cmd/go/testdata/script/mod_permissions.txt
func main() { for _, name := range []string{"go.mod", "go.sum"} { fi, err := os.Stat(name) if err != nil { fmt.Fprintf(os.Stderr, "%s: %v\n", err) continue } fmt.Printf("%s: 0%o\n", name, fi.Mode().Perm()) } } -- go.mod -- module TODO go 1.14 -- go.sum -- -- go.mod.want -- module golang.org/issue/34634 go 1.14 require rsc.io/sampler v1.99.99 -- go.sum.want --
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Oct 24 21:26:10 UTC 2022 - 1.2K bytes - Viewed (0) -
src/math/rand/v2/rand.go
// from the default Source. func Float32() float32 { return globalRand.Float32() } // Perm returns, as a slice of n ints, a pseudo-random permutation of the integers // in the half-open interval [0,n) from the default Source. func Perm(n int) []int { return globalRand.Perm(n) } // Shuffle pseudo-randomizes the order of elements using the default Source.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 02:25:49 UTC 2024 - 12.8K bytes - Viewed (0) -
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) -
src/syscall/syscall_js.go
if s != "" { return s } } return "errno " + itoa.Itoa(int(e)) } func (e Errno) Is(target error) bool { switch target { case oserror.ErrPermission: return e == EACCES || e == EPERM case oserror.ErrExist: return e == EEXIST || e == ENOTEMPTY case oserror.ErrNotExist: return e == ENOENT case errorspkg.ErrUnsupported: return e == ENOSYS || e == ENOTSUP || e == EOPNOTSUPP }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Feb 26 21:03:59 UTC 2024 - 6.7K 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) -
pkg/volume/util/subpath/subpath_linux_test.go
} actualMode := st.Mode() if actualMode != test.perm { if actualMode^test.perm == os.ModeSetgid && test.perm&os.ModeSetgid == 0 { // when TMPDIR is a kubernetes emptydir, the sticky gid bit is set due to fsgroup t.Logf("masking bit from %o", actualMode) } else { t.Errorf("expected permissions %o, got %o (%b)", test.perm, actualMode, test.perm^actualMode) } } } }) } }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Nov 10 16:52:55 UTC 2021 - 37.3K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/sys/plan9/zsyscall_plan9_amd64.go
return } // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT func create(path string, mode int, perm uint32) (fd int, err error) { var _p0 *byte _p0, err = BytePtrFromString(path) if err != nil { return } r0, _, e1 := Syscall(SYS_CREATE, uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(perm)) fd = int(r0) if int32(r0) == -1 { err = e1 } return }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 23:33:33 UTC 2023 - 6.2K bytes - Viewed (0) -
src/syscall/zsyscall_plan9_386.go
return } // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT func create(path string, mode int, perm uint32) (fd int, err error) { var _p0 *byte _p0, err = BytePtrFromString(path) if err != nil { return } r0, _, e1 := Syscall(SYS_CREATE, uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(perm)) fd = int(r0) if int32(r0) == -1 { err = e1 } return }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 28 18:17:57 UTC 2021 - 6.2K bytes - Viewed (0)