Search Options

Results per page
Sort
Preferred Languages
Advance

Results 271 - 280 of 344 for isSuccess (0.07 sec)

  1. src/archive/zip/writer_test.go

    		if err := w.SetComment(test.comment); err != nil {
    			if test.ok {
    				t.Fatalf("SetComment: unexpected error %v", err)
    			}
    			continue
    		} else {
    			if !test.ok {
    				t.Fatalf("SetComment: unexpected success, want error")
    			}
    		}
    
    		if err := w.Close(); test.ok == (err != nil) {
    			t.Fatal(err)
    		}
    
    		if w.closed != test.ok {
    			t.Fatalf("Writer.closed: got %v, want %v", w.closed, test.ok)
    		}
    
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Mon Sep 23 14:32:33 UTC 2024
    - 14.4K bytes
    - Viewed (0)
  2. cmd/object-api-putobject_test.go

    			inputMeta: map[string]string{"etag": "900150983cd24fb0d6963f7d28e17f73"}, inputDataSize: int64(len("abcd") - 1),
    			expectedError: ioutil.ErrOverread,
    		},
    
    		// Validating for success cases.
    		10: {bucketName: bucket, objName: object, inputData: []byte("abcd"), inputMeta: map[string]string{"etag": "e2fc714c4727ee9395f324cd2e7f331f"}, inputDataSize: int64(len("abcd"))},
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Feb 22 06:26:06 UTC 2024
    - 25.8K bytes
    - Viewed (0)
  3. cmd/perf-tests.go

    					r: r,
    				}
    				n, err := xioutil.Copy(xioutil.Discard, &fbr)
    				r.Close()
    				if err == nil {
    					response := time.Since(t)
    					ttfb := time.Since(*fbr.t)
    					// Only capture success criteria - do not
    					// have to capture failed reads, truncated
    					// reads etc.
    					atomic.AddUint64(&totalBytesRead, uint64(n))
    					mu.Lock()
    					downloadTimes = append(downloadTimes, response)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 11.8K bytes
    - Viewed (0)
  4. docs/en/docs/tutorial/handling-errors.md

    In these cases, you would normally return an **HTTP status code** in the range of **400** (from 400 to 499).
    
    This is similar to the 200 HTTP status codes (from 200 to 299). Those "200" status codes mean that somehow there was a "success" in the request.
    
    The status codes in the 400 range mean that there was an error from the client.
    
    Remember all those **"404 Not Found"** errors (and jokes)?
    
    ## Use `HTTPException`
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  5. docs/metrics/prometheus/grafana/minio-dashboard.json

              "interval": "1m",
              "intervalFactor": 2,
              "legendFormat": "KMS Request Success [{{server}}]",
              "refId": "A"
            }
          ],
          "title": "KMS Request Success Rate ",
          "type": "timeseries"
        },
        {
          "datasource": {
            "type": "prometheus",
            "uid": "${DS_PROMETHEUS}"
          },
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Jul 24 14:51:03 UTC 2024
    - 93K bytes
    - Viewed (0)
  6. src/archive/tar/writer_test.go

    		}
    		if header.Typeflag != TypeReg {
    			t.Fatalf("Typeflag should've been %d, found %d", TypeReg, header.Typeflag)
    		}
    	}
    }
    
    // failOnceWriter fails exactly once and then always reports success.
    type failOnceWriter bool
    
    func (w *failOnceWriter) Write(b []byte) (int, error) {
    	if !*w {
    		return 0, io.ErrShortWrite
    	}
    	*w = true
    	return len(b), nil
    }
    
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Mon Sep 23 14:32:33 UTC 2024
    - 39.4K bytes
    - Viewed (0)
  7. cmd/encryption-v1.go

    // It returns the client provided key on success.
    func ParseSSECustomerRequest(r *http.Request) (key []byte, err error) {
    	return ParseSSECustomerHeader(r.Header)
    }
    
    // ParseSSECustomerHeader parses the SSE-C header fields and returns
    // the client provided key on success.
    func ParseSSECustomerHeader(header http.Header) (key []byte, err error) {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Oct 13 13:06:08 UTC 2024
    - 37.2K bytes
    - Viewed (0)
  8. cmd/signature-v4.go

    	// Verify signature.
    	if !compareSignatureV4(newSignature, formValues.Get(xhttp.AmzSignature)) {
    		return cred, ErrSignatureDoesNotMatch
    	}
    
    	// Success.
    	return cred, ErrNone
    }
    
    // doesPresignedSignatureMatch - Verify query headers with presigned signature
    //   - http://docs.aws.amazon.com/AmazonS3/latest/API/sigv4-query-string-auth.html
    //
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu May 16 23:13:47 UTC 2024
    - 12.4K bytes
    - Viewed (0)
  9. src/main/webapp/css/bootstrap.min.css.map

    {\n  background-color: #c8cbcf;\n}\n\n.table-hover .table-secondary:hover > td,\n.table-hover .table-secondary:hover > th {\n  background-color: #c8cbcf;\n}\n\n.table-success,\n.table-success > th,\n.table-success > td {\n  background-color: #c3e6cb;\n}\n\n.table-success th,\n.table-success td,\n.table-success thead th,\n.table-success tbody + tbody {\n  border-color: #8fd19e;\n}\n\n.table-hover .table-success:hover {\n  background-color: #b1dfbb;\n}\n\n.table-hover .table-success:hover > td,\n.table-hover...
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 13 04:21:06 UTC 2020
    - 626.8K bytes
    - Viewed (0)
  10. src/cmd/asm/internal/arch/arm64.go

    	switch op {
    	case arm64.ACASPD, arm64.ACASPW:
    		return true
    	}
    	return false
    }
    
    // ARM64Suffix handles the special suffix for the ARM64.
    // It returns a boolean to indicate success; failure means
    // cond was unrecognized.
    func ARM64Suffix(prog *obj.Prog, cond string) bool {
    	if cond == "" {
    		return true
    	}
    	bits, ok := parseARM64Suffix(cond)
    	if !ok {
    		return false
    	}
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Thu Sep 29 09:04:58 UTC 2022
    - 10.4K bytes
    - Viewed (0)
Back to top