Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 178 for generates (0.59 sec)

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

        66,
        66,
        66
      };
    
      /**
       * Generates values in a distribution equivalent to randomNonNegativeBigInteger but omitting zero.
       */
      static BigInteger randomPositiveBigInteger(int numBits) {
        BigInteger result;
        do {
          result = randomNonNegativeBigInteger(numBits);
        } while (result.signum() == 0);
        return result;
      }
    
      /**
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 4.1K bytes
    - Viewed (0)
  2. android/guava-tests/benchmark/com/google/common/collect/BinaryTreeTraverserBenchmark.java

              root = Optional.of(new BinaryNode(rng.nextInt(), Optional.<BinaryNode>absent(), root));
            }
            return root;
          }
        },
        RANDOM {
          /**
           * Generates a tree with topology selected uniformly at random from the topologies of binary
           * trees of the specified size.
           */
          @Override
          Optional<BinaryNode> createTree(int size, Random rng) {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Feb 26 19:18:53 GMT 2019
    - 4.9K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/io/ByteSinkTester.java

    import java.io.IOException;
    import java.io.OutputStream;
    import java.lang.reflect.Method;
    import java.util.Map.Entry;
    import junit.framework.TestSuite;
    
    /**
     * A generator of {@code TestSuite} instances for testing {@code ByteSink} implementations.
     * Generates tests of all methods on a {@code ByteSink} given various inputs written to it as well
     * as sub-suites for testing the {@code CharSink} view in the same way.
     *
     * @author Colin Decker
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Oct 10 19:45:10 GMT 2022
    - 4K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/io/CharSinkTester.java

    import java.io.IOException;
    import java.io.Writer;
    import java.lang.reflect.Method;
    import java.util.Map.Entry;
    import junit.framework.TestSuite;
    
    /**
     * A generator of {@code TestSuite} instances for testing {@code CharSink} implementations.
     * Generates tests of all methods on a {@code CharSink} given various inputs written to it.
     *
     * @author Colin Decker
     */
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Oct 10 19:45:10 GMT 2022
    - 4K bytes
    - Viewed (0)
  5. guava-testlib/src/com/google/common/collect/testing/TestsForQueuesInJavaUtil.java

    import java.util.concurrent.LinkedBlockingDeque;
    import java.util.concurrent.LinkedBlockingQueue;
    import java.util.concurrent.PriorityBlockingQueue;
    import junit.framework.Test;
    import junit.framework.TestSuite;
    
    /**
     * Generates a test suite covering the {@link Queue} implementations in the {@link java.util}
     * package. Can be subclassed to specify tests that should be suppressed.
     *
     * @author Jared Levy
     */
    @GwtIncompatible
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 9.4K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/io/ByteSourceTester.java

    import java.io.OutputStream;
    import java.lang.reflect.Method;
    import java.util.Map.Entry;
    import java.util.Random;
    import junit.framework.TestSuite;
    
    /**
     * A generator of {@code TestSuite} instances for testing {@code ByteSource} implementations.
     * Generates tests of all methods on a {@code ByteSource} given various inputs the source is
     * expected to contain as well as sub-suites for testing the {@code CharSource} view and {@code
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 8.6K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/io/CharSourceTester.java

    import java.io.StringWriter;
    import java.lang.reflect.Method;
    import java.util.List;
    import java.util.Map.Entry;
    import junit.framework.TestSuite;
    
    /**
     * A generator of {@code TestSuite} instances for testing {@code CharSource} implementations.
     * Generates tests of all methods on a {@code CharSource} given various inputs the source is
     * expected to contain.
     *
     * @author Colin Decker
     */
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Oct 10 19:45:10 GMT 2022
    - 6.8K bytes
    - Viewed (0)
  8. android/guava-testlib/src/com/google/common/collect/testing/TestsForQueuesInJavaUtil.java

    import java.util.concurrent.LinkedBlockingDeque;
    import java.util.concurrent.LinkedBlockingQueue;
    import java.util.concurrent.PriorityBlockingQueue;
    import junit.framework.Test;
    import junit.framework.TestSuite;
    
    /**
     * Generates a test suite covering the {@link Queue} implementations in the {@link java.util}
     * package. Can be subclassed to specify tests that should be suppressed.
     *
     * @author Jared Levy
     */
    @GwtIncompatible
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 7.7K bytes
    - Viewed (0)
  9. guava/src/com/google/common/base/Objects.java

       */
      public static boolean equal(@CheckForNull Object a, @CheckForNull Object b) {
        return a == b || (a != null && a.equals(b));
      }
    
      /**
       * Generates a hash code for multiple values. The hash code is generated by calling {@link
       * Arrays#hashCode(Object[])}. Note that array arguments to this method, with the exception of a
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 2.9K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/io/ByteSourceTester.java

    import java.io.OutputStream;
    import java.lang.reflect.Method;
    import java.util.Map.Entry;
    import java.util.Random;
    import junit.framework.TestSuite;
    
    /**
     * A generator of {@code TestSuite} instances for testing {@code ByteSource} implementations.
     * Generates tests of all methods on a {@code ByteSource} given various inputs the source is
     * expected to contain as well as sub-suites for testing the {@code CharSource} view and {@code
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 8.6K bytes
    - Viewed (0)
Back to top