Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 71 for rousing (0.18 sec)

  1. guava-gwt/test/com/google/common/GwtTestSuite.java

    import com.google.gwt.junit.tools.GWTTestSuite;
    
    import junit.framework.Test;
    import junit.framework.TestCase;
    
    import java.io.IOException;
    
    /**
     * Runs all _gwt tests. Grouping them into a suite is much faster than running each as a one-test
     * "suite," as the per-suite setup is expensive.
     */
    public class GwtTestSuite extends TestCase {
      public static Test suite() throws IOException {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Jun 23 13:24:59 GMT 2016
    - 1.6K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/io/CharStreamsTest.java

       * space in the buffer completely. In general this is a performance problem since the buffer size
       * is permanently reduced, but with certain Reader implementations it could also cause the buffer
       * size to reach 0, causing an infinite loop.
       */
      public void testCopyWithReaderThatDoesNotFillBuffer() throws IOException {
        // need a long enough string for the buffer to hit 0 remaining before the copy completes
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 11.2K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/io/CharStreamsTest.java

       * space in the buffer completely. In general this is a performance problem since the buffer size
       * is permanently reduced, but with certain Reader implementations it could also cause the buffer
       * size to reach 0, causing an infinite loop.
       */
      public void testCopyWithReaderThatDoesNotFillBuffer() throws IOException {
        // need a long enough string for the buffer to hit 0 remaining before the copy completes
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 11.2K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/ImmutableSet.java

         * determined experimentally to match our desired probability of false positives.
         */
        // NB: yes, this is surprisingly high, but that's what the experiments said was necessary
        // Raising this number slows the worst-case contains behavior, speeds up hashFloodingDetected,
        // and reduces the false-positive probability.
        static final int MAX_RUN_MULTIPLIER = 13;
    
        /**
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 35.4K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/util/concurrent/AbstractFutureTest.java

        thread.setPriority(Thread.MAX_PRIORITY);
        thread.resume();
        thread.join();
        // It's possible to race and suspend the thread just before the park call actually takes effect,
        // causing the thread to be suspended for 3.5 seconds, and then park itself for 2 seconds after
        // being resumed. To avoid a flake in this scenario, calculate how long that thread actually
    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)
  6. android/guava-tests/test/com/google/common/math/IntMathTest.java

     */
    
    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 May 03 12:43:13 GMT 2024
    - Last Modified: Wed Feb 07 17:50:39 GMT 2024
    - 24.5K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/math/BigIntegerMath.java

      }
    
      /**
       * Returns {@code x}, rounded to a {@code double} with the specified rounding mode. If {@code x}
       * is precisely representable as a {@code double}, its {@code double} value will be returned;
       * otherwise, the rounding will choose between the two nearest representable values with {@code
       * mode}.
       *
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 07 17:50:39 GMT 2024
    - 18.9K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/math/MathPreconditions.java

        if (!condition) {
          throw new ArithmeticException("mode was UNNECESSARY, but rounding was necessary");
        }
      }
    
      static void checkInRangeForRoundingInputs(boolean condition, double input, RoundingMode mode) {
        if (!condition) {
          throw new ArithmeticException(
              "rounded value is out of range for input " + input + " and rounding mode " + mode);
        }
      }
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Jun 15 20:59:00 GMT 2022
    - 3.3K bytes
    - Viewed (0)
  9. android/guava-tests/benchmark/com/google/common/math/DoubleMathRoundingBenchmark.java

    import com.google.caliper.BeforeExperiment;
    import com.google.caliper.Benchmark;
    import com.google.caliper.Param;
    import java.math.RoundingMode;
    
    /**
     * Benchmarks for the rounding methods of {@code DoubleMath}.
     *
     * @author Louis Wasserman
     */
    public class DoubleMathRoundingBenchmark {
      private static final double[] doubleInIntRange = new double[ARRAY_SIZE];
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 2.6K bytes
    - Viewed (0)
  10. android/guava-tests/benchmark/com/google/common/math/LongMathBenchmark.java

    import static com.google.common.math.MathBenchmarking.randomPositiveBigInteger;
    
    import com.google.caliper.BeforeExperiment;
    import com.google.caliper.Benchmark;
    
    /**
     * Benchmarks for the non-rounding methods of {@code LongMath}.
     *
     * @author Louis Wasserman
     */
    public class LongMathBenchmark {
      private static final int[] exponents = new int[ARRAY_SIZE];
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 3.5K bytes
    - Viewed (0)
Back to top