- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 623 for gots (0.06 sec)
-
cmd/data-scanner_test.go
for i, fi := range fivs[:2] { wants[i] = fi.ToObjectInfo(bucket, obj, versioned) } gots, err := item.applyNewerNoncurrentVersionLimit(context.TODO(), objAPI, fivs, es) if err != nil { t.Fatalf("Failed with err: %v", err) } if len(gots) != len(wants) { t.Fatalf("Expected %d objects but got %d", len(wants), len(gots)) } // Close expiry state's channel to inspect object versions enqueued for expiration
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Fri May 03 11:18:58 UTC 2024 - 6.9K bytes - Viewed (0) -
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) -
pilot/pkg/model/sidecar_test.go
t.Run(tt.name, func(t *testing.T) { ilw := &IstioEgressListenerWrapper{} got := ilw.selectServices(tt.services, tt.namespace, tt.listenerHosts) if !reflect.DeepEqual(got, tt.expected) { gots, _ := json.MarshalIndent(got, "", " ") expecteds, _ := json.MarshalIndent(tt.expected, "", " ") t.Errorf("Got %v, expected %v", string(gots), string(expecteds)) } }) } }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue May 07 09:38:49 UTC 2024 - 74.3K 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) -
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/cmd/dist/test.go
if goarch == "ppc64" && goos != "aix" { return false } return true } func (t *tester) internalLink() bool { if gohostos == "dragonfly" { // linkmode=internal fails on dragonfly since errno is a TLS relocation. return false } if goos == "android" { return false } if goos == "ios" { return false } if goos == "windows" && goarch == "arm64" {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 20 16:01:35 UTC 2024 - 50K 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/internal/platform/supported.go
} // CgoSupported reports whether goos/goarch supports cgo. func CgoSupported(goos, goarch string) bool { return distInfo[OSArch{goos, goarch}].CgoSupported } // FirstClass reports whether goos/goarch is considered a “first class” port. // (See https://go.dev/wiki/PortingPolicy#first-class-ports.) func FirstClass(goos, goarch string) bool { return distInfo[OSArch{goos, goarch}].FirstClass }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sat May 04 07:50:22 UTC 2024 - 7.6K bytes - Viewed (0)