- Sort Score
- Result 10 results
- Languages All
Results 191 - 200 of 461 for got (0.04 sec)
-
internal/hash/reader.go
if r.expectedMin > 0 { if r.bytesRead < r.expectedMin { return 0, SizeTooSmall{Want: r.expectedMin, Got: r.bytesRead} } } if r.expectedMax > 0 { if r.bytesRead > r.expectedMax { return 0, SizeTooLarge{Want: r.expectedMax, Got: r.bytesRead} } } if r.sha256 != nil { if sum := r.sha256.Sum(nil); !bytes.Equal(r.contentSHA256, sum) {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Sep 19 12:59:07 UTC 2024 - 10.9K bytes - Viewed (0) -
cmd/erasure-metadata-utils_test.go
if gotErr != testCase.err { t.Errorf("Test %d : expected %s, got %s", i+1, testCase.err, gotErr) } gotNewErr := reduceWriteQuorumErrs(context.Background(), testCase.errs, testCase.ignoredErrs, 6) if gotNewErr != errErasureWriteQuorum { t.Errorf("Test %d : expected %s, got %s", i+1, errErasureWriteQuorum, gotErr) } } } // TestHashOrder - test order of ints in array
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Jan 18 07:03:17 UTC 2024 - 7.4K bytes - Viewed (0) -
cmd/common-main_test.go
t.Error(errors.New("expected error, found success")) } if len(ekvs) != len(testCase.expectedEkvs) { t.Errorf("expected %v keys, got %v keys", len(testCase.expectedEkvs), len(ekvs)) } if !reflect.DeepEqual(ekvs, testCase.expectedEkvs) { t.Errorf("expected %v, got %v", testCase.expectedEkvs, ekvs) } }) }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Sep 19 18:05:16 UTC 2022 - 3.7K bytes - Viewed (0) -
istioctl/pkg/ztunnelconfig/ztunnelconfig_test.go
if c.expectedOutput != "" && c.expectedOutput != output { t.Fatalf("Unexpected output for 'istioctl %s'\n got: %q\nwant: %q", strings.Join(c.args, " "), output, c.expectedOutput) } if c.expectedString != "" && !strings.Contains(output, c.expectedString) { 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 {
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Wed Apr 10 21:51:29 UTC 2024 - 3.8K bytes - Viewed (0) -
internal/bucket/lifecycle/expiration_test.go
t.Run(fmt.Sprintf("Test %d", i+1), func(t *testing.T) { var expiration Expiration err := xml.Unmarshal([]byte(tc.inputXML), &expiration) if err != tc.expectedErr { t.Fatalf("%d: Expected %v but got %v", i+1, tc.expectedErr, err) } }) } validationTestCases := []struct { inputXML string expectedErr error }{ { // Expiration with a valid ISO 8601 date inputXML: `<Expiration>
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Wed Feb 21 20:28:34 UTC 2024 - 4.1K bytes - Viewed (0) -
schema/field.go
} } case reflect.Float32, reflect.Float64: field.DataType = Float if field.HasDefaultValue && !skipParseDefaultValue { if field.DefaultValueInterface, err = strconv.ParseFloat(field.DefaultValue, 64); err != nil { schema.err = fmt.Errorf("failed to parse %s as default value for float, got error: %v", field.DefaultValue, err) } }
Registered: Sun Nov 03 09:35:10 UTC 2024 - Last Modified: Mon Apr 15 03:20:20 UTC 2024 - 32K bytes - Viewed (0) -
cmd/erasure-server-pool-decom_test.go
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Jul 01 14:38:46 UTC 2024 - 4.8K bytes - Viewed (0) -
cmd/callhome.go
for { if !globalCallhomeConfig.Enabled() { // Stop the processing as callhome got disabled return false } select { case <-ctx.Done(): // indicates that we do not need to run callhome anymore return false case <-callhomeTimer.C: if !globalCallhomeConfig.Enabled() { // Stop the processing as callhome got disabled return false } performCallhome(ctx)
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri May 17 16:53:34 UTC 2024 - 5.3K bytes - Viewed (0) -
istioctl/pkg/proxystatus/proxystatus_test.go
if c.expectedOutput != "" && c.expectedOutput != output { t.Fatalf("Unexpected output for 'istioctl %s'\n got: %q\nwant: %q", strings.Join(c.args, " "), output, c.expectedOutput) } if c.expectedString != "" && !strings.Contains(output, c.expectedString) { 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 {
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Fri Mar 15 08:28:50 UTC 2024 - 5.5K bytes - Viewed (0) -
cmd/format-erasure_test.go
// empty should return false. formats[0] = nil if ok := formatErasureV3ThisEmpty(formats); ok { t.Fatalf("expected value false, got %t", ok) } formats[2].Erasure.This = "" if ok := formatErasureV3ThisEmpty(formats); !ok { t.Fatalf("expected value true, got %t", ok) } } // Tests xl format migration. func TestFormatErasureMigrate(t *testing.T) { // Get test root. rootPath := t.TempDir()
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Apr 15 08:25:46 UTC 2024 - 12.9K bytes - Viewed (0)