- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 1,660 for gots (0.1 sec)
-
staging/src/k8s.io/apiserver/pkg/util/flowcontrol/fairqueuing/promise/promise_test.go
later := time.Now() bval := &later if wr.Set(bval) { t.Error("Set of initialized promise returned true") } goGetAndExpect(t, wr, gots, aval) cancel() time.Sleep(time.Second) // give it a chance to misbehave goGetAndExpect(t, wr, gots, aval) } func goGetExpectNotYet(t *testing.T, wr WriteOnce, gots chan interface{}, trigger string) { go func() { gots <- wr.Get() }() select { case <-gots:
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Aug 21 19:19:31 UTC 2023 - 3K bytes - Viewed (0) -
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) -
internal/s3select/select_test.go
if err != nil { t.Error(err) return } got, err := io.ReadAll(res) if err != nil { t.Error(err) return } gotS := strings.TrimSpace(string(got)) if !reflect.DeepEqual(gotS, testCase.wantResult) { t.Errorf("received response does not match with expected reply. Query: %s\ngot: %s\nwant:%s", testCase.query, gotS, testCase.wantResult) } })
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Sat Dec 23 07:19:11 UTC 2023 - 76.2K 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) -
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) -
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/internal/types/testdata/check/gotos.go
L: } // goto into outer block okay func _() { { goto L } L: } func _() { { goto L goto L1 } L: L1: } // goto backward into outer block okay func _() { L: { goto L } } func _() { L: L1: { goto L goto L1 } } // goto into inner block not okay func _() {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Sep 02 02:58:32 UTC 2022 - 5.8K bytes - Viewed (0) -
src/runtime/lock_js.go
idleTimeout = nil } // pause sets SP to newsp and pauses the execution of Go's WebAssembly code until an event is triggered. func pause(newsp uintptr) // scheduleTimeoutEvent tells the WebAssembly environment to trigger an event after ms milliseconds. // It returns a timer id that can be used with clearTimeoutEvent. // //go:wasmimport gojs runtime.scheduleTimeoutEvent func scheduleTimeoutEvent(ms int64) int32
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Nov 21 21:02:20 UTC 2023 - 7.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)