Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 186 for Intersections (0.65 sec)

  1. android/guava/src/com/google/common/collect/RegularContiguousSet.java

        super(domain);
        this.range = range;
      }
    
      private ContiguousSet<C> intersectionInCurrentDomain(Range<C> other) {
        return range.isConnected(other)
            ? ContiguousSet.create(range.intersection(other), domain)
            : new EmptyContiguousSet<C>(domain);
      }
    
      @Override
      ContiguousSet<C> headSetImpl(C toElement, boolean inclusive) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 22 21:19:52 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  2. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/ivyservice/resolveengine/excludes/factories/NormalizingExcludeFactoryTest.groovy

            group("foo") | group("bar") | group("baz") | groupSet("foo", "bar", "baz")
        }
    
        @Unroll("#left ∩ #right = #expected")
        def "intersection of two elements"() {
            expect:
            factory.allOf(left, right) == expected
    
            and: "intersection is commutative"
            factory.allOf(right, left) == expected
    
            where:
            left                               | right                 | expected
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 17K bytes
    - Viewed (0)
  3. android/guava-testlib/src/com/google/common/collect/testing/MapTestSuiteBuilder.java

        }
        // add the intersection of CollectionFeature.values() and mapFeatures
        for (CollectionFeature feature : CollectionFeature.values()) {
          if (mapFeatures.contains(feature)) {
            derivedFeatures.add(feature);
          }
        }
        // add the intersection of CollectionSize.values() and mapFeatures
        for (CollectionSize size : CollectionSize.values()) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Feb 26 19:46:10 UTC 2024
    - 11K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/ImmutableRangeMap.java

            Range<K> range = entries.get(i).getKey();
            if (i > 0) {
              Range<K> prevRange = entries.get(i - 1).getKey();
              if (range.isConnected(prevRange) && !range.intersection(prevRange).isEmpty()) {
                throw new IllegalArgumentException(
                    "Overlapping ranges: range " + prevRange + " overlaps with entry " + range);
              }
            }
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Sun Jun 02 13:36:19 UTC 2024
    - 14.4K bytes
    - Viewed (0)
  5. guava/src/com/google/common/collect/RegularContiguousSet.java

        super(domain);
        this.range = range;
      }
    
      private ContiguousSet<C> intersectionInCurrentDomain(Range<C> other) {
        return range.isConnected(other)
            ? ContiguousSet.create(range.intersection(other), domain)
            : new EmptyContiguousSet<C>(domain);
      }
    
      @Override
      ContiguousSet<C> headSetImpl(C toElement, boolean inclusive) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 22 21:19:52 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  6. analysis/analysis-api/src/org/jetbrains/kotlin/analysis/api/components/KtOverrideInfoProvider.kt

         * in `A` that takes the type parameter `T` (fake override). Given such a fake override symbol, [unwrapFakeOverrides] recovers the
         * original declared symbol.
         *
         * Such situation can also happen for intersection symbols (in case of multiple super types containing symbols with identical signature
         * after specialization) and delegation.
         */
        public val KaCallableSymbol.unwrapFakeOverrides: KaCallableSymbol
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed May 22 06:28:35 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  7. guava/src/com/google/common/collect/ImmutableRangeMap.java

            Range<K> range = entries.get(i).getKey();
            if (i > 0) {
              Range<K> prevRange = entries.get(i - 1).getKey();
              if (range.isConnected(prevRange) && !range.intersection(prevRange).isEmpty()) {
                throw new IllegalArgumentException(
                    "Overlapping ranges: range " + prevRange + " overlaps with entry " + range);
              }
            }
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Sat May 04 14:31:50 UTC 2024
    - 14.8K bytes
    - Viewed (0)
  8. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/resolveengine/strict/StrictVersionConstraints.java

            if (other.modules == modules) {
                return this;
            }
            if (other == EMPTY) {
                return EMPTY;
            }
            return of(ImmutableSet.copyOf(Sets.intersection(modules, other.modules)));
        }
    
        @Override
        public String toString() {
            return "modules=" + modules;
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 3.2K bytes
    - Viewed (0)
  9. platforms/ide/tooling-api/src/testFixtures/groovy/org/gradle/integtests/tooling/fixture/Specs.java

                return false;
            }
        };
    
        public static <T> Spec<T> satisfyNone() {
            return Cast.uncheckedCast(SATISFIES_NONE);
        }
    
        /**
         * Returns a spec that selects the intersection of those items selected by the given specs. Returns a spec that selects everything when no specs provided.
         */
        public static <T> Spec<T> intersect(Collection<? extends Spec<T>> specs) {
            if (specs.size() == 0) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:20 UTC 2023
    - 3.2K bytes
    - Viewed (0)
  10. src/image/image.go

    func (p *RGBA) SubImage(r Rectangle) Image {
    	r = r.Intersect(p.Rect)
    	// If r1 and r2 are Rectangles, r1.Intersect(r2) is not guaranteed to be inside
    	// either r1 or r2 if the intersection is empty. Without explicitly checking for
    	// this, the Pix[i:] expression below can panic.
    	if r.Empty() {
    		return &RGBA{}
    	}
    	i := p.PixOffset(r.Min.X, r.Min.Y)
    	return &RGBA{
    		Pix:    p.Pix[i:],
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 12:02:45 UTC 2023
    - 34.9K bytes
    - Viewed (0)
Back to top