Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 53 for errstr (0.15 sec)

  1. 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)
  2. 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)
  3. 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)
  4. cmd/sftp-server-driver.go

    	var errStr string
    	if err != nil {
    		errStr = err.Error()
    	}
    	return madmin.TraceInfo{
    		TraceType: madmin.TraceFTP,
    		Time:      startTime,
    		NodeName:  globalLocalNodeName,
    		FuncName:  s.Method,
    		Duration:  time.Since(startTime),
    		Path:      s.Filepath,
    		Error:     errStr,
    		Bytes:     sz,
    		Custom: map[string]string{
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed Jun 05 07:51:13 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  5. src/runtime/os_plan9.go

    	mp.gsignal = malg(32 * 1024)
    	mp.gsignal.m = mp
    	mp.notesig = (*int8)(mallocgc(_ERRMAX, nil, true))
    	// Initialize stack for handling strings from the
    	// errstr system call, as used in package syscall.
    	mp.errstr = (*byte)(mallocgc(_ERRMAX, nil, true))
    }
    
    func sigsave(p *sigset) {
    }
    
    func msigrestore(sigmask sigset) {
    }
    
    //go:nosplit
    //go:nowritebarrierrec
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 15:41:45 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  6. 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)
  7. src/net/netip/netip_test.go

    	tests := []struct {
    		prefix string
    		errstr string
    	}{
    		{
    			prefix: "192.168.0.0",
    			errstr: "no '/'",
    		},
    		{
    			prefix: "1.257.1.1/24",
    			errstr: "value >255",
    		},
    		{
    			prefix: "1.1.1.0/q",
    			errstr: "bad bits",
    		},
    		{
    			prefix: "1.1.1.0/-1",
    			errstr: "bad bits",
    		},
    		{
    			prefix: "1.1.1.0/33",
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 17:10:01 UTC 2024
    - 54.3K bytes
    - Viewed (0)
  8. cmd/erasure-server-pool-rebalance.go

    }
    
    func auditLogRebalance(ctx context.Context, apiName, bucket, object, versionID string, err error) {
    	errStr := ""
    	if err != nil {
    		errStr = err.Error()
    	}
    	auditLogInternal(ctx, AuditLogOptions{
    		Event:     "rebalance",
    		APIName:   apiName,
    		Bucket:    bucket,
    		Object:    object,
    		VersionID: versionID,
    		Error:     errStr,
    	})
    }
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 03 15:45:54 UTC 2024
    - 27.3K bytes
    - Viewed (0)
  9. cmd/ftp-server-driver.go

    	var errStr string
    	if err != nil {
    		errStr = err.Error()
    	}
    	return madmin.TraceInfo{
    		TraceType: madmin.TraceFTP,
    		Time:      startTime,
    		NodeName:  globalLocalNodeName,
    		FuncName:  fmt.Sprintf(s.Cmd),
    		Duration:  time.Since(startTime),
    		Path:      objPath,
    		Error:     errStr,
    		Bytes:     sz,
    		Custom: map[string]string{
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 03 15:45:54 UTC 2024
    - 14K bytes
    - Viewed (0)
  10. 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)
Back to top