- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 65 for errstr (0.14 sec)
-
src/plugin/plugin_dlopen.go
} if plugins == nil { plugins = make(map[string]*Plugin) } pluginpath, syms, initTasks, errstr := lastmoduleinit() if errstr != "" { plugins[filepath] = &Plugin{ pluginpath: pluginpath, err: errstr, } pluginsMu.Unlock() return nil, errors.New(`plugin.Open("` + name + `"): ` + errstr) } // This function can be called from the init function of a plugin.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Apr 14 16:55:22 UTC 2023 - 3.9K bytes - Viewed (0) -
pilot/pkg/util/network/ip_test.go
errStr: "", lookup: MockLookupIPAddrIPv6, }, } for _, tc := range testCases { actual, err := ResolveAddr(tc.input, tc.lookup) if err != nil { if tc.errStr == "" { t.Errorf("[%s] expected success, but saw error: %v", tc.name, err) } else if !strings.Contains(err.Error(), tc.errStr) { t.Errorf("[%s] expected error %q, got %q", tc.name, tc.errStr, err.Error()) } } else {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Dec 08 16:24:15 UTC 2022 - 6.7K bytes - Viewed (0) -
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) -
logger/logger.go
if l.LogLevel >= Warn { l.Printf(l.warnStr+msg, append([]interface{}{utils.FileWithLineNum()}, data...)...) } } // Error print error messages func (l *logger) Error(ctx context.Context, msg string, data ...interface{}) { if l.LogLevel >= Error { l.Printf(l.errStr+msg, append([]interface{}{utils.FileWithLineNum()}, data...)...) } } // Trace print sql message // //nolint:cyclop
Registered: Wed Jun 12 16:27:09 UTC 2024 - Last Modified: Tue Nov 07 02:19:41 UTC 2023 - 5.8K bytes - Viewed (0) -
src/net/netip/netip_pkg_test.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Feb 02 15:37:19 UTC 2023 - 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) -
test/fixedbugs/issue32187.go
} for _, tc := range tests { testFuncShouldPanic(tc.name, tc.errStr, tc.f) } } func testFuncShouldPanic(name, want string, f func()) { defer func() { e := recover() if e == nil { log.Fatalf("%s: comparison did not panic\n", name) } if have := e.(error).Error(); !strings.Contains(have, want) { log.Fatalf("%s: wrong panic message: have %q, want %q\n", name, have, want)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jul 19 23:02:39 UTC 2022 - 1.5K bytes - Viewed (0) -
src/runtime/sys_plan9_386.s
TEXT runtime·setfpmasks(SB),NOSPLIT,$0 RET #define ERRMAX 128 /* from os_plan9.h */ // void errstr(int8 *buf, int32 len) TEXT errstr<>(SB),NOSPLIT,$0 MOVL $41, AX INT $64 RET // func errstr() string // Only used by package syscall. // Grab error string due to a syscall made // in entersyscall mode, without going // through the allocator (issue 4994).
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 21 22:12:04 UTC 2021 - 4.5K bytes - Viewed (0)