Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 22 for intersects (0.07 sec)

  1. android/guava-tests/test/com/google/common/collect/ImmutableRangeSetTest.java

        assertTrue(rangeSet.intersects(Range.closed(3, 4)));
        assertTrue(rangeSet.intersects(Range.closedOpen(1, 5)));
        assertFalse(rangeSet.intersects(Range.closedOpen(4, 5)));
        assertTrue(rangeSet.intersects(Range.lessThan(1)));
        assertTrue(rangeSet.intersects(Range.greaterThan(1)));
        assertFalse(rangeSet.intersects(Range.greaterThan(3)));
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 02 18:21:29 UTC 2024
    - 21.5K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/collect/TreeRangeSetTest.java

              expectIntersect = true;
              break;
            }
          }
          assertEquals(
              rangeSet + " was incorrect on intersects(" + query + ")",
              expectIntersect,
              rangeSet.intersects(query));
        }
      }
    
      public void testEnclosing(RangeSet<Integer> rangeSet) {
        assertTrue(rangeSet.enclosesAll(ImmutableList.<Range<Integer>>of()));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 24.3K bytes
    - Viewed (0)
  3. guava/src/com/google/common/collect/RangeSet.java

       * range set and the specified range. This is equivalent to calling {@code
       * subRangeSet(otherRange)} and testing whether the resulting range set is non-empty.
       *
       * @since 20.0
       */
      boolean intersects(Range<C> otherRange);
    
      /**
       * Returns {@code true} if there exists a member range in this range set which {@linkplain
       * Range#encloses encloses} the specified range.
       */
      boolean encloses(Range<C> otherRange);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Feb 22 21:19:52 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/ImmutableRangeSet.java

        this.ranges = ranges;
        this.complement = complement;
      }
    
      private final transient ImmutableList<Range<C>> ranges;
    
      @Override
      public boolean intersects(Range<C> otherRange) {
        int ceilingIndex =
            SortedLists.binarySearch(
                ranges,
                Range::lowerBound,
                otherRange.lowerBound,
                Ordering.natural(),
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 27K bytes
    - Viewed (0)
  5. okhttp/src/main/kotlin/okhttp3/ConnectionSpec.kt

    import okhttp3.ConnectionSpec.Builder
    import okhttp3.internal.concat
    import okhttp3.internal.effectiveCipherSuites
    import okhttp3.internal.hasIntersection
    import okhttp3.internal.indexOf
    import okhttp3.internal.intersect
    
    /**
     * Specifies configuration for the socket connection that HTTP traffic travels through. For `https:`
     * URLs, this includes the TLS version and cipher suites to use when negotiating a secure
     * connection.
     *
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Jan 20 10:30:28 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  6. guava-testlib/src/com/google/common/collect/testing/FeatureSpecificTestSuiteBuilder.java

            logger.finer(
                Platform.format(
                    "%s: skipping because these features are absent: %s", method, missingFeatures));
          }
          return false;
        }
        if (intersect(features, requirements.getAbsentFeatures())) {
          if (logger.isLoggable(FINER)) {
            Set<Feature<?>> unwantedFeatures = copyToSet(requirements.getAbsentFeatures());
            unwantedFeatures.retainAll(features);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  7. android/guava-testlib/src/com/google/common/collect/testing/FeatureSpecificTestSuiteBuilder.java

            logger.finer(
                Platform.format(
                    "%s: skipping because these features are absent: %s", method, missingFeatures));
          }
          return false;
        }
        if (intersect(features, requirements.getAbsentFeatures())) {
          if (logger.isLoggable(FINER)) {
            Set<Feature<?>> unwantedFeatures = copyToSet(requirements.getAbsentFeatures());
            unwantedFeatures.retainAll(features);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  8. okhttp/src/test/java/okhttp3/CallHandshakeTest.kt

          )
        }
      }
    
      private fun expectedConnectionCipherSuites(client: OkHttpClient): Set<String> {
        return client.connectionSpecs.first().cipherSuites!!.map { it.javaName }.intersect(defaultEnabledCipherSuites.toSet())
      }
    
      private fun makeClient(
        connectionSpec: ConnectionSpec? = null,
        tlsVersion: TlsVersion? = null,
        cipherSuites: List<CipherSuite>? = null,
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Jan 20 10:30:28 UTC 2024
    - 11.2K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/GeneralRange.java

       * 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) {
        checkNotNull(other);
        checkArgument(comparator.equals(other.comparator));
    
        boolean hasLowBound = this.hasLowerBound;
        T lowEnd = getLowerEndpoint();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Feb 22 21:19:52 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  10. android/guava-testlib/test/com/google/common/collect/testing/MapTestSuiteBuilderTests.java

          @SuppressWarnings("unchecked")
          Map<String, String> proxy =
              Reflection.newProxy(Map.class, new CheckSetUpInvocationHandler(map, setUpRan));
          return proxy;
        }
      }
    
      /**
       * Intercepts calls to a {@code Map} to check that {@code setUpRan} is true when they happen. Then
       * forwards the calls to the underlying {@code Map}.
       */
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Apr 19 19:24:36 UTC 2023
    - 11.5K bytes
    - Viewed (0)
Back to top