Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 186 for errstr (0.13 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. src/net/netip/netip_pkg_test.go

    		},
    	}
    	for _, test := range tests {
    		t.Run(test.ip, func(t *testing.T) {
    			_, err := ParseAddr(test.ip)
    			if err == nil {
    				t.Fatal("no error")
    			}
    			if _, ok := err.(parseAddrError); !ok {
    				t.Errorf("error type is %T, want parseIPError", err)
    			}
    			if test.errstr == "" {
    				test.errstr = "unable to parse IP"
    			}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 02 15:37:19 UTC 2023
    - 9K bytes
    - Viewed (0)
  6. src/cmd/go/internal/modget/query.go

    	if patternRE.MatchString(errStr) {
    		if q.rawVersion == "" {
    			base.Errorf("go: %s", errStr)
    			return
    		}
    
    		versionRE := regexp.MustCompile("(?m)(?:[ @(\"`]|^)" + regexp.QuoteMeta(q.version) + "(?:[ :;)\"`]|$)")
    		if versionRE.MatchString(errStr) {
    			base.Errorf("go: %s", errStr)
    			return
    		}
    	}
    
    	if qs := q.String(); qs != "" {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Nov 27 15:48:25 UTC 2023
    - 11.2K bytes
    - Viewed (0)
  7. 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)
  8. pkg/kubelet/pluginmanager/operationexecutor/operation_generator.go

    	ctx, cancel := context.WithTimeout(context.Background(), notifyTimeoutDuration)
    	defer cancel()
    
    	status := &registerapi.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)
  9. 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)
  10. cmd/perf-tests.go

    	delta := globalNetPerfRX.firstToDisconnect.Sub(globalNetPerfRX.lastToConnect)
    	if delta < 0 {
    		rx = 0
    		errStr = "network disconnection issues detected"
    	}
    
    	globalNetPerfRX.Reset()
    	return madmin.NetperfNodeResult{Endpoint: "", TX: r.n / uint64(duration.Seconds()), RX: uint64(rx / delta.Seconds()), Error: errStr}
    }
    
    func siteNetperf(ctx context.Context, duration time.Duration) madmin.SiteNetPerfNodeResult {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 11.8K bytes
    - Viewed (0)
Back to top