Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 45 for Langen (0.21 sec)

  1. guava-tests/test/com/google/common/math/IntMathTest.java

      @GwtIncompatible // java.math.BigInteger
      public void testMean() {
        // Odd-sized ranges have an obvious mean
        assertMean(2, 1, 3);
    
        assertMean(-2, -3, -1);
        assertMean(0, -1, 1);
        assertMean(1, -1, 3);
        assertMean((1 << 30) - 1, -1, Integer.MAX_VALUE);
    
        // Even-sized ranges should prefer the lower mean
        assertMean(2, 1, 4);
        assertMean(-3, -4, -1);
        assertMean(0, -1, 2);
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Wed Feb 07 17:50:39 GMT 2024
    - 24.5K bytes
    - Viewed (0)
  2. guava/src/com/google/common/collect/ImmutableSortedMap.java

        return getSubMap(0, keySet.headIndex(checkNotNull(toKey), inclusive));
      }
    
      /**
       * This method returns a {@code ImmutableSortedMap}, consisting of the entries whose keys ranges
       * from {@code fromKey}, inclusive, to {@code toKey}, exclusive.
       *
       * <p>The {@link SortedMap#subMap} documentation states that a submap of a submap throws an {@link
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 50.3K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/util/concurrent/AbstractFutureTest.java

      }
    
      /**
       * This test attempts to cause a future to wait for longer than it was requested to from a timed
       * get() call. As measurements of time are prone to flakiness, it tries to assert based on ranges
       * derived from observing how much time actually passed for various operations.
       */
      @SuppressWarnings({"DeprecatedThreadMethods", "ThreadPriorityCheck"})
      @AndroidIncompatible // Thread.suspend
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Feb 13 14:28:25 GMT 2024
    - 46.8K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/TreeRangeMap.java

          remove(range);
          entriesByLowerBound.put(range.lowerBound, new RangeMapEntry<K, V>(range, value));
        }
      }
    
      @Override
      public void putCoalescing(Range<K> range, V value) {
        // don't short-circuit if the range is empty - it may be between two ranges we can coalesce.
        if (entriesByLowerBound.isEmpty()) {
          put(range, value);
          return;
        }
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 21.9K bytes
    - Viewed (0)
  5. api/maven-api-core/src/main/java/org/apache/maven/api/services/VersionRangeResolver.java

    import org.apache.maven.api.annotations.Nonnull;
    
    /**
     * Parses and evaluates version ranges encountered in dependency declarations.
     *
     * @since 4.0.0
     */
    @Experimental
    @Consumer
    public interface VersionRangeResolver extends Service {
    
        /**
         * Expands a version range to a list of matching versions, in ascending order.
         * For example, resolves "[3.8,4.0)" to "3.8", "3.8.1", "3.8.2".
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Feb 28 23:54:53 GMT 2024
    - 2.4K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/GeneralRange.java

      /** Converts a Range to a GeneralRange. */
      @SuppressWarnings("rawtypes") // https://github.com/google/guava/issues/989
      static <T extends Comparable> GeneralRange<T> from(Range<T> range) {
        T lowerEndpoint = range.hasLowerBound() ? range.lowerEndpoint() : null;
        BoundType lowerBoundType = range.hasLowerBound() ? range.lowerBoundType() : OPEN;
    
        T upperEndpoint = range.hasUpperBound() ? range.upperEndpoint() : null;
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 10.8K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/math/LongMathTest.java

      @GwtIncompatible // java.math.BigInteger
      public void testMean() {
        // Odd-sized ranges have an obvious mean
        assertMean(2, 1, 3);
    
        assertMean(-2, -3, -1);
        assertMean(0, -1, 1);
        assertMean(1, -1, 3);
        assertMean((1L << 62) - 1, -1, Long.MAX_VALUE);
    
        // Even-sized ranges should prefer the lower mean
        assertMean(2, 1, 4);
        assertMean(-3, -4, -1);
        assertMean(0, -1, 2);
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Mon Mar 04 20:15:57 GMT 2024
    - 32.5K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/net/HttpHeaders.java

      /** The HTTP {@code User-Agent} header field name. */
      public static final String USER_AGENT = "User-Agent";
    
      // HTTP Response header fields
    
      /** The HTTP {@code Accept-Ranges} header field name. */
      public static final String ACCEPT_RANGES = "Accept-Ranges";
      /** The HTTP {@code Access-Control-Allow-Headers} header field name. */
      public static final String ACCESS_CONTROL_ALLOW_HEADERS = "Access-Control-Allow-Headers";
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 22 21:08:08 GMT 2024
    - 34.3K bytes
    - Viewed (0)
  9. android/guava-testlib/src/com/google/common/collect/testing/Helpers.java

       * works better than Ordering.natural().nullsFirst() because, if null comes before all other
       * values, it lies outside the submap/submultiset ranges we test, and the variety of tests that
       * exercise null handling fail on those subcollections.
       */
      public abstract static class NullsBefore implements Comparator<@Nullable String>, Serializable {
        /*
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Feb 26 19:46:10 GMT 2024
    - 17.7K bytes
    - Viewed (0)
  10. maven-core/src/main/java/org/apache/maven/internal/aether/DefaultRepositorySystemSessionFactory.java

         *     <li>"e(G:A:V)" - predicate filter (leaves out G:A:V from range, if hit, V can be range)</li>
         * </ul>
         * Example filter expression: {@code "h(5);s;e(org.foo:bar:1)} will cause: ranges are filtered for "top 5" (instead
         * full range), snapshots are banned if root project is not a snapshot, and if range for {@code org.foo:bar} is
         * being processed, version 1 is omitted.
         *
         * @since 4.0.0
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Apr 25 14:13:36 GMT 2024
    - 27.5K bytes
    - Viewed (0)
Back to top