- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 186 for errstr (0.23 sec)
-
src/cmd/go/internal/modindex/read.go
} // pkg returns the i'th IndexPackage in m. func (m *Module) pkg(i int) *IndexPackage { r := m.d.readAt(m.pkgOff(i)) p := new(IndexPackage) if errstr := r.string(); errstr != "" { p.error = errors.New(errstr) } p.dir = r.string() p.sourceFiles = make([]*sourceFile, r.int()) for i := range p.sourceFiles { p.sourceFiles[i] = &sourceFile{ d: m.d, pos: r.int(), } }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 16 14:34:32 UTC 2024 - 29.7K bytes - Viewed (0) -
cmd/xl-storage-disk-id-check.go
paths = append([]string{p.String()}, paths...) var errStr string if err != nil { errStr = err.Error() } custom["total-errs-timeout"] = strconv.FormatUint(p.totalErrsTimeout.Load(), 10) custom["total-errs-availability"] = strconv.FormatUint(p.totalErrsAvailability.Load(), 10) globalTrace.Publish(storageTrace(s, startTime, duration, strings.Join(paths, " "), sz, errStr, custom)) } } } const (
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Mon Jun 10 15:51:27 UTC 2024 - 33.4K bytes - Viewed (0) -
pkg/volume/util/operationexecutor/operation_executor.go
GenerateError(prefixMsg string, err error) (simpleErr, detailedErr error) } // Generates an error string with the format ": <err>" if err exists func errSuffix(err error) string { errStr := "" if err != nil { errStr = fmt.Sprintf(": %v", err) } return errStr } // Generate a detailed error msg for logs
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue May 14 06:17:25 UTC 2024 - 42.6K bytes - Viewed (0) -
src/strings/strings_test.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 03 12:58:37 UTC 2024 - 53K bytes - Viewed (0) -
src/syscall/syscall_plan9.go
func Wstat(path string, edir []byte) (err error) { if fixwd(path) { defer runtime.UnlockOSThread() } return wstat(path, edir) } //sys chdir(path string) (err error) //sys Dup(oldfd int, newfd int) (fd int, err error) //sys Pread(fd int, p []byte, offset int64) (n int, err error) //sys Pwrite(fd int, p []byte, offset int64) (n int, err error) //sys Close(fd int) (err error)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Feb 26 21:03:59 UTC 2024 - 9.4K 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) -
src/runtime/proc_test.go
t.Parallel() output := runTestProg(t, "testprog", "NonexistentTest", "GOMAXPROCS=1024") // Ignore error conditions on small machines. for _, errstr := range []string{ "failed to create new OS thread", "cannot allocate memory", } { if strings.Contains(output, errstr) { t.Skipf("failed to create 1024 threads") } } if !strings.Contains(output, "unknown function: NonexistentTest") {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Jun 14 00:03:57 UTC 2023 - 25.8K bytes - Viewed (0) -
pkg/registry/core/pod/strategy.go
containerNames = append(containerNames, c.Name) return true }) errStr := fmt.Sprintf("a container name must be specified for pod %s, choose one of: %s", pod.Name, containerNames) return "", errors.NewBadRequest(errStr) } } else { if !podHasContainerWithName(pod, container) {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Mar 07 17:51:48 UTC 2024 - 29.8K bytes - Viewed (0) -
src/bytes/bytes_test.go
s string count int errStr string } runTestCases := func(prefix string, tests []testCase) { for i, tt := range tests { err := repeat([]byte(tt.s), tt.count) if tt.errStr == "" { if err != nil { t.Errorf("#%d panicked %v", i, err) } continue } if err == nil || !strings.Contains(err.Error(), tt.errStr) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 03 12:58:37 UTC 2024 - 56.5K 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)