- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 77 for wantIdx (0.16 sec)
-
src/cmd/api/api_test.go
} f.Close() } bs, err := os.ReadFile(goldenFile) if err != nil { t.Fatalf("opening golden.txt for package %q: %v", fi.Name(), err) } wanted := strings.Split(string(bs), "\n") sort.Strings(wanted) for _, feature := range wanted { if feature == "" { continue } _, ok := w.features[feature] if !ok { t.Errorf("package %s: missing feature %q", fi.Name(), feature) }
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Thu Jan 04 17:31:12 UTC 2024 - 7.1K bytes - Viewed (0) -
cmd/xl-storage-format-v2-legacy.go
var zb0001 uint32 zb0001, bts, err = msgp.ReadArrayHeaderBytes(bts) if err != nil { err = msgp.WrapError(err) return } if zb0001 != 4 { err = msgp.ArrayError{Wanted: 4, Got: zb0001} return } bts, err = msgp.ReadExactBytes(bts, (x.VersionID)[:]) if err != nil { err = msgp.WrapError(err, "VersionID") return } x.ModTime, bts, err = msgp.ReadInt64Bytes(bts)
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Apr 19 16:43:43 UTC 2024 - 5.7K bytes - Viewed (0) -
istioctl/pkg/cli/context_test.go
}, } for _, tt := range tests { t.Run(tt.description, func(t *testing.T) { gotNs := handleNamespace(tt.namespace, tt.defaultNamespace) if gotNs != tt.wantNamespace { t.Fatalf("unexpected namespace: wanted %v got %v", tt.wantNamespace, gotNs) } }) }
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Fri Jun 09 18:17:49 UTC 2023 - 1.4K bytes - Viewed (0) -
cmd/streaming-signature-v4_test.go
{"000000000000bogus", 0, "invalid byte in chunk length"}, {"00000000000000000", 0, "http chunk length too large"}, // could accept if we wanted {"10000000000000000", 0, "http chunk length too large"}, {"00000000000000001", 0, "http chunk length too large"}, // could accept if we wanted } for i := uint64(0); i <= 1234; i++ { tests = append(tests, testCase{in: fmt.Sprintf("%x", i), want: i}) } for _, tt := range tests {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Apr 23 18:58:53 UTC 2021 - 5.7K bytes - Viewed (0) -
istioctl/pkg/util/handlers/handlers_test.go
gotPodName, gotNamespace := InferPodInfo(tt.proxyName, tt.namespace) if gotPodName != tt.wantPodName || gotNamespace != tt.wantNamespace { t.Errorf("unexpected podName and namespace: wanted %v %v got %v %v", tt.wantPodName, tt.wantNamespace, gotPodName, gotNamespace) } }) } } func TestInferPodInfoFromTypedResource(t *testing.T) { tests := []struct { name string
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Fri Jun 09 18:17:49 UTC 2023 - 6.6K bytes - Viewed (0) -
istioctl/pkg/util/testutil/util.go
strings.Join(c.Args, " "), output, c.ExpectedRegexp) } if c.GoldenFilename != "" { util.CompareContent(t, []byte(output), c.GoldenFilename) } if c.WantException { if fErr == nil { t.Fatalf("Wanted an exception for 'istioctl %s', didn't get one, output was %q", strings.Join(c.Args, " "), output) } } else { if fErr != nil { t.Fatalf("Unwanted exception for 'istioctl %s': %v", strings.Join(c.Args, " "), fErr)
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Thu Jun 15 15:02:17 UTC 2023 - 2K bytes - Viewed (0) -
compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/MavenArtifactRelocationSource.java
* @param result The artifact descriptor result, never {@code null}. * @param model The artifact model, never {@code null}. * @return The {@link Artifact} to relocate to, or {@code null} if no relocation wanted. */ Artifact relocatedTarget(RepositorySystemSession session, ArtifactDescriptorResult result, Model model) throws ArtifactDescriptorException;
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 2K bytes - Viewed (0) -
istioctl/pkg/internaldebug/internal-debug_test.go
t.Fatalf("Output didn't match for '%s %s'\n got %v\nwant: %v", cmd.Name(), strings.Join(c.args, " "), output, c.expectedString) } if c.wantException { if fErr == nil { t.Fatalf("Wanted an exception for 'istioctl %s', didn't get one, output was %q", strings.Join(c.args, " "), output) } } else { if fErr != nil {
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Fri Mar 15 08:28:50 UTC 2024 - 4.5K bytes - Viewed (0) -
istioctl/pkg/ztunnelconfig/ztunnelconfig_test.go
t.Fatalf("Output didn't match for '%s %s'\n got %v\nwant: %v", cmd.Name(), strings.Join(c.args, " "), output, c.expectedString) } if c.wantException { if fErr == nil { t.Fatalf("Wanted an exception for 'istioctl %s', didn't get one, output was %q", strings.Join(c.args, " "), output) } } else { if fErr != nil {
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Wed Apr 10 21:51:29 UTC 2024 - 3.8K bytes - Viewed (0) -
istioctl/pkg/install/k8sversion/version_test.go
got, err := extractKubernetesVersion(c.version) if c.errMsg != err && c.isValid { t.Fatalf("\nwanted: %v \nbut found: %v", c.errMsg, err) } if got != c.expected { t.Fatalf("wanted %v got %v", c.expected, got) } }) } } func TestIsK8VersionSupported(t *testing.T) { cases := []struct { version *version.Info logMsg string isValid bool }{ {
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Wed Oct 30 21:50:50 UTC 2024 - 6.5K bytes - Viewed (0)