Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 282 for cmath (0.12 sec)

  1. guava-tests/test/com/google/common/util/concurrent/RateLimiterTest.java

      }
    
      private long measureTotalTimeMillis(RateLimiter rateLimiter, int permits, Random random) {
        long startTime = stopwatch.instant;
        while (permits > 0) {
          int nextPermitsToAcquire = Math.max(1, random.nextInt(permits));
          permits -= nextPermitsToAcquire;
          rateLimiter.acquire(nextPermitsToAcquire);
        }
        rateLimiter.acquire(1); // to repay for any pending debt
    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)
  2. android/guava/src/com/google/common/collect/Iterables.java

        return new FluentIterable<T>() {
          @Override
          public Iterator<T> iterator() {
            if (iterable instanceof List) {
              final List<T> list = (List<T>) iterable;
              int toSkip = Math.min(list.size(), numberToSkip);
              return list.subList(toSkip, list.size()).iterator();
            }
            final Iterator<T> iterator = iterable.iterator();
    
            Iterators.advance(iterator, numberToSkip);
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Apr 24 19:38:27 GMT 2024
    - 42.8K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/math/StatsTest.java

    import static com.google.common.math.StatsTesting.MANY_VALUES_MAX;
    import static com.google.common.math.StatsTesting.MANY_VALUES_MEAN;
    import static com.google.common.math.StatsTesting.MANY_VALUES_MIN;
    import static com.google.common.math.StatsTesting.MANY_VALUES_STATS_ITERABLE;
    import static com.google.common.math.StatsTesting.MANY_VALUES_STATS_ITERATOR;
    import static com.google.common.math.StatsTesting.MANY_VALUES_STATS_SNAPSHOT;
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 28.4K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/math/DoubleMathTest.java

    import static com.google.common.math.MathTesting.FRACTIONAL_DOUBLE_CANDIDATES;
    import static com.google.common.math.MathTesting.INFINITIES;
    import static com.google.common.math.MathTesting.INTEGRAL_DOUBLE_CANDIDATES;
    import static com.google.common.math.MathTesting.NEGATIVE_INTEGER_CANDIDATES;
    import static com.google.common.math.MathTesting.POSITIVE_FINITE_DOUBLE_CANDIDATES;
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Wed Feb 07 17:50:39 GMT 2024
    - 28.1K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/math/MathTesting.java

     */
    
    package com.google.common.math;
    
    import static java.math.BigInteger.ONE;
    import static java.math.BigInteger.ZERO;
    import static java.math.RoundingMode.CEILING;
    import static java.math.RoundingMode.DOWN;
    import static java.math.RoundingMode.FLOOR;
    import static java.math.RoundingMode.HALF_DOWN;
    import static java.math.RoundingMode.HALF_EVEN;
    import static java.math.RoundingMode.HALF_UP;
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Oct 10 19:45:10 GMT 2022
    - 11.2K bytes
    - Viewed (0)
  6. guava-tests/benchmark/com/google/common/math/BigIntegerMathRoundingBenchmark.java

     * limitations under the License.
     */
    
    package com.google.common.math;
    
    import static com.google.common.math.MathBenchmarking.ARRAY_MASK;
    import static com.google.common.math.MathBenchmarking.ARRAY_SIZE;
    import static com.google.common.math.MathBenchmarking.randomNonZeroBigInteger;
    import static com.google.common.math.MathBenchmarking.randomPositiveBigInteger;
    
    import com.google.caliper.BeforeExperiment;
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Tue Jun 30 13:06:20 GMT 2020
    - 2.8K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/math/StatsAccumulatorTest.java

    import static com.google.common.math.StatsTesting.LONG_MANY_VALUES_SUM_OF_SQUARES_OF_DELTAS;
    import static com.google.common.math.StatsTesting.MANY_VALUES;
    import static com.google.common.math.StatsTesting.MANY_VALUES_COUNT;
    import static com.google.common.math.StatsTesting.MANY_VALUES_MAX;
    import static com.google.common.math.StatsTesting.MANY_VALUES_MEAN;
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 34K bytes
    - Viewed (0)
  8. guava-tests/benchmark/com/google/common/math/DoubleMathBenchmark.java

     * limitations under the License.
     */
    
    package com.google.common.math;
    
    import static com.google.common.math.MathBenchmarking.ARRAY_MASK;
    import static com.google.common.math.MathBenchmarking.ARRAY_SIZE;
    import static com.google.common.math.MathBenchmarking.RANDOM_SOURCE;
    import static com.google.common.math.MathBenchmarking.randomDouble;
    import static com.google.common.math.MathBenchmarking.randomPositiveDouble;
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 2.5K bytes
    - Viewed (0)
  9. guava-tests/benchmark/com/google/common/math/BigIntegerMathBenchmark.java

     * limitations under the License.
     */
    
    package com.google.common.math;
    
    import static com.google.common.math.MathBenchmarking.ARRAY_MASK;
    import static com.google.common.math.MathBenchmarking.ARRAY_SIZE;
    import static com.google.common.math.MathBenchmarking.RANDOM_SOURCE;
    import static java.math.RoundingMode.CEILING;
    
    import com.google.caliper.BeforeExperiment;
    import com.google.caliper.Benchmark;
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 3.3K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/math/IntMathTest.java

     * limitations under the License.
     */
    
    package com.google.common.math;
    
    import static com.google.common.math.MathTesting.ALL_INTEGER_CANDIDATES;
    import static com.google.common.math.MathTesting.ALL_ROUNDING_MODES;
    import static com.google.common.math.MathTesting.ALL_SAFE_ROUNDING_MODES;
    import static com.google.common.math.MathTesting.EXPONENTS;
    import static com.google.common.math.MathTesting.NEGATIVE_INTEGER_CANDIDATES;
    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)
Back to top