- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 10 for errstr (0.22 sec)
-
src/net/netip/netip_test.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jun 04 17:10:01 UTC 2024 - 54.3K bytes - Viewed (0) -
cmd/erasure-object.go
auditLogInternal(ctx, opts) } func joinErrs(errs []error) []string { s := make([]string, len(errs)) for i := range s { if errs[i] == nil { s[i] = "<nil>" } else { s[i] = errs[i].Error() } } return s } func (er erasureObjects) deleteIfDangling(ctx context.Context, bucket, object string, metaArr []FileInfo, errs []error, dataErrsByPart map[int][]int, opts ObjectOptions) (FileInfo, error) {
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Mon Jun 10 15:51:27 UTC 2024 - 78.6K bytes - Viewed (0) -
cmd/batch-handlers.go
batchJobMetricExpire ) func batchJobTrace(d batchJobMetric, job string, startTime time.Time, duration time.Duration, info objTraceInfoer, attempts int, err error) madmin.TraceInfo { var errStr string if err != nil { errStr = err.Error() } traceType := madmin.TraceBatchReplication switch d { case batchJobMetricKeyRotation: traceType = madmin.TraceBatchKeyRotation
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Tue Jun 11 03:13:30 UTC 2024 - 56K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/server/options/encryptionconfig/config_test.go
}, } for _, tt := range testCases { t.Run(tt.desc, func(t *testing.T) { config, _, err := loadConfig(tt.config, false) if errStr := errString(err); !strings.Contains(errStr, tt.wantErr) { t.Fatalf("unexpected error state got=%s want=%s", errStr, tt.wantErr) } if len(tt.wantErr) > 0 { return } ctx, cancel := context.WithCancel(context.Background())
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu May 16 16:56:39 UTC 2024 - 72.3K bytes - Viewed (0) -
src/net/url/url_test.go
} } } func TestParseFailure(t *testing.T) { // Test that the first parse error is returned. const url = "%gh&%ij" _, err := ParseQuery(url) errStr := fmt.Sprint(err) if !strings.Contains(errStr, "%gh") { t.Errorf(`ParseQuery(%q) returned error %q, want something containing %q"`, url, errStr, "%gh") } } func TestParseErrors(t *testing.T) { tests := []struct {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 22:52:38 UTC 2024 - 52.1K bytes - Viewed (0) -
src/go/build/build.go
} dir := f[0] errStr := strings.TrimSpace(f[4]) if errStr != "" && dir == "" { // If 'go list' could not locate the package (dir is empty), // return the same error that 'go list' reported. return errors.New(errStr) } // If 'go list' did locate the package, ignore the error. // It was probably related to loading source files, and we'll
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 29 16:25:21 UTC 2024 - 62.3K bytes - Viewed (0) -
src/cmd/go/internal/modget/get.go
func (r *resolver) matchInModule(ctx context.Context, pattern string, m module.Version) (packages []string, err error) { return r.matchInModuleCache.Do(matchInModuleKey{pattern, m}, func() ([]string, error) { match := modload.MatchInModule(ctx, pattern, m, imports.AnyTags()) if len(match.Errs) > 0 { return match.Pkgs, match.Errs[0] } return match.Pkgs, nil }) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Jun 07 18:26:32 UTC 2024 - 66.5K bytes - Viewed (0) -
src/cmd/go/internal/modload/load.go
ld.pkgs = nil } // error reports an error via either os.Stderr or base.Error, // according to whether ld.AllowErrors is set. func (ld *loader) error(err error) { if ld.AllowErrors { fmt.Fprintf(os.Stderr, "go: %v\n", err) } else if ld.Switcher != nil { ld.Switcher.Error(err) } else { base.Error(err) } }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 30 14:56:56 UTC 2024 - 84K bytes - Viewed (0) -
cmd/iam.go
func (sys *IAMSys) GetRolePolicy(arnStr string) (arn.ARN, string, error) { roleArn, err := arn.Parse(arnStr) if err != nil { return arn.ARN{}, "", fmt.Errorf("RoleARN parse err: %v", err) } rolePolicy, ok := sys.rolesMap[roleArn] if !ok { return arn.ARN{}, "", fmt.Errorf("RoleARN %s is not defined.", arnStr) } return roleArn, rolePolicy, nil }
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Thu Jun 13 22:26:38 UTC 2024 - 71.9K bytes - Viewed (0) -
src/syscall/zerrors_solaris_amd64.go
64: "machine is not on the network", 65: "package not installed", 66: "object is remote", 67: "link has been severed", 68: "advertise error", 69: "srmount error", 70: "communication error on send", 71: "protocol error", 72: "locked lock was unmapped ", 73: "facility is not active", 74: "multihop attempted", 77: "not a data message", 78: "file name too long",
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 29 13:52:34 UTC 2024 - 50.8K bytes - Viewed (0)