Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 134 for intersect (0.09 sec)

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

            range.intersect(GeneralRange.range(ORDERING, 1, OPEN, 3, OPEN)));
      }
    
      public void testIntersectNonOverlappingRange() {
        GeneralRange<Integer> range = GeneralRange.range(ORDERING, 2, OPEN, 4, CLOSED);
        assertTrue(range.intersect(GeneralRange.range(ORDERING, 5, CLOSED, 6, CLOSED)).isEmpty());
        assertTrue(range.intersect(GeneralRange.range(ORDERING, 1, OPEN, 2, OPEN)).isEmpty());
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/collect/GeneralRangeTest.java

            range.intersect(GeneralRange.range(ORDERING, 1, OPEN, 3, OPEN)));
      }
    
      public void testIntersectNonOverlappingRange() {
        GeneralRange<Integer> range = GeneralRange.range(ORDERING, 2, OPEN, 4, CLOSED);
        assertTrue(range.intersect(GeneralRange.range(ORDERING, 5, CLOSED, 6, CLOSED)).isEmpty());
        assertTrue(range.intersect(GeneralRange.range(ORDERING, 1, OPEN, 2, OPEN)).isEmpty());
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  3. 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)
  4. okhttp/src/main/kotlin/okhttp3/internal/internal.kt

        // to match legacy i.e. the platform/provider
        //
        // Opting for 2 here and keeping MODERN_TLS in line with secure browsers.
        cipherSuitesAsString.intersect(socketEnabledCipherSuites, CipherSuite.ORDER_BY_NAME)
      } else {
        socketEnabledCipherSuites
      }
    }
    
    internal fun MediaType?.chooseCharset(): Pair<Charset, MediaType?> {
      var charset: Charset = Charsets.UTF_8
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. 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)
  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. 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/src/com/google/common/collect/TreeMultiset.java

        return new TreeMultiset<>(
            rootReference,
            range.intersect(GeneralRange.upTo(comparator(), upperBound, boundType)),
            header);
      }
    
      @Override
      public SortedMultiset<E> tailMultiset(@ParametricNullness E lowerBound, BoundType boundType) {
        return new TreeMultiset<>(
            rootReference,
            range.intersect(GeneralRange.downTo(comparator(), lowerBound, boundType)),
            header);
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 20:24:49 UTC 2024
    - 34.1K bytes
    - Viewed (0)
Back to top