Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 108 for failf (0.07 sec)

  1. android/guava/src/com/google/common/util/concurrent/ClosingFuture.java

       * pipeline is done (other than those captured by the returned {@link ClosingFuture}).
       *
       * <p>If this {@code ClosingFuture} fails with an exception of the given type, the derived {@code
       * ClosingFuture} will be equivalent to the one returned by the function.
       *
       * <p>If this {@code ClosingFuture} succeeds or fails with a different exception type, the
       * function will not be called, and the derived {@code ClosingFuture} will be equivalent to this
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue May 07 12:37:15 UTC 2024
    - 98.3K bytes
    - Viewed (0)
  2. guava/src/com/google/common/util/concurrent/ClosingFuture.java

       * pipeline is done (other than those captured by the returned {@link ClosingFuture}).
       *
       * <p>If this {@code ClosingFuture} fails with an exception of the given type, the derived {@code
       * ClosingFuture} will be equivalent to the one returned by the function.
       *
       * <p>If this {@code ClosingFuture} succeeds or fails with a different exception type, the
       * function will not be called, and the derived {@code ClosingFuture} will be equivalent to this
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Apr 01 16:15:01 UTC 2024
    - 98.7K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/util/concurrent/FuturesTest.java

        try {
          getDone(future);
          fail();
        } catch (ExecutionException expected) {
          assertSame(exception, expected.getCause());
        }
    
        try {
          getDoneFromTimeoutOverload(future);
          fail();
        } catch (ExecutionException expected) {
          assertSame(exception, expected.getCause());
        }
      }
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed May 29 16:29:37 UTC 2024
    - 144.1K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/util/concurrent/FuturesTest.java

        try {
          getDone(future);
          fail();
        } catch (ExecutionException expected) {
          assertSame(exception, expected.getCause());
        }
    
        try {
          getDoneFromTimeoutOverload(future);
          fail();
        } catch (ExecutionException expected) {
          assertSame(exception, expected.getCause());
        }
      }
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed May 29 16:29:37 UTC 2024
    - 144.1K bytes
    - Viewed (0)
  5. pkg/scheduler/framework/runtime/framework_test.go

    							Score: 4,
    						},
    						{
    							Name:  scoreWithNormalizePlugin2,
    							Score: 10,
    						},
    					},
    					TotalScore: 15,
    				},
    			},
    		},
    		{
    			name: "score fails",
    			pluginConfigs: []config.PluginConfig{
    				{
    					Name: scoreWithNormalizePlugin1,
    					Args: &runtime.Unknown{
    						Raw: []byte(`{ "scoreStatus": 1 }`),
    					},
    				},
    			},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 17 09:07:27 UTC 2024
    - 103K bytes
    - Viewed (0)
  6. pkg/apis/admissionregistration/validation/validation_test.go

    					Name:      "n",
    					Path:      strPtr("/foo"),
    					Port:      443,
    				},
    			},
    			SideEffects: &noSideEffect,
    		},
    		}, true),
    		expectedError: ``,
    	}, {
    		name: "path fails //",
    		config: newValidatingWebhookConfiguration([]admissionregistration.ValidatingWebhook{{
    			Name: "webhook.k8s.io",
    			ClientConfig: admissionregistration.WebhookClientConfig{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 10 22:07:40 UTC 2024
    - 147.1K bytes
    - Viewed (0)
  7. src/database/sql/sql_test.go

    	if err != nil {
    		t.Fatal(err)
    	}
    
    	want, fail := 2, errors.New("fail")
    	r := rows.rowsi.(*rowsCursor)
    	r.errPos, r.err = want, fail
    
    	got := 0
    	for rows.Next() {
    		got++
    	}
    	if got != want {
    		t.Errorf("got %d rows, want %d", got, want)
    	}
    	if err := rows.Err(); err != fail {
    		t.Errorf("got error %v, want %v", err, fail)
    	}
    	if !r.closed {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 18:42:28 UTC 2024
    - 111.6K bytes
    - Viewed (0)
  8. okhttp/src/test/java/okhttp3/URLConnectionTest.kt

        // TODO: write a test that shows pooled connections detect HTTP/1.0 (vs. HTTP/1.1)
        fail("TODO")
      }
    
      @Test
      @Disabled
      fun postBodiesRetransmittedOnAuthProblems() {
        fail("TODO")
      }
    
      @Test
      @Disabled
      fun cookiesAndTrailers() {
        // Do cookie headers get processed too many times?
        fail("TODO")
      }
    
      @Test
      fun emptyRequestHeaderValueIsAllowed() {
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Sat Jan 20 10:30:28 UTC 2024
    - 131.7K bytes
    - Viewed (0)
  9. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/transform/ArtifactTransformIntegrationTest.groovy

        }
    
        def "provides useful error message when registration action fails"() {
            when:
            buildFile << """
                dependencies {
                    registerTransform(FileSizer) {
                        throw new Exception("Bad registration")
                    }
                }
    """
            then:
            fails "help"
    
            and:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Nov 07 18:43:42 UTC 2023
    - 100.8K bytes
    - Viewed (0)
  10. pkg/kubelet/cm/memorymanager/policy_static_test.go

    	if err != nil {
    		panic(err)
    	}
    	return affinity
    }
    
    func TestStaticPolicyNew(t *testing.T) {
    	testCases := []testStaticPolicy{
    		{
    			description:   "should fail, when machine does not have reserved memory for the system workloads",
    			expectedError: fmt.Errorf("[memorymanager] you should specify the system reserved memory"),
    		},
    		{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Sep 17 05:49:15 UTC 2023
    - 100.4K bytes
    - Viewed (0)
Back to top