- Sort Score
- Result 10 results
- Languages All
Results 71 - 80 of 200 for Intersections (0.14 sec)
-
guava-testlib/src/com/google/common/collect/testing/google/MultisetSetCountConditionallyTester.java
} /* * TODO: test that unmodifiable multisets either throw UOE or return false * when both are valid options. Currently we test the UOE cases and the * return-false cases but not their intersection */
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed Sep 21 15:08:35 UTC 2022 - 3.9K bytes - Viewed (0) -
platforms/software/dependency-management/src/main/java/org/gradle/internal/component/model/AttributeDescriberSelector.java
AttributeDescriber current = null; int maxSize = 0; for (AttributeDescriber consumerDescriber : consumerDescribers) { int size = Sets.intersection(consumerDescriber.getDescribableAttributes(), consumerAttributeSet).size(); if (size > maxSize) { // Select the describer which handles the maximum number of attributes
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Jan 29 22:29:19 UTC 2024 - 4.7K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/MultisetsTest.java
Multiset<String> ms2 = HashMultiset.create(Arrays.asList("a", "b", "a")); assertThat(Multisets.intersection(ms1, ms2)).isEmpty(); } public void testIntersectNonemptyEmpty() { Multiset<String> ms1 = HashMultiset.create(Arrays.asList("a", "b", "a")); Multiset<String> ms2 = HashMultiset.create(); assertThat(Multisets.intersection(ms1, ms2)).isEmpty(); } public void testSum() {
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Fri May 17 15:27:58 UTC 2024 - 11.3K bytes - Viewed (0) -
guava/src/com/google/common/collect/GeneralRange.java
} boolean contains(@ParametricNullness T t) { return !tooLow(t) && !tooHigh(t); } /** * Returns the intersection of the two ranges, or an empty range if their intersection is empty. */ @SuppressWarnings("nullness") // TODO(cpovirk): Add casts as needed. Will be noisy and annoying... GeneralRange<T> intersect(GeneralRange<T> other) {
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Thu Feb 22 21:19:52 UTC 2024 - 10.8K bytes - Viewed (0) -
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 - 12.1K bytes - Viewed (0) -
guava/src/com/google/common/collect/MapDifference.java
* present in the left map. */ Map<K, V> entriesOnlyOnRight(); /** * Returns an unmodifiable map containing the entries that appear in both maps; that is, the * intersection of the two maps. */ Map<K, V> entriesInCommon(); /** * Returns an unmodifiable map describing keys that appear in both maps, but with different * values. */
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed Aug 04 13:28:27 UTC 2021 - 3.5K bytes - Viewed (0) -
pkg/controller/resourcequota/resource_quota_controller.go
if _, usageFound := resourceQuota.Status.Used[constraint]; !usageFound { matchedResources := []v1.ResourceName{constraint} for _, evaluator := range rq.registry.List() { if intersection := evaluator.MatchingResources(matchedResources); len(intersection) > 0 { rq.missingUsageQueue.Add(key) return } } } } // no special priority, go in normal recalc queue rq.queue.Add(key) }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat May 04 18:33:12 UTC 2024 - 21.3K bytes - Viewed (0) -
guava/src/com/google/common/collect/EmptyContiguousSet.java
} @Override public C last() { throw new NoSuchElementException(); } @Override public int size() { return 0; } @Override public ContiguousSet<C> intersection(ContiguousSet<C> other) { return this; } @Override public Range<C> range() { throw new NoSuchElementException(); } @Override
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Tue Mar 28 18:35:00 UTC 2023 - 4.2K bytes - Viewed (0) -
src/cmd/compile/internal/types2/typeset.go
// API // A _TypeSet represents the type set of an interface. // Because of existing language restrictions, methods can be "factored out" // from the terms. The actual type set is the intersection of the type set // implied by the methods and the type set described by the terms and the // comparable bit. To test whether a type is included in a type set // ("implements" relation), the type must implement all methods _and_ be
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 30 19:19:55 UTC 2024 - 13.6K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/MapDifference.java
* present in the left map. */ Map<K, V> entriesOnlyOnRight(); /** * Returns an unmodifiable map containing the entries that appear in both maps; that is, the * intersection of the two maps. */ Map<K, V> entriesInCommon(); /** * Returns an unmodifiable map describing keys that appear in both maps, but with different * values. */
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed Aug 04 13:28:27 UTC 2021 - 3.5K bytes - Viewed (0)