- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 20 for errstr (0.13 sec)
-
src/mime/quotedprintable/reader_test.go
} buf.Reset() _, err := io.Copy(&buf, NewReader(strings.NewReader(s))) if err != nil { errStr := err.Error() if strings.Contains(errStr, "invalid bytes after =:") { errStr = "invalid bytes after =" } res[errStr]++ if strings.Contains(errStr, "invalid hex byte ") { if strings.HasSuffix(errStr, "0x20") && (strings.Contains(s, "=0 ") || strings.Contains(s, "=A ") || strings.Contains(s, "= ")) { return
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 5.9K bytes - Viewed (0) -
pkg/config/analysis/analyzers/multicluster/service.go
inconsistentClusters.Insert(firstCluster.String()) } slices.Sort(inconsistentReasons.UnsortedList()) errStr := "" for i, err := range inconsistentReasons.UnsortedList() { errStr += err if i < len(inconsistentReasons)-1 { errStr += "; " } } return inconsistentClusters.UnsortedList(), errStr } func compareServicePorts(a, b []corev1.ServicePort) bool { if len(a) != len(b) { return false
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Apr 02 08:32:06 UTC 2024 - 4.3K bytes - Viewed (0) -
pkg/kubelet/pluginmanager/operationexecutor/operation_generator.go
ctx, cancel := context.WithTimeout(context.Background(), notifyTimeoutDuration) defer cancel() status := ®isterapi.RegistrationStatus{ PluginRegistered: registered, Error: errStr, } if _, err := client.NotifyRegistrationStatus(ctx, status); err != nil { return fmt.Errorf("%s: %w", errStr, err) } if errStr != "" {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat Mar 16 14:21:15 UTC 2024 - 7.1K bytes - Viewed (0) -
cmd/speedtest.go
for i := 0; i < len(throughputHighestResults); i++ { errStr := "" if throughputHighestResults[i].Error != "" { errStr = throughputHighestResults[i].Error } // if the default concurrency yields zero results, throw an error. if throughputHighestResults[i].Downloads == 0 && opts.concurrencyStart == concurrency {
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Mon May 06 09:45:10 UTC 2024 - 9.2K bytes - Viewed (0) -
cmd/os-instrumented.go
var errStr string if err != nil { errStr = err.Error() } return madmin.TraceInfo{ TraceType: madmin.TraceOS, Time: startTime, NodeName: globalLocalNodeName, FuncName: "os." + s.String(), Duration: duration, Path: path, Error: errStr, } }
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Thu Feb 15 01:09:38 UTC 2024 - 6.3K bytes - Viewed (0) -
tools/istio-iptables/pkg/dependencies/implementation.go
errStr := stderr if len(errStrParts) > 1 { errStr = errStrParts[1] } return fmt.Sprintf("%v: %v", errtypeStr, strings.TrimSpace(errStr)) } return stderr } // Run runs a command func (r *RealDependencies) Run(cmd constants.IptablesCmd, iptVer *IptablesVersion, stdin io.ReadSeeker, args ...string) error { return r.executeXTables(cmd, iptVer, false, stdin, args...) }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue May 07 19:54:50 UTC 2024 - 8.2K bytes - Viewed (0) -
pkg/webhooks/validation/server/server.go
func validatePort(port int) error { if 1 <= port && port <= 65535 { return nil } return fmt.Errorf("port number %d must be in the range 1..65535", port) } // Validate tests if the Options has valid params. func (o Options) Validate() error { var errs *multierror.Error if err := validatePort(int(o.Port)); err != nil { errs = multierror.Append(errs, err) } return errs.ErrorOrNil()
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Sat May 04 06:13:56 UTC 2024 - 9.3K bytes - Viewed (0) -
src/runtime/plugin.go
package runtime import ( "internal/abi" "unsafe" ) //go:linkname plugin_lastmoduleinit plugin.lastmoduleinit func plugin_lastmoduleinit() (path string, syms map[string]any, initTasks []*initTask, errstr string) { var md *moduledata for pmd := firstmoduledata.next; pmd != nil; pmd = pmd.next { if pmd.bad { md = nil // we only want the last module continue } md = pmd } if md == nil {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 02 15:10:48 UTC 2024 - 4.4K 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) -
src/os/error.go
func (e *SyscallError) Unwrap() error { return e.Err } // Timeout reports whether this error represents a timeout. func (e *SyscallError) Timeout() bool { t, ok := e.Err.(timeout) return ok && t.Timeout() } // NewSyscallError returns, as an error, a new [SyscallError] // with the given system call name and error details. // As a convenience, if err is nil, NewSyscallError returns nil.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Feb 26 21:33:12 UTC 2024 - 4.8K bytes - Viewed (0)