Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 73 of 73 for nanotime1 (0.04 sec)

  1. okhttp/src/jvmTest/kotlin/okhttp3/URLConnectionTest.kt

            .build(),
        )
        server.enqueue(
          MockResponse(body = "A"),
        )
        val startNanos = System.nanoTime()
        val connection1 = getResponse(newRequest("/"))
        val inputStream = connection1.body.byteStream()
        inputStream.close()
        val elapsedNanos = System.nanoTime() - startNanos
        val elapsedMillis = TimeUnit.NANOSECONDS.toMillis(elapsedNanos)
    
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Sat Jun 21 20:36:35 UTC 2025
    - 133.2K bytes
    - Viewed (0)
  2. guava/src/com/google/common/cache/CacheBuilder.java

      long getRefreshNanos() {
        return (refreshNanos == UNSET_INT) ? DEFAULT_REFRESH_NANOS : refreshNanos;
      }
    
      /**
       * Specifies a nanosecond-precision time source for this cache. By default, {@link
       * System#nanoTime} is used.
       *
       * <p>The primary intent of this method is to facilitate testing of caches with a fake or mock
       * time source.
       *
       * @return this {@code CacheBuilder} instance (for chaining)
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Wed Oct 08 18:55:33 UTC 2025
    - 51.6K bytes
    - Viewed (0)
  3. okhttp/src/androidMain/baseline-prof.txt

    HSPLokhttp3/internal/concurrent/TaskRunner$RealBackend;->execute(Lokhttp3/internal/concurrent/TaskRunner;Ljava/lang/Runnable;)V
    HSPLokhttp3/internal/concurrent/TaskRunner$RealBackend;->nanoTime()J
    HSPLokhttp3/internal/concurrent/TaskRunner$runnable$1;-><init>(Lokhttp3/internal/concurrent/TaskRunner;)V
    HSPLokhttp3/internal/concurrent/TaskRunner$runnable$1;->run()V
    HSPLokhttp3/internal/concurrent/TaskRunner;-><clinit>()V
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Mon Dec 30 23:28:56 UTC 2024
    - 127.9K bytes
    - Viewed (1)
Back to top