- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 181 for Intersections (0.26 sec)
-
android/guava-testlib/src/com/google/common/collect/testing/features/FeatureUtil.java
newRequirement, earlierRequirement), intersection(newFeatures, earlierFeatures), source); } } /** Construct a new {@link java.util.Set} that is the intersection of the given sets. */ public static <T> Set<T> intersection(Set<? extends T> set1, Set<? extends T> set2) { Set<T> result = Helpers.<T>copyToSet(set1);
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed Sep 21 15:08:35 UTC 2022 - 12.1K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ContiguousSet.java
checkNotNull(domain); Range<C> effectiveRange = range; try { if (!range.hasLowerBound()) { effectiveRange = effectiveRange.intersection(Range.atLeast(domain.minValue())); } if (!range.hasUpperBound()) { effectiveRange = effectiveRange.intersection(Range.atMost(domain.maxValue())); } } catch (NoSuchElementException e) { throw new IllegalArgumentException(e); }
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Thu Nov 30 21:54:06 UTC 2023 - 9.9K bytes - Viewed (0) -
pkg/util/sets/set_test.go
} }) } func TestIntersection(t *testing.T) { s1 := New("a", "b", "d") s2 := New("a", "b", "c") want := New("a", "b") t.Run("intersection", func(t *testing.T) { d := s1.Intersection(s2) if !d.Equals(want) { t.Errorf("want %+v, but got %+v", want, d) } }) t.Run("intersect in replace", func(t *testing.T) { s1c := s1.Copy() d := s1c.IntersectInPlace(s2)
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Sat Mar 30 05:26:03 UTC 2024 - 7.9K bytes - Viewed (0) -
pilot/pkg/config/kube/gateway/conditions.go
// We need to filter down to only ones we actually support intersection := []k8s.RouteGroupKind{} for _, s := range supported { for _, kind := range l.AllowedRoutes.Kinds { if routeGroupKindEqual(s, kind) { intersection = append(intersection, s) break } } } return intersection, len(intersection) == len(l.AllowedRoutes.Kinds) } return supported, true }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Apr 17 13:05:41 UTC 2024 - 14.4K bytes - Viewed (0) -
platforms/core-runtime/base-services/src/test/groovy/org/gradle/util/internal/CollectionUtilsTest.groovy
expect: every([1, 2, 3], { it < 4 }) !every([1, 2, 4], { it < 4 }) !every([1], { it instanceof String }) every([], { false }) } def "intersection"() { expect: intersection([collA, collB]) == collC where: collA | collB | collC [] | ["a", "b", "c"] | [] ['a', 'b', 'c'] | ["a", "b", "c"] | ['a', 'b', 'c']
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 08:48:02 UTC 2023 - 11.7K bytes - Viewed (0) -
platforms/core-configuration/base-services-groovy/src/main/java/org/gradle/api/specs/Specs.java
} public static <T> Spec<T> convertClosureToSpec(final Closure<?> closure) { return new ClosureSpec<>(closure); } /** * 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. */ @SafeVarargs @SuppressWarnings("varargs")
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 10:00:26 UTC 2023 - 5.2K bytes - Viewed (0) -
pkg/kubelet/apis/config/helpers_test.go
) func TestKubeletConfigurationPathFields(t *testing.T) { // ensure the intersection of kubeletConfigurationPathFieldPaths and KubeletConfigurationNonPathFields is empty if i := kubeletConfigurationPathFieldPaths.Intersection(kubeletConfigurationNonPathFieldPaths); len(i) > 0 { t.Fatalf("expect the intersection of kubeletConfigurationPathFieldPaths and "+ "KubeletConfigurationNonPathFields to be empty, got:\n%s",
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jun 04 06:25:43 UTC 2024 - 10.2K bytes - Viewed (0) -
platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/resolveengine/excludes/factories/CachingExcludeFactory.java
public ExcludeSpec allOf(Set<ExcludeSpec> specs) { return caches.getAllOf(new ExcludesKey(specs), key -> delegate.allOf(key.specs)); } /** * A special key which recognizes the fact union and intersection * are commutative. */ private final static class ExcludePair { private final ExcludeSpec left; private final ExcludeSpec right; private final int hashCode;
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Dec 11 13:37:56 UTC 2023 - 6.4K bytes - Viewed (0) -
platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheProcessResourcesIntegrationTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Jun 08 11:29:25 UTC 2024 - 1.8K bytes - Viewed (0) -
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)