Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 61 for Arantes (0.21 sec)

  1. android/guava/src/com/google/common/collect/Range.java

       * not encompass ranges of the form {@code (v..v)}, because such ranges are <i>invalid</i> and
       * can't be constructed at all.)
       *
       * <p>Note that certain discrete ranges such as the integer range {@code (3..4)} are <b>not</b>
       * considered empty, even though they contain no actual values. In these cases, it may be helpful
       * to preprocess ranges with {@link #canonical(DiscreteDomain)}.
       */
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 27.8K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/collect/AbstractRangeSetTest.java

        // test that connected ranges are coalesced
        for (int i = 0; i + 1 < asRanges.size(); i++) {
          Range<C> range1 = asRanges.get(i);
          Range<C> range2 = asRanges.get(i + 1);
          assertFalse(range1.isConnected(range2));
        }
    
        // test that there are no empty ranges
        for (Range<C> range : asRanges) {
          assertFalse(range.isEmpty());
        }
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 20:09:59 GMT 2024
    - 2.6K bytes
    - Viewed (0)
  3. guava/src/com/google/common/base/NullnessCasts.java

       * that conversion is safe.
       *
       * <p>This method is intended to help with usages of type parameters that have {@linkplain
       * ParametricNullness parametric nullness}. If a type parameter instead ranges over only non-null
       * types (or if the type is a non-variable type, like {@code String}), then code should almost
       * never use this method, preferring instead to call {@code requireNonNull} so as to benefit from
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Apr 12 20:58:36 GMT 2021
    - 3.1K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. 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 Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Feb 26 19:46:10 GMT 2024
    - 17.7K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/net/MediaType.java

    import javax.annotation.CheckForNull;
    
    /**
     * Represents an <a href="http://en.wikipedia.org/wiki/Internet_media_type">Internet Media Type</a>
     * (also known as a MIME Type or Content Type). This class also supports the concept of media ranges
     * <a href="http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.1">defined by HTTP/1.1</a>.
     * As such, the {@code *} character is treated as a wildcard and is used to represent any acceptable
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Aug 07 16:17:10 GMT 2023
    - 46.2K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/util/concurrent/RateLimiterTest.java

       * we change the rate.
       */
      public void testWeNeverGetABurstMoreThanOneSec() {
        RateLimiter limiter = RateLimiter.create(1.0, stopwatch);
        int[] rates = {1000, 1, 10, 1000000, 10, 1};
        for (int rate : rates) {
          int oneSecWorthOfWork = rate;
          stopwatch.sleepMillis(rate * 1000);
          limiter.setRate(rate);
          long burst = measureTotalTimeMillis(limiter, oneSecWorthOfWork, new Random());
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 21.6K bytes
    - Viewed (0)
  9. guava/src/com/google/common/collect/ImmutableRangeMap.java

        } else {
          Range<K> range = ranges.get(index);
          return range.contains(key) ? Maps.immutableEntry(range, values.get(index)) : null;
        }
      }
    
      @Override
      public Range<K> span() {
        if (ranges.isEmpty()) {
          throw new NoSuchElementException();
        }
        Range<K> firstRange = ranges.get(0);
        Range<K> lastRange = ranges.get(ranges.size() - 1);
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 14.7K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/collect/TreeRangeSetTest.java

        for (Range<Integer> range : QUERY_RANGES) {
          TreeRangeSet<Integer> rangeSet = TreeRangeSet.create();
          rangeSet.add(range);
          testIntersects(rangeSet);
          testIntersects(rangeSet.complement());
        }
      }
    
      public void testAllTwoRangesIntersecting() {
        for (Range<Integer> range1 : QUERY_RANGES) {
          for (Range<Integer> range2 : QUERY_RANGES) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Dec 16 19:54:45 GMT 2020
    - 24.3K bytes
    - Viewed (0)
Back to top