Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 241 - 250 of 365 for Milliseconds (0.09 seconds)

  1. okhttp-sse/src/test/java/okhttp3/sse/internal/EventSourceHttpTest.kt

      @Test
      fun fullCallTimeoutDoesNotApplyOnceConnected() {
        client =
          client
            .newBuilder()
            .callTimeout(250, TimeUnit.MILLISECONDS)
            .build()
        server.enqueue(
          MockResponse
            .Builder()
            .bodyDelay(500, TimeUnit.MILLISECONDS)
            .setHeader("content-type", "text/event-stream")
            .body("data: hey\n\n")
            .build(),
        )
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Nov 04 19:13:52 GMT 2025
    - 8.8K bytes
    - Click Count (0)
  2. okhttp/src/jvmTest/kotlin/okhttp3/InterceptorTest.kt

      fun connectTimeout() {
        val interceptor1 =
          Interceptor { chainA: Interceptor.Chain ->
            assertThat(chainA.connectTimeoutMillis()).isEqualTo(5000)
            val chainB = chainA.withConnectTimeout(100, TimeUnit.MILLISECONDS)
            assertThat(chainB.connectTimeoutMillis()).isEqualTo(100)
            chainB.proceed(chainA.request())
          }
        val interceptor2 =
          Interceptor { chain: Interceptor.Chain ->
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Nov 04 16:11:23 GMT 2025
    - 28.2K bytes
    - Click Count (0)
  3. api/maven-api-core/src/main/java/org/apache/maven/api/Constants.java

        /**
         * The date and time format to be used in the output messages. The pattern describing the date and
         * time format is defined by SimpleDateFormat. If the format is not specified or is invalid, the
         * number of milliseconds since start up will be output.
         *
         * @since 4.0.0
         */
        @Config
        public static final String MAVEN_LOGGER_DATE_TIME_FORMAT = MAVEN_LOGGER_PREFIX + "dateTimeFormat";
    
        /**
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Dec 16 13:41:14 GMT 2025
    - 28.7K bytes
    - Click Count (0)
  4. src/main/java/jcifs/smb/SmbSessionImpl.java

        }
    
        /**
         * Schedule a reconnection attempt
         *
         * @param delayMs delay in milliseconds
         */
        private void scheduleReconnection(long delayMs) {
            CompletableFuture.delayedExecutor(delayMs, TimeUnit.MILLISECONDS).execute(() -> {
                try {
                    transport.disconnect(true);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 68.9K bytes
    - Click Count (0)
  5. internal/cachevalue/cache.go

    	ttl := t.ttl
    	vTime := t.lastUpdateMs.Load()
    	tNow := time.Now().UnixMilli()
    	if v != nil && tNow-vTime < ttl.Milliseconds() {
    		return *v, nil
    	}
    
    	// Fetch new value asynchronously, while we do not return an error
    	// if v != nil value or
    	if t.opts.NoWait && v != nil && tNow-vTime < ttl.Milliseconds()*2 {
    		if t.updating.TryLock() {
    			go func() {
    				defer t.updating.Unlock()
    				t.update(context.Background())
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri May 24 12:50:46 GMT 2024
    - 4.4K bytes
    - Click Count (0)
  6. src/main/java/jcifs/smb/SmbFile.java

        /**
         * Mask for attributes that can be set on the server
         */
        protected static final int ATTR_SET_MASK = 0x30A7;
        /**
         * Default expiration period for cached attributes in milliseconds
         */
        protected static final int DEFAULT_ATTR_EXPIRATION_PERIOD = 5000;
    
        /**
         * Hash code for the "." directory entry
         */
        protected static final int HASH_DOT = ".".hashCode();
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 103.2K bytes
    - Click Count (0)
  7. okhttp-dnsoverhttps/src/test/java/okhttp3/dnsoverhttps/DnsOverHttpsTest.kt

        assertThat(server.takeRequest(0, TimeUnit.MILLISECONDS)).isNull()
        assertThat(result).isEqualTo(listOf(address("157.240.1.18")))
    
        assertThat(cacheEvents()).containsExactly(CacheHit::class)
    
        result = cachedDns.lookup("www.google.com")
        assertThat(result).containsExactly(address("157.240.1.18"))
        recordedRequest = server.takeRequest(0, TimeUnit.MILLISECONDS)!!
        assertThat(recordedRequest.method).isEqualTo("POST")
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Nov 04 19:13:52 GMT 2025
    - 11.9K bytes
    - Click Count (0)
  8. android/guava/src/com/google/common/util/concurrent/AbstractFuture.java

    import static java.lang.Integer.toHexString;
    import static java.lang.System.identityHashCode;
    import static java.util.Objects.requireNonNull;
    import static java.util.concurrent.TimeUnit.MILLISECONDS;
    import static java.util.logging.Level.SEVERE;
    
    import com.google.common.annotations.GwtCompatible;
    import com.google.common.base.Strings;
    import com.google.common.util.concurrent.internal.InternalFutureFailureAccess;
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Mar 07 14:39:00 GMT 2026
    - 43.6K bytes
    - Click Count (0)
  9. mockwebserver-deprecated/src/main/kotlin/okhttp3/mockwebserver/MockResponse.kt

      @set:JvmName("http2ErrorCode")
      var http2ErrorCode: Int = -1
    
      private var bodyDelayAmount = 0L
      private var bodyDelayUnit = TimeUnit.MILLISECONDS
    
      private var headersDelayAmount = 0L
      private var headersDelayUnit = TimeUnit.MILLISECONDS
    
      private var promises = mutableListOf<PushPromise>()
      var settings: Settings = Settings()
        private set
      var webSocketListener: WebSocketListener? = null
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Sat May 10 11:15:14 GMT 2025
    - 7.1K bytes
    - Click Count (1)
  10. build-tools-internal/src/main/groovy/elasticsearch.build-scan.gradle

              "${nodeName}?_g=()&metricTime=(autoReload:!f,refreshInterval:5000," +
              "time:(from:${startTime - TimeUnit.MILLISECONDS.convert(5, TimeUnit.MINUTES)},interval:%3E%3D1m," +
              "to:${System.currentTimeMillis() + TimeUnit.MILLISECONDS.convert(5, TimeUnit.MINUTES)}))"
          }
        }
    
        // Jenkins-specific build scan metadata
        if (jenkinsUrl) {
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Wed Jul 21 20:40:34 GMT 2021
    - 4.6K bytes
    - Click Count (0)
Back to Top