Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for ambiguous (0.91 sec)

  1. android/guava-tests/benchmark/com/google/common/base/StopwatchBenchmark.java

    import static java.util.concurrent.TimeUnit.NANOSECONDS;
    
    import com.google.caliper.Benchmark;
    
    /**
     * 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;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  2. guava-tests/benchmark/com/google/common/base/StopwatchBenchmark.java

    import static java.util.concurrent.TimeUnit.NANOSECONDS;
    
    import com.google.caliper.Benchmark;
    
    /**
     * 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;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  3. android/guava-testlib/src/com/google/common/collect/testing/testers/MapComputeTester.java

      }
    
      @MapFeature.Require({SUPPORTS_PUT, SUPPORTS_REMOVE, ALLOWS_NULL_VALUES})
      @CollectionSize.Require(absent = ZERO)
      public void testCompute_presentNullToNull() {
        // The spec is somewhat ambiguous about this case, but the actual default implementation
        // in Map will remove a present null.
        initMapWithNullValue();
        assertNull(
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 31 14:51:04 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  4. guava-testlib/src/com/google/common/collect/testing/testers/MapComputeTester.java

      }
    
      @MapFeature.Require({SUPPORTS_PUT, SUPPORTS_REMOVE, ALLOWS_NULL_VALUES})
      @CollectionSize.Require(absent = ZERO)
      public void testCompute_presentNullToNull() {
        // The spec is somewhat ambiguous about this case, but the actual default implementation
        // in Map will remove a present null.
        initMapWithNullValue();
        assertNull(
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 20:00:30 UTC 2024
    - 7.1K bytes
    - Viewed (0)
  5. compat/maven-model-builder/src/main/java/org/apache/maven/model/interpolation/reflection/MethodMap.java

            }
    
            return getMostSpecific(methodList, classes);
        }
    
        /**
         * simple distinguishable exception, used when
         * we run across ambiguous overloading
         */
        static class AmbiguousException extends Exception {
    
            private static final long serialVersionUID = 751688436639650618L;
        }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 14.2K bytes
    - Viewed (0)
  6. guava/src/com/google/common/base/Stopwatch.java

       * <p><b>Note:</b> the overhead of measurement can be more than a microsecond, so it is generally
       * not useful to specify {@link TimeUnit#NANOSECONDS} precision here.
       *
       * <p>It is generally not a good idea to use an ambiguous, unitless {@code long} to represent
       * elapsed time. Therefore, we recommend using {@link #elapsed()} instead, which returns a
       * strongly-typed {@code Duration} instance.
       *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 31 14:20:11 UTC 2024
    - 9.3K bytes
    - Viewed (0)
  7. CHANGELOG/CHANGELOG-1.32.md

    - Applyconfiguration-gen no longer generates duplicate methods and ambiguous member accesses when types end up with multiple members of the same name (through embedded structs). ([#127001](https://github.com/kubernetes/kubernetes/pull/127001), [@skitt](https://github.com/skitt)) [SIG API Machinery]
    Registered: Fri Nov 01 09:05:11 UTC 2024
    - Last Modified: Tue Oct 29 20:17:52 UTC 2024
    - 121.6K bytes
    - Viewed (0)
  8. doc/go1.17_spec.html

    func()(x)        // function signature func() x
    (func())(x)      // x is converted to func()
    (func() int)(x)  // x is converted to func() int
    func() int(x)    // x is converted to func() int (unambiguous)
    </pre>
    
    <p>
    A <a href="#Constants">constant</a> value <code>x</code> can be converted to
    type <code>T</code> if <code>x</code> is <a href="#Representability">representable</a>
    by a value of <code>T</code>.
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Thu Oct 10 18:25:45 UTC 2024
    - 211.6K bytes
    - Viewed (0)
Back to top