Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for toDouble (0.06 sec)

  1. okhttp/src/test/java/okhttp3/CacheTest.kt

        val response1 = get(server.url("/a"))
        assertThat(response1.body.string()).isEqualTo("A")
        assertThat(response1.header("Allow")).isNull()
        assertThat((response1.receivedResponseAtMillis - t0).toDouble()).isCloseTo(0.0, 250.0)
    
        // A conditional cache hit updates the cache.
        Thread.sleep(500) // Make sure t0 and t1 are distinct.
        val t1 = System.currentTimeMillis()
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Wed Apr 10 19:46:48 UTC 2024
    - 108.6K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/io/testdata/alice_in_wonderland.txt

    as you say it.'
    
      `That's nothing to what I could say if I chose,' the Duchess
    replied, in a pleased tone.
    
      `Pray don't trouble yourself to say it any longer than that,'
    said Alice.
    
      `Oh, don't talk about trouble!' said the Duchess.  `I make you
    a present of everything I've said as yet.'
    
      `A cheap sort of present!' thought Alice.  `I'm glad they don't
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 29 21:35:03 UTC 2012
    - 145.2K bytes
    - Viewed (0)
  3. guava/src/com/google/common/cache/LocalCache.java

     * @author Bob Lee ({@code com.google.common.collect.MapMaker})
     * @author Doug Lea ({@code ConcurrentHashMap})
     */
    @SuppressWarnings({
      "GoodTime", // lots of violations (nanosecond math)
      "nullness", // too much trouble for the payoff
    })
    @GwtCompatible(emulated = true)
    // TODO(cpovirk): Annotate for nullness.
    class LocalCache<K, V> extends AbstractMap<K, V> implements ConcurrentMap<K, V> {
    
      /*
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 149.2K bytes
    - Viewed (0)
Back to top