Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 308 for generates (0.19 sec)

  1. android/guava-testlib/src/com/google/common/testing/FreshValueGenerator.java

       */
      @Target(ElementType.METHOD)
      @Retention(RetentionPolicy.RUNTIME)
      private @interface Generates {}
    
      /**
       * Annotates a method to generate the "empty" instance of a collection. This method should accept
       * no parameter. The value it generates should be unequal to the values generated by methods
       * annotated with {@link Generates}.
       */
      @Target(ElementType.METHOD)
      @Retention(RetentionPolicy.RUNTIME)
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Apr 17 16:33:44 GMT 2024
    - 28K bytes
    - Viewed (0)
  2. guava-testlib/src/com/google/common/testing/FreshValueGenerator.java

       */
      @Target(ElementType.METHOD)
      @Retention(RetentionPolicy.RUNTIME)
      private @interface Generates {}
    
      /**
       * Annotates a method to generate the "empty" instance of a collection. This method should accept
       * no parameter. The value it generates should be unequal to the values generated by methods
       * annotated with {@link Generates}.
       */
      @Target(ElementType.METHOD)
      @Retention(RetentionPolicy.RUNTIME)
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Apr 17 16:33:44 GMT 2024
    - 28.6K bytes
    - Viewed (0)
  3. 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)
  4. 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)
  5. guava-tests/test/com/google/common/util/concurrent/GeneratedMonitorTest.java

    import java.util.concurrent.TimeUnit;
    import junit.framework.TestCase;
    import junit.framework.TestSuite;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * Generated tests for {@link Monitor}.
     *
     * <p>This test class generates all of its own test cases in the {@link #suite()} method. Every
     * {@code enterXxx}, {@code tryEnterXxx}, and {@code waitForXxx} method of the {@code Monitor} class
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Mon Apr 17 14:48:57 GMT 2023
    - 27.4K bytes
    - Viewed (0)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. android/guava-tests/test/com/google/common/util/concurrent/GeneratedMonitorTest.java

    import java.util.concurrent.TimeUnit;
    import junit.framework.TestCase;
    import junit.framework.TestSuite;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * Generated tests for {@link Monitor}.
     *
     * <p>This test class generates all of its own test cases in the {@link #suite()} method. Every
     * {@code enterXxx}, {@code tryEnterXxx}, and {@code waitForXxx} method of the {@code Monitor} class
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 17 14:48:57 GMT 2023
    - 26.1K bytes
    - Viewed (0)
Back to top