Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 40 for tolerated (2.1 sec)

  1. android/guava-testlib/src/com/google/common/collect/testing/google/AbstractMultisetSetCountTester.java

        try {
          assertSetCount(null, 0);
        } catch (UnsupportedOperationException tolerated) {
        }
      }
    
      @CollectionFeature.Require(absent = ALLOWS_NULL_VALUES)
      public void testSetCount_noOpNull_nullUnsupported() {
        try {
          assertSetCount(null, 0);
        } catch (NullPointerException | UnsupportedOperationException tolerated) {
        }
      }
    
      @CollectionSize.Require(absent = ZERO)
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Feb 21 16:49:06 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  2. guava-testlib/src/com/google/common/collect/testing/google/AbstractMultisetSetCountTester.java

        try {
          assertSetCount(null, 0);
        } catch (UnsupportedOperationException tolerated) {
        }
      }
    
      @CollectionFeature.Require(absent = ALLOWS_NULL_VALUES)
      public void testSetCount_noOpNull_nullUnsupported() {
        try {
          assertSetCount(null, 0);
        } catch (NullPointerException | UnsupportedOperationException tolerated) {
        }
      }
    
      @CollectionSize.Require(absent = ZERO)
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Feb 21 16:49:06 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  3. pkg/controller/tainteviction/taint_eviction_test.go

    	}
    
    	// no taint -> infinitely tolerated taint
    	nodeIndexer.Update(singleTaintedNode)
    	controller.handleNodeUpdate(ctx, nodeUpdateItem{"node1"})
    	// verify pod is not queued for deletion
    	if controller.taintEvictionQueue.GetWorkerUnsafe(podNamespacedName.String()) != nil {
    		t.Fatalf("pod queued for deletion with permanently tolerated taint")
    	}
    
    	// infinitely tolerated taint -> temporarily tolerated taint
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 25 14:24:16 UTC 2024
    - 31.3K bytes
    - Viewed (0)
  4. guava-testlib/src/com/google/common/collect/testing/MapInterfaceTest.java

        if (supportsRemove) {
          try {
            entrySet.retainAll(null);
            // Returning successfully is not ideal, but tolerated.
          } catch (NullPointerException tolerated) {
          }
        } else {
          try {
            entrySet.retainAll(null);
            // We have to tolerate a successful return (Sun bug 4802647)
          } catch (UnsupportedOperationException | NullPointerException e) {
            // Expected.
          }
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Feb 21 16:49:06 UTC 2024
    - 45.9K bytes
    - Viewed (0)
  5. pkg/scheduler/framework/plugins/tainttoleration/taint_toleration_test.go

    			expectedList: []framework.NodeScore{
    				{Name: "nodeA", Score: framework.MaxNodeScore},
    				{Name: "nodeB", Score: 0},
    			},
    		},
    		// the count of taints that are tolerated by pod, does not matter.
    		{
    			name: "the nodes that all of their taints are tolerated by the pod, get the same score, no matter how many tolerable taints a node has",
    			pod: podWithTolerations("pod1", []v1.Toleration{
    				{
    					Key:      "cpu-type",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 13:26:09 UTC 2024
    - 17.5K bytes
    - Viewed (0)
  6. platforms/jvm/code-quality/src/main/groovy/org/gradle/api/plugins/quality/Checkstyle.java

        /**
         * The maximum number of errors that are tolerated before breaking the build
         * or setting the failure property.
         *
         * @return the maximum number of errors allowed
         * @since 3.4
         */
        @Input
        public int getMaxErrors() {
            return maxErrors;
        }
    
        /**
         * Set the maximum number of errors that are tolerated before breaking the build.
         *
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Jul 19 14:14:12 UTC 2023
    - 11.5K bytes
    - Viewed (0)
  7. android/guava-testlib/src/com/google/common/collect/testing/MapInterfaceTest.java

        if (supportsRemove) {
          try {
            entrySet.retainAll(null);
            // Returning successfully is not ideal, but tolerated.
          } catch (NullPointerException tolerated) {
          }
        } else {
          try {
            entrySet.retainAll(null);
            // We have to tolerate a successful return (Sun bug 4802647)
          } catch (UnsupportedOperationException | NullPointerException e) {
            // Expected.
          }
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Feb 21 16:49:06 UTC 2024
    - 45.9K bytes
    - Viewed (0)
  8. pkg/apis/core/v1/helper/helpers.go

    func GetMatchingTolerations(taints []v1.Taint, tolerations []v1.Toleration) (bool, []v1.Toleration) {
    	if len(taints) == 0 {
    		return true, []v1.Toleration{}
    	}
    	if len(tolerations) == 0 && len(taints) > 0 {
    		return false, []v1.Toleration{}
    	}
    	result := []v1.Toleration{}
    	for i := range taints {
    		tolerated := false
    		for j := range tolerations {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 30 23:03:54 UTC 2024
    - 11.4K bytes
    - Viewed (0)
  9. android/guava-testlib/src/com/google/common/collect/testing/testers/CollectionRetainAllTester.java

      @CollectionSize.Require(ZERO)
      public void testRetainAll_nullCollectionReferenceEmptySubject() {
        try {
          collection.retainAll(null);
          // Returning successfully is not ideal, but tolerated.
        } catch (NullPointerException tolerated) {
        }
      }
    
      @CollectionFeature.Require(SUPPORTS_REMOVE)
      @CollectionSize.Require(absent = ZERO)
      public void testRetainAll_nullCollectionReferenceNonEmptySubject() {
        try {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Feb 20 17:00:05 UTC 2024
    - 10.5K bytes
    - Viewed (0)
  10. guava-testlib/src/com/google/common/collect/testing/testers/CollectionRetainAllTester.java

      @CollectionSize.Require(ZERO)
      public void testRetainAll_nullCollectionReferenceEmptySubject() {
        try {
          collection.retainAll(null);
          // Returning successfully is not ideal, but tolerated.
        } catch (NullPointerException tolerated) {
        }
      }
    
      @CollectionFeature.Require(SUPPORTS_REMOVE)
      @CollectionSize.Require(absent = ZERO)
      public void testRetainAll_nullCollectionReferenceNonEmptySubject() {
        try {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Feb 20 17:00:05 UTC 2024
    - 10.5K bytes
    - Viewed (0)
Back to top