Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for EXPECTED (0.17 sec)

  1. cmd/object-handlers_test.go

    		// ServeHTTP to execute the logic of the handler.
    		apiRouter.ServeHTTP(rec, req)
    
    		isEnc := false
    		expected := 200
    		if strings.HasPrefix(input.objectName, "enc-") {
    			isEnc = true
    			expected = 400
    		}
    		if rec.Code != expected {
    			t.Errorf("Test %d: expected code %d but got %d for object %s", i+1, expected, rec.Code, input.objectName)
    		}
    
    		contentLength := rec.Header().Get("Content-Length")
    		if isEnc {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 160K bytes
    - Viewed (0)
  2. okhttp/src/test/java/okhttp3/CallTest.kt

          requestBuilder.url("ftp://hostname/path")
        }.also { expected ->
          assertThat(expected.message).isEqualTo("Expected URL scheme 'http' or 'https' but was 'ftp'")
        }
      }
    
      @Test
      fun invalidPort() {
        val requestBuilder = Request.Builder()
        assertFailsWith<IllegalArgumentException> {
          requestBuilder.url("http://localhost:65536/")
        }.also { expected ->
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Wed Apr 10 19:46:48 GMT 2024
    - 142.5K bytes
    - Viewed (0)
  3. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/diagnostics/KtFirDataClassConverters.kt

            SupertypeInitializedInExpectedClassImpl(
                firDiagnostic as KtPsiDiagnostic,
                token,
            )
        }
        add(FirErrors.EXPECTED_PRIVATE_DECLARATION) { firDiagnostic ->
            ExpectedPrivateDeclarationImpl(
                firDiagnostic as KtPsiDiagnostic,
                token,
            )
        }
        add(FirErrors.EXPECTED_EXTERNAL_DECLARATION) { firDiagnostic ->
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Wed Apr 24 09:49:26 GMT 2024
    - 208.3K bytes
    - Viewed (0)
  4. tensorflow/c/c_api.cc

        const auto tensor_interface =
            tensorflow::down_cast<const tensorflow::TensorInterface*>(src->tensor);
    
        if (dst->dims() != 0) {
          return InvalidArgument(
              "Malformed TF_RESOURCE tensor: expected a scalar, got a tensor with "
              "shape ",
              dst->shape().DebugString());
        }
        *dst = tensorflow::Tensor(tensorflow::DT_RESOURCE, dst->shape());
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Apr 15 03:35:10 GMT 2024
    - 102.3K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/util/concurrent/ClosingFuture.java

       *     prefer more specific types, avoiding {@code Throwable.class} in particular.
       * @param fallback the function to be called if this step fails with the expected exception type.
       *     The function's argument is this step's exception. "This step's exception" means the cause
       *     of the {@link ExecutionException} thrown by {@link Future#get()} on the {@link Future}
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 98.5K bytes
    - Viewed (0)
  6. cmd/admin-handlers.go

    	capacity := GetTotalUsableCapacityFree(storageInfo.Disks, storageInfo)
    
    	if capacity < capacityNeeded {
    		return false, false, fmt.Sprintf("not enough usable space available to perform speedtest - expected %s, got %s",
    			humanize.IBytes(capacityNeeded), humanize.IBytes(capacity))
    	}
    
    	// Verify if we can employ autotune without running out of capacity,
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Apr 29 17:39:04 GMT 2024
    - 97.8K bytes
    - Viewed (2)
  7. cmd/object-handlers.go

    var getRemoteInstanceClient = func(r *http.Request, host string) (*miniogo.Core, error) {
    	cred := getReqAccessCred(r, globalSite.Region)
    	// In a federated deployment, all the instances share config files
    	// and hence expected to have same credentials.
    	core, err := miniogo.NewCore(host, &miniogo.Options{
    		Creds:     credentials.NewStaticV4(cred.AccessKey, cred.SecretKey, ""),
    		Secure:    globalIsTLS,
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu May 02 20:15:54 GMT 2024
    - 125.2K bytes
    - Viewed (0)
  8. cmd/site-replication.go

    			nonLocalPeerWithBuckets = v.Name
    		}
    	}
    	if selfIdx == -1 {
    		return madmin.ReplicateAddStatus{}, errSRBackendIssue(fmt.Errorf("global deployment ID %s mismatch, expected one of %s", globalDeploymentID(), deploymentIDsSet))
    	}
    	if !currDeploymentIDsSet.IsEmpty() {
    		// If current cluster is already SR enabled and no new site being added ,fail.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 01:09:56 GMT 2024
    - 184.2K bytes
    - Viewed (1)
  9. cmd/bucket-replication.go

    func (p *ReplicationPool) ActiveMRFWorkers() int {
    	return int(atomic.LoadInt32(&p.activeMRFWorkers))
    }
    
    // ResizeWorkers sets replication workers pool to new size.
    // checkOld can be set to an expected value.
    // If the worker count changed
    func (p *ReplicationPool) ResizeWorkers(n, checkOld int) {
    	p.mu.Lock()
    	defer p.mu.Unlock()
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 01:09:56 GMT 2024
    - 112.2K bytes
    - Viewed (1)
  10. android/guava/src/com/google/common/collect/Maps.java

          K extends @Nullable Object, V1 extends @Nullable Object, V2 extends @Nullable Object> {
        /**
         * Determines an output value based on a key-value pair. This method is <i>generally
         * expected</i>, but not absolutely required, to have the following properties:
         *
         * <ul>
         *   <li>Its execution does not cause any observable side effects.
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 159.6K bytes
    - Viewed (0)
Back to top