Search Options

Results per page
Sort
Preferred Languages
Advance

Results 201 - 210 of 265 for millisecond (0.05 sec)

  1. cmd/metrics-v3-cache.go

    	m.writesKBPerSec = float64(ioStats.WriteSectors) * float64(sectorSize) / kib / durationSecs
    	if ioStats.WriteIOs > 0 {
    		m.writesAwait = float64(ioStats.WriteTicks) / float64(ioStats.WriteIOs)
    	}
    
    	// TotalTicks is in milliseconds
    	m.percUtil = float64(ioStats.TotalTicks) * 100 / (durationSecs * 1000)
    
    	return
    }
    
    func newDriveMetricsCache() *cachevalue.Cache[storageMetrics] {
    	var (
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Sun Mar 30 00:56:02 UTC 2025
    - 8K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/helper/SearchLogHelper.java

        /**
         * Default constructor for SearchLogHelper.
         */
        public SearchLogHelper() {
            // Default constructor
        }
    
        /** Interval for checking user information in milliseconds (default: 10 minutes). */
        protected long userCheckInterval = 10 * 60 * 1000L; // 10 min
    
        /** Maximum size of the user information cache. */
        protected int userInfoCacheSize = 10000;
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 26.3K bytes
    - Viewed (0)
  3. okhttp/src/jvmTest/kotlin/okhttp3/KotlinSourceModernTest.kt

        builder = builder.noCache()
        builder = builder.noStore()
        builder = builder.maxAge(0, TimeUnit.MILLISECONDS)
        builder = builder.maxStale(0, TimeUnit.MILLISECONDS)
        builder = builder.minFresh(0, TimeUnit.MILLISECONDS)
        builder = builder.onlyIfCached()
        builder = builder.noTransform()
        builder = builder.immutable()
        val cacheControl: CacheControl = builder.build()
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Jun 21 20:36:35 UTC 2025
    - 46.5K bytes
    - Viewed (0)
  4. okhttp-testing-support/src/main/kotlin/okhttp3/RecordingConnectionListener.kt

       *
       * @param eventClass a class to assert that the returned event is an instance of, or null to
       *     take any event class.
       * @param elapsedMs the time in milliseconds elapsed since the immediately-preceding event, or
       *     -1L to take any duration.
       */
      fun takeEvent(
        eventClass: Class<out ConnectionEvent>? = null,
        elapsedMs: Long = -1L,
      ): ConnectionEvent {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri May 30 21:28:20 UTC 2025
    - 5.7K bytes
    - Viewed (0)
  5. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/FastFallbackExchangeFinder.kt

     */
    internal class FastFallbackExchangeFinder(
      override val routePlanner: RoutePlanner,
      private val taskRunner: TaskRunner,
    ) : ExchangeFinder {
      private val connectDelayNanos = TimeUnit.MILLISECONDS.toNanos(250L)
      private var nextTcpConnectAtNanos = Long.MIN_VALUE
    
      /**
       * Plans currently being connected, and that will later be added to [connectResults]. This is
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/smb2/create/Smb2CreateRequest.java

            addCreateContext(new jcifs.internal.smb2.persistent.DurableHandleRequest());
        }
    
        /**
         * Add a durable handle V2 context to this request
         * @param timeoutMs the timeout in milliseconds (0 for persistent handles)
         * @param persistent true if this should be a persistent handle
         * @return the create GUID for this handle
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 02:21:31 UTC 2025
    - 22.9K bytes
    - Viewed (0)
  7. docs/recipes.md

                .build()
    
            // Copy to customize OkHttp for this request.
            val client1 = client.newBuilder()
                .readTimeout(500, TimeUnit.MILLISECONDS)
                .build()
            try {
              client1.newCall(request).execute().use { response ->
                println("Response 1 succeeded: $response")
              }
            } catch (e: IOException) {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 30 17:01:12 UTC 2025
    - 47.8K bytes
    - Viewed (0)
  8. mockwebserver/src/test/java/mockwebserver3/MockWebServerTest.kt

        assertThat(request.requestLine).isEqualTo("GET / HTTP/1.1")
        assertThat(request.headers["Accept-Language"]).isEqualTo("en-US")
    
        // Server has no more requests.
        assertThat(server.takeRequest(100, TimeUnit.MILLISECONDS)).isNull()
      }
    
      @Test
      fun redirect() {
        server.enqueue(
          MockResponse
            .Builder()
            .code(HttpURLConnection.HTTP_MOVED_TEMP)
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sun Aug 03 22:38:00 UTC 2025
    - 28K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/util/concurrent/TimeLimiter.java

       *
       * <pre>
       *   TimeLimiter limiter = . . .;
       *   TargetType proxy = limiter.newProxy(
       *       target, TargetType.class, 50, TimeUnit.MILLISECONDS);
       *   try {
       *     return proxy.someMethod();
       *   } catch (UncheckedTimeoutException e) {
       *     return DEFAULT_VALUE;
       *   }
       * </pre>
       *
       * @param target the object to proxy
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Jan 18 02:54:30 UTC 2025
    - 8.2K bytes
    - Viewed (0)
  10. okhttp/src/jvmTest/kotlin/okhttp3/CacheControlJvmTest.kt

        }
      }
    
      @Test
      @Throws(Exception::class)
      fun timePrecisionIsTruncatedToSeconds() {
        val cacheControl =
          CacheControl
            .Builder()
            .maxAge(4999, TimeUnit.MILLISECONDS)
            .build()
        assertThat(cacheControl.maxAgeSeconds).isEqualTo(4)
      }
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 7.4K bytes
    - Viewed (0)
Back to top