Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 262 for ErrorIs (0.2 sec)

  1. cmd/erasure-server-pool.go

    						res = append(res, disk)
    					}
    				}
    			}
    		}
    	}
    	return res
    }
    
    // GetRawData will return all files with a given raw path to the callback.
    // Errors are ignored, only errors from the callback are returned.
    // For now only direct file paths are supported.
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu May 30 11:58:12 UTC 2024
    - 82.5K bytes
    - Viewed (0)
  2. src/bufio/bufio_test.go

    				}
    				return 5, errors.New("5-then-error")
    			}),
    			n:            4,
    			want:         4,
    			wantErr:      nil,
    			wantBuffered: 1,
    		},
    		{
    			name: "fill error, discard equal",
    			r: newScriptedReader(func(p []byte) (n int, err error) {
    				if len(p) < 5 {
    					panic("unexpected small read")
    				}
    				return 5, errors.New("5-then-error")
    			}),
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 10 18:56:01 UTC 2023
    - 51.5K bytes
    - Viewed (0)
  3. src/crypto/tls/handshake_client_test.go

    	sentinelErr := errors.New("TestVerifyPeerCertificate")
    
    	verifyPeerCertificateCallback := func(called *bool, rawCerts [][]byte, validatedChains [][]*x509.Certificate) error {
    		if l := len(rawCerts); l != 1 {
    			return fmt.Errorf("got len(rawCerts) = %d, wanted 1", l)
    		}
    		if len(validatedChains) == 0 {
    			return errors.New("got len(validatedChains) = 0, wanted non-zero")
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:10:12 UTC 2024
    - 88.7K bytes
    - Viewed (0)
  4. docs/metrics/prometheus/grafana/minio-dashboard.json

                ]
              },
              "unit": "none"
            },
            "overrides": [
              {
                "matcher": {
                  "id": "byName",
                  "options": "S3 Errors"
                },
                "properties": [
                  {
                    "id": "color",
                    "value": {
                      "fixedColor": "light-red",
                      "mode": "fixed"
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Apr 15 10:03:01 UTC 2024
    - 93K bytes
    - Viewed (0)
  5. src/cmd/go/go_test.go

    	tooSlow(t, "links and runs a test")
    
    	tg := testgo(t)
    	defer tg.cleanup()
    	tg.parallel()
    	tg.run("test", "errors", "errors", "errors", "errors", "errors")
    	if strings.Contains(strings.TrimSpace(tg.getStdout()), "\n") {
    		t.Error("go test errors errors errors errors errors tested the same package multiple times")
    	}
    }
    
    func TestGoListHasAConsistentOrder(t *testing.T) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 81.1K bytes
    - Viewed (0)
  6. kotlin-js-store/yarn.lock

      integrity sha512-F/1DnUGPopORZi0ni+CvrCgHQ5FyEAHRLSApuYWMmrbSwoN2Mn/7k+Gl38gJnR7yyDZk6WLXwiGod1JOWNDKGw==
    
    http-errors@2.0.0:
      version "2.0.0"
      resolved "https://registry.yarnpkg.com/http-errors/-/http-errors-2.0.0.tgz#b7774a1486ef73cf7667ac9ae0858c012c57b9d3"
      integrity sha512-FtwrG/euBzaEjYeRqOgly7G0qviiXoJWnvEH2Z1plBdXgbyjv34pHTSb9zoeHMyDy33+DWy5Wt9Wo+TURtOYSQ==
      dependencies:
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Sat Jul 22 12:28:51 UTC 2023
    - 87.4K bytes
    - Viewed (0)
  7. src/os/os_test.go

    	wg.Add(3)
    
    	go func() {
    		defer wg.Done()
    		for {
    			n, err := w.Write([]byte("hi"))
    			if err != nil {
    				// We look at error strings as the
    				// expected errors are OS-specific.
    				switch {
    				case errors.Is(err, ErrClosed),
    					strings.Contains(err.Error(), "broken pipe"),
    					strings.Contains(err.Error(), "pipe is being closed"),
    					strings.Contains(err.Error(), "hungup channel"):
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 83.1K bytes
    - Viewed (0)
  8. src/net/dnsclient_unix_test.go

    }
    
    // TestNoSuchHost verifies that tryOneName works correctly when the domain does
    // not exist.
    //
    // Issue 12778: verify that NXDOMAIN without RA bit errors as "no such host"
    // and not "server misbehaving"
    //
    // Issue 25336: verify that NXDOMAIN errors fail fast.
    //
    // Issue 27525: verify that empty answers fail fast.
    func TestNoSuchHost(t *testing.T) {
    	tests := []struct {
    		name string
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sun Apr 14 18:23:45 UTC 2024
    - 72.4K bytes
    - Viewed (0)
  9. cmd/batch-handlers.go

    		format = batchKeyRotationFormat
    	case job.Expire != nil:
    		version = batchExpireVersionV1
    		format = batchExpireFormat
    	default:
    		return errors.New("no supported batch job request specified")
    	}
    	data, err := readConfig(ctx, api, getJobReportPath(job))
    	if err != nil {
    		if errors.Is(err, errConfigNotFound) || isErrObjectNotFound(err) {
    			ri.Version = int(version)
    			switch {
    			case job.Replicate != nil:
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue Jun 11 03:13:30 UTC 2024
    - 56K bytes
    - Viewed (0)
  10. pkg/controller/podautoscaler/horizontal.go

    )
    
    var (
    	// errSpec is used to determine if the error comes from the spec of HPA object in reconcileAutoscaler.
    	// All such errors should have this error as a root error so that the upstream function can distinguish spec errors from internal errors.
    	// e.g., fmt.Errorf("invalid spec%w", errSpec)
    	errSpec error = errors.New("")
    )
    
    type timestampedRecommendation struct {
    	recommendation int32
    	timestamp      time.Time
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 63.6K bytes
    - Viewed (0)
Back to top