Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 167 for WHAT (0.14 sec)

  1. android/guava-tests/test/com/google/common/reflect/SubtypeTester.java

     *
     * <p>Tests should inherit from this class, and declare subtyping relationship with public methods
     * annotated by {@link TestSubtype}.
     *
     * <p>These declaration methods rely on Java static type checking to make sure what we want to
     * assert as subtypes are really subtypes according to javac. For example:
     *
     * <pre>{@code
     * class MySubtypeTests extends SubtypeTester {
     *   @TestSubtype(suppressGetSubtype = true, suppressGetSupertype = true)
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Apr 19 19:24:36 GMT 2023
    - 6.1K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb1/smb1/Trans2QueryFSInformation.java

            dstIndex += 2;
    
            /* windows98 has what appears to be another 4 0's followed by the share
             * name as a zero terminated ascii string "\TMP" + '\0'
             *
             * As is this works, but it deviates from the spec section 4.1.6.6 but
             * maybe I should put it in. Wonder what NT does?
             */
    
            return dstIndex - start;
        }
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 2.5K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/base/AndroidIncompatible.java

     *       other tests. We want to exclude the other tests (which Android can't handle) while
     *       continuing to run {@code FooTest} itself. This is exactly what happens with {@code
     *       AndroidIncompatible}. But I'm not sure what would happen if we annotated the {@code
     *       suite()} method with {@code Suppress}. Would {@code FooTest} itself be suppressed, too?
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Jul 07 15:40:13 GMT 2023
    - 3.9K bytes
    - Viewed (0)
  4. src/main/java/jcifs/internal/smb1/trans2/Trans2QueryFSInformation.java

            dstIndex += 2;
    
            /*
             * windows98 has what appears to be another 4 0's followed by the share
             * name as a zero terminated ascii string "\TMP" + '\0'
             *
             * As is this works, but it deviates from the spec section 4.1.6.6 but
             * maybe I should put it in. Wonder what NT does?
             */
    
            return dstIndex - start;
        }
    
    
        /**
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 3.5K bytes
    - Viewed (0)
  5. android/guava-testlib/src/com/google/common/collect/testing/MinimalIterable.java

     * #iterator()} method after the first, and whose iterator is always unmodifiable.
     *
     * <p>The {@code Iterable} specification does not make it absolutely clear what should happen on a
     * second invocation, so implementors have made various choices, including:
     *
     * <ul>
     *   <li>returning the same iterator again
     *   <li>throwing an exception of some kind
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 3.2K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/collect/MutableClassToInstanceMapTest.java

        suite.addTestSuite(MutableClassToInstanceMapTest.class);
    
        suite.addTest(
            MapTestSuiteBuilder.using(
                    new TestClassToInstanceMapGenerator() {
                      // Other tests will verify what real, warning-free usage looks like
                      // but here we have to do some serious fudging
                      @Override
                      @SuppressWarnings({"unchecked", "rawtypes"})
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 20:09:59 GMT 2024
    - 4.8K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/collect/MutableClassToInstanceMapTest.java

        suite.addTestSuite(MutableClassToInstanceMapTest.class);
    
        suite.addTest(
            MapTestSuiteBuilder.using(
                    new TestClassToInstanceMapGenerator() {
                      // Other tests will verify what real, warning-free usage looks like
                      // but here we have to do some serious fudging
                      @Override
                      @SuppressWarnings({"unchecked", "rawtypes"})
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 22 20:09:59 GMT 2024
    - 4.8K bytes
    - Viewed (0)
  8. guava-tests/benchmark/com/google/common/base/StopwatchBenchmark.java

    import com.google.caliper.Benchmark;
    import java.util.concurrent.TimeUnit;
    
    /**
     * Simple benchmark: create, start, read. This does not currently report the most useful result
     * because it's ambiguous to what extent the stopwatch benchmark is being affected by GC.
     *
     * @author Kevin Bourrillion
     */
    public class StopwatchBenchmark {
      @Benchmark
      long stopwatch(int reps) {
        long total = 0;
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 1.5K bytes
    - Viewed (0)
  9. android/guava-tests/benchmark/com/google/common/base/StopwatchBenchmark.java

    import com.google.caliper.Benchmark;
    import java.util.concurrent.TimeUnit;
    
    /**
     * Simple benchmark: create, start, read. This does not currently report the most useful result
     * because it's ambiguous to what extent the stopwatch benchmark is being affected by GC.
     *
     * @author Kevin Bourrillion
     */
    public class StopwatchBenchmark {
      @Benchmark
      long stopwatch(int reps) {
        long total = 0;
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 1.5K bytes
    - Viewed (0)
  10. android/guava-testlib/src/com/google/common/collect/testing/testers/CollectionAddAllTester.java

      }
    
      /**
       * Returns the {@link Method} instance for {@link #testAddAll_unsupportedNonePresent()} so that
       * tests can suppress it with {@code FeatureSpecificTestSuiteBuilder.suppressing()} while we
       * figure out what to do with <a href="http://goo.gl/qJBruX">{@code ConcurrentHashMap} support for
       * {@code entrySet().add()}</a>.
       */
      @J2ktIncompatible
      @GwtIncompatible // reflection
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 7.7K bytes
    - Viewed (0)
Back to top