Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 85 for isSuperset (0.11 sec)

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

        expectUnchanged();
      }
    
      // retainAll(superset)
    
      @CollectionFeature.Require(SUPPORTS_REMOVE)
      public void testRetainAll_superset() {
        expectReturnsFalse(superset);
        expectUnchanged();
      }
    
      @CollectionFeature.Require(absent = SUPPORTS_REMOVE)
      public void testRetainAll_supersetUnsupported() {
        expectReturnsFalseOrThrows(superset);
        expectUnchanged();
      }
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Feb 20 17:00:05 UTC 2024
    - 10.5K bytes
    - Viewed (0)
  2. pkg/volume/volume_linux.go

    	// We need to check if actual permissions of root directory is a superset of permissions required by unixPerms.
    	// This is done by checking if permission bits expected in unixPerms is set in actual permissions of the directory.
    	// We use bitwise AND operation to check set bits. For example:
    	//     unixPerms: 770, filePerms: 775 : 770&775 = 770 (perms on directory is a superset)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 03 19:34:37 UTC 2023
    - 6.5K bytes
    - Viewed (0)
  3. cni/pkg/ipset/ipset.go

    	listEntriesByIP(name string) ([]netip.Addr, error)
    }
    
    // TODO this should actually create v6 and v6 subsets of type `hash:ip`, add them both to a
    // superset of type `list:set` - we can then query the superset directly in iptables (with the same rule),
    // and iptables will be smart enough to pick the correct underlying set (v4 or v6, based on context),
    // reducing the # of rules we need.
    //
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 30 22:24:38 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  4. plugin/pkg/admission/podnodeselector/admission.go

    		if err != nil {
    			return labels.Set{}, err
    		}
    	}
    	return selector, nil
    }
    
    func isSubset(subSet, superSet labels.Set) bool {
    	if len(superSet) == 0 {
    		return true
    	}
    
    	for k, v := range subSet {
    		value, ok := superSet[k]
    		if !ok {
    			return false
    		}
    		if value != v {
    			return false
    		}
    	}
    	return true
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jul 26 17:14:05 UTC 2022
    - 8.3K bytes
    - Viewed (0)
  5. src/image/color/ycbcr_test.go

    			}
    		}
    	}
    }
    
    // TestYCbCrGray tests that YCbCr colors are a superset of Gray colors.
    func TestYCbCrGray(t *testing.T) {
    	for i := 0; i < 256; i++ {
    		c0 := YCbCr{uint8(i), 0x80, 0x80}
    		c1 := Gray{uint8(i)}
    		if err := eq(c0, c1); err != nil {
    			t.Errorf("i=0x%02x:\n%v", i, err)
    		}
    	}
    }
    
    // TestNYCbCrAAlpha tests that NYCbCrA colors are a superset of Alpha colors.
    func TestNYCbCrAAlpha(t *testing.T) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Oct 25 07:51:17 UTC 2016
    - 7.3K bytes
    - Viewed (0)
  6. test/typeparam/mdempsky/13.go

    // license that can be found in the LICENSE file.
    
    package main
    
    // Interface which will be used as a regular interface type and as a type bound.
    type Mer interface{
    	M()
    }
    
    // Interface that is a superset of Mer.
    type Mer2 interface {
    	M()
    	String() string
    }
    
    func F[T Mer](t T) {
    	T.M(t)
    	t.M()
    }
    
    type MyMer int
    
    func (MyMer) M() {}
    func (MyMer) String() string {
    	return "aa"
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 14 17:55:47 UTC 2022
    - 1.4K bytes
    - Viewed (0)
  7. platforms/software/dependency-management/src/main/java/org/gradle/internal/component/model/LoggingAttributeMatchingExplanationBuilder.java

        }
    
        @Override
        public <T extends HasAttributes> void candidateIsSuperSetOfAllOthers(T candidate) {
            LOGGER.debug("Candidate {} selected because its attributes are a superset of all other candidate attributes", candidate);
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 3K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/math/MathTesting.java

      }
    
      /*
       * This list contains values that attempt to provoke overflow in long operations. It contains
       * positive values on or near 2^N for N near multiples of 8 (near byte boundaries). This list is
       * a superset of POSITIVE_INTEGER_CANDIDATES.
       */
      static final ImmutableSet<Long> POSITIVE_LONG_CANDIDATES;
    
      static final Iterable<Long> NEGATIVE_LONG_CANDIDATES;
    
      static final Iterable<Long> NONZERO_LONG_CANDIDATES;
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Oct 10 19:45:10 UTC 2022
    - 11.2K bytes
    - Viewed (0)
  9. guava-testlib/src/com/google/common/collect/testing/testers/ListRetainAllTester.java

      public void testRetainAll_duplicatesKept() {
        E[] array = createSamplesArray();
        array[1] = e0();
        collection = getSubjectGenerator().create(array);
        assertFalse(
            "containsDuplicates.retainAll(superset) should return false",
            collection.retainAll(MinimalCollection.of(createSamplesArray())));
        expectContents(array);
      }
    
      @CollectionFeature.Require(SUPPORTS_REMOVE)
      @CollectionSize.Require(SEVERAL)
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Feb 20 17:00:05 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  10. android/guava-testlib/src/com/google/common/collect/testing/testers/ListRetainAllTester.java

      public void testRetainAll_duplicatesKept() {
        E[] array = createSamplesArray();
        array[1] = e0();
        collection = getSubjectGenerator().create(array);
        assertFalse(
            "containsDuplicates.retainAll(superset) should return false",
            collection.retainAll(MinimalCollection.of(createSamplesArray())));
        expectContents(array);
      }
    
      @CollectionFeature.Require(SUPPORTS_REMOVE)
      @CollectionSize.Require(SEVERAL)
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Feb 20 17:00:05 UTC 2024
    - 2.9K bytes
    - Viewed (0)
Back to top