Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 59 for Intersection (0.17 sec)

  1. okhttp/src/main/kotlin/okhttp3/internal/-UtilCommon.kt

        }
      }
      return result.toTypedArray()
    }
    
    /**
     * Returns true if there is an element in this array that is also in [other]. This method terminates
     * if any intersection is found. The sizes of both arguments are assumed to be so small, and the
     * likelihood of an intersection so great, that it is not worth the CPU cost of sorting or the
     * memory cost of hashing.
     */
    internal fun Array<String>.hasIntersection(
      other: Array<String>?,
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon May 13 13:42:37 UTC 2024
    - 11K bytes
    - Viewed (0)
  2. 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: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Feb 22 21:19:52 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  3. 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: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 14.4K bytes
    - Viewed (0)
  4. compat/maven-artifact/src/main/java/org/apache/maven/artifact/versioning/VersionRange.java

         * @return the <code>VersionRange</code> that is a restriction of this version range and the
         *         specified version range.
         *         <p>
         *         The restrictions of the returned version range will be an intersection of the restrictions
         *         of this version range and the specified version range if both version ranges have
         *         restrictions. Otherwise, the restrictions on the returned range will be empty.
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 19K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/collect/ImmutableRangeSetTest.java

          boolean anyOverlaps = false;
          for (Range<Integer> range : subset) {
            boolean overlaps = false;
            for (Range<Integer> other : mutable.asRanges()) {
              if (other.isConnected(range) && !other.intersection(range).isEmpty()) {
                overlaps = true;
                anyOverlaps = true;
                break;
              }
            }
    
            try {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 02 18:21:29 UTC 2024
    - 21.5K bytes
    - Viewed (0)
  6. 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: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 11K bytes
    - Viewed (0)
  7. android/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: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Feb 22 21:19:52 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  8. 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: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Feb 22 21:19:52 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/Multisets.java

       *
       * <p>To be precise, {@code multisetToModify.count(e)} is set to {@code
       * Math.min(multisetToModify.count(e), multisetToRetain.count(e))}. This is similar to {@link
       * #intersection(Multiset, Multiset) intersection} {@code (multisetToModify, multisetToRetain)},
       * but mutates {@code multisetToModify} instead of returning a view.
       *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 41.7K bytes
    - Viewed (0)
  10. guava/src/com/google/common/collect/Multisets.java

       *
       * <p>To be precise, {@code multisetToModify.count(e)} is set to {@code
       * Math.min(multisetToModify.count(e), multisetToRetain.count(e))}. This is similar to {@link
       * #intersection(Multiset, Multiset) intersection} {@code (multisetToModify, multisetToRetain)},
       * but mutates {@code multisetToModify} instead of returning a view.
       *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 41.5K bytes
    - Viewed (0)
Back to top