Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 65 for Arantes (0.17 sec)

  1. android/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 26 12:43:10 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 21.6K bytes
    - Viewed (0)
  2. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/profile/JdkVersionProfileActivator.java

                } else if (token.endsWith(")")) {
                    ranges.add(new RangeValue(token.replace(")", ""), false));
                } else if (token.isEmpty()) {
                    ranges.add(new RangeValue("", false));
                }
            }
            if (ranges.size() < 2) {
                ranges.add(new RangeValue("99999999", false));
            }
            return ranges;
        }
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 6.2K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/RangeMap.java

    import javax.annotation.CheckForNull;
    
    /**
     * A mapping from disjoint nonempty ranges to non-null values. Queries look up the value associated
     * with the range (if any) that contains a specified key.
     *
     * <p>In contrast to {@link RangeSet}, no "coalescing" is done of {@linkplain
     * Range#isConnected(Range) connected} ranges, even if they are mapped to the same value.
     *
     * @author Louis Wasserman
     * @since 14.0
     */
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 6.5K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/collect/ImmutableRangeSetTest.java

          }
        }
        ImmutableList<Range<Integer>> ranges = rangesBuilder.build();
        for (int i = -2; i <= 2; i++) {
          rangesBuilder.add(Range.closedOpen(i, i));
          rangesBuilder.add(Range.openClosed(i, i));
        }
        ImmutableList<Range<Integer>> subRanges = rangesBuilder.build();
        for (Range<Integer> range1 : ranges) {
          for (Range<Integer> range2 : ranges) {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 21.2K bytes
    - Viewed (0)
  5. guava/src/com/google/common/collect/ContiguousSet.java

    /**
     * A sorted set of contiguous values in a given {@link DiscreteDomain}. Example:
     *
     * <pre>{@code
     * ContiguousSet.create(Range.closed(5, 42), DiscreteDomain.integers())
     * }</pre>
     *
     * <p>Note that because bounded ranges over {@code int} and {@code long} values are so common, this
     * particular example can be written as just:
     *
     * <pre>{@code
     * ContiguousSet.closed(5, 42)
     * }</pre>
     *
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Nov 30 21:54:06 GMT 2023
    - 9.9K bytes
    - Viewed (0)
  6. android/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 26 12:43:10 GMT 2024
    - Last Modified: Tue Aug 17 15:44:29 GMT 2021
    - 3.1K bytes
    - Viewed (0)
  7. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/DefaultModelBuilder.java

            // have a model that is suitable, yet more checks are done here and the one for the version is problematic
            // before because with parents as ranges it will never work in this scenario.
            //
    
            String groupId = getGroupId(candidateModel);
            String artifactId = candidateModel.getArtifactId();
    
            if (groupId == null
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 59.1K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/cache/Striped64.java

       * only become known via CAS failures, convergence can be slow,
       * and because threads are typically not bound to CPUS forever,
       * may not occur at all. However, despite these limitations,
       * observed contention rates are typically low in these cases.
       *
       * It is possible for a Cell to become unused when threads that
       * once hashed to it terminate, as well as in the case where
       * doubling the table causes no thread to hash to it under
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 22 17:40:56 GMT 2024
    - 11.5K bytes
    - Viewed (0)
  9. 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)
  10. android/guava/src/com/google/common/base/CharMatcher.java

        }
    
        @Override
        public boolean matches(char c) {
          return c <= '\u007f';
        }
      }
    
      /** Implementation that matches characters that fall within multiple ranges. */
      private static class RangesMatcher extends CharMatcher {
    
        private final String description;
        private final char[] rangeStarts;
        private final char[] rangeEnds;
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 53.7K bytes
    - Viewed (0)
Back to top