- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 689 for gots (0.14 sec)
-
pilot/pkg/security/authz/builder/builder_test.go
} got := g.BuildTCP() verify(t, convertTCP(got), baseDir, tc.want, true /* forTCP */) }) } } func verify(t *testing.T, gots []proto.Message, baseDir string, wants []string, forTCP bool) { t.Helper() if len(gots) != len(wants) { t.Fatalf("got %d configs but want %d", len(gots), len(wants)) } for i, got := range gots { gotYaml, err := protomarshal.ToYAML(got)
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Apr 17 22:20:44 UTC 2024 - 13.8K bytes - Viewed (0) -
operator/cmd/mesh/test-util_test.go
node := actual.(map[string]any) got, f, err := tpath.GetPathContext(node, util.PathFromString(pv.path), false) if err != nil || !f { return false, err } if reflect.TypeOf(got.Node) != reflect.TypeOf(pv.value) { return false, fmt.Errorf("comparison types don't match: got %v(%T), want %v(%T)", got.Node, got.Node, pv.value, pv.value) } if !reflect.DeepEqual(got.Node, pv.value) {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Oct 31 14:48:28 UTC 2023 - 15.3K bytes - Viewed (0) -
src/cmd/go/internal/work/init.go
base.Exit() } if cfg.BuildMSan && !platform.MSanSupported(cfg.Goos, cfg.Goarch) { fmt.Fprintf(os.Stderr, "-msan is not supported on %s/%s\n", cfg.Goos, cfg.Goarch) base.SetExitStatus(2) base.Exit() } if cfg.BuildRace && !platform.RaceDetectorSupported(cfg.Goos, cfg.Goarch) { fmt.Fprintf(os.Stderr, "-race is not supported on %s/%s\n", cfg.Goos, cfg.Goarch) base.SetExitStatus(2) base.Exit() }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Aug 28 19:13:34 UTC 2023 - 12.2K bytes - Viewed (0) -
src/cmd/distpack/pack.go
if goroot == "" { log.Fatalf("missing $GOROOT") } gohostos = runtime.GOOS gohostarch = runtime.GOARCH goos = os.Getenv("GOOS") if goos == "" { goos = gohostos } goarch = os.Getenv("GOARCH") if goarch == "" { goarch = gohostarch } goosUnderGoarch := goos + "_" + goarch goosDashGoarch := goos + "-" + goarch exe := "" if goos == "windows" { exe = ".exe" }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 14 19:41:17 UTC 2024 - 10.9K bytes - Viewed (0) -
src/cmd/go/internal/imports/build.go
// MatchFile returns false if the name contains a $GOOS or $GOARCH // suffix which does not match the current system. // The recognized name formats are: // // name_$(GOOS).* // name_$(GOARCH).* // name_$(GOOS)_$(GOARCH).* // name_$(GOOS)_test.* // name_$(GOARCH)_test.* // name_$(GOOS)_$(GOARCH)_test.* // // Exceptions: // // if GOOS=android, then files with GOOS=linux are also matched.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Mar 30 18:50:57 UTC 2023 - 10.4K bytes - Viewed (0) -
pkg/kubelet/kuberuntime/kuberuntime_sandbox.go
} lc.Sysctls = sysctls if pod.Spec.SecurityContext != nil { sc := pod.Spec.SecurityContext if sc.RunAsUser != nil && runtime.GOOS != "windows" { lc.SecurityContext.RunAsUser = &runtimeapi.Int64Value{Value: int64(*sc.RunAsUser)} } if sc.RunAsGroup != nil && runtime.GOOS != "windows" { lc.SecurityContext.RunAsGroup = &runtimeapi.Int64Value{Value: int64(*sc.RunAsGroup)} }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 29 22:40:29 UTC 2024 - 13.6K bytes - Viewed (0) -
src/cmd/go/internal/cfg/cfg.go
// Note that ctxt.GOOS/GOARCH are derived from the preference list // (1) environment, (2) go/env file, (3) runtime constants, // while go/build.Default.GOOS/GOARCH are derived from the preference list // (1) environment, (2) runtime constants. // // We know ctxt.GOOS/GOARCH == runtime.GOOS/GOARCH; // no matter how that happened, go/build.Default will make the
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 24 17:13:51 UTC 2024 - 19.3K bytes - Viewed (0) -
src/syscall/js/js.go
return string(b) } //go:wasmimport gojs syscall/js.valuePrepareString func valuePrepareString(v ref) (ref, int) // valueLoadString loads string data located at ref v into byte slice b. // // (noescape): This is safe because the byte slice is only used as a destination // for storing the string data and references to it are not maintained. // //go:wasmimport gojs syscall/js.valueLoadString //go:noescape
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Apr 19 14:35:26 UTC 2024 - 19.5K bytes - Viewed (0) -
src/runtime/extern.go
// when possible, a release tag like "go1.3". func Version() string { return buildVersion } // GOOS is the running program's operating system target: // one of darwin, freebsd, linux, and so on. // To view possible combinations of GOOS and GOARCH, run "go tool dist list". const GOOS string = goos.GOOS // GOARCH is the running program's architecture target: // one of 386, amd64, arm, s390x, and so on.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 30 17:52:17 UTC 2024 - 18.9K bytes - Viewed (0) -
src/net/timeout_test.go
{1 * time.Millisecond, 0}, {0, 1 * time.Millisecond}, {1 * time.Millisecond, 5 * time.Second}, // timeout over deadline } func TestDialTimeout(t *testing.T) { switch runtime.GOOS { case "plan9": t.Skipf("not supported on %s", runtime.GOOS) } t.Parallel() ln := newLocalListener(t, "tcp") defer func() { if err := ln.Close(); err != nil { t.Error(err) } }()
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Jan 24 18:06:55 UTC 2024 - 30K bytes - Viewed (0)