Search Options

Results per page
Sort
Preferred Languages
Advance

Results 201 - 210 of 684 for secunds (0.62 sec)

  1. okhttp/src/jvmTest/kotlin/okhttp3/internal/http/HttpDateTest.kt

        assertThat("Thu, 01 Jan 1970 00:00:00 GMT JUNK".toHttpDateOrNull()!!.time).isEqualTo(0L)
        // Missing timezones treated as bad.
        assertThat("Thu, 01 Jan 1970 00:00:00".toHttpDateOrNull()).isNull()
        // Missing seconds treated as bad.
        assertThat("Thu, 01 Jan 1970 00:00 GMT".toHttpDateOrNull()).isNull()
        // Extra spaces treated as bad.
        assertThat("Thu,  01 Jan 1970 00:00 GMT".toHttpDateOrNull()).isNull()
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  2. okhttp/src/jvmTest/kotlin/okhttp3/EventListenerTest.kt

          "ConnectionReleased",
          "CallEnd",
        )
      }
    
      @Test
      fun failedCallEventSequence() {
        server.enqueue(
          MockResponse
            .Builder()
            .headersDelay(2, TimeUnit.SECONDS)
            .build(),
        )
        client =
          client
            .newBuilder()
            .readTimeout(Duration.ofMillis(250))
            .build()
        val call =
          client.newCall(
            Request
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Jun 20 11:46:46 UTC 2025
    - 60.4K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/smb2/persistent/PersistentHandleManager.java

            // Load persisted handles on startup
            loadPersistedHandles();
    
            // Schedule periodic persistence and cleanup
            scheduler.scheduleAtFixedRate(this::periodicMaintenance, 30, 30, TimeUnit.SECONDS);
        }
    
        /**
         * Request a new durable handle
         * @param path the file path
         * @param type the handle type
         * @param timeout the timeout in milliseconds
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 24 00:49:49 UTC 2025
    - 13K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb2/lease/LeaseManagerTest.java

            Smb2LeaseKey key = leaseManager.requestLease(path, initialState);
            leaseManager.updateLease(key, initialState);
    
            // Call with default timeout (should use 60 seconds from config)
            leaseManager.handleLeaseBreakWithTimeout(key, newState);
    
            LeaseEntry entry = leaseManager.getLease(key);
            assertNotNull(entry);
            assertEquals(newState, entry.getLeaseState());
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 00:16:17 UTC 2025
    - 13.2K bytes
    - Viewed (0)
  5. guava/src/com/google/common/base/Joiner.java

      @CanIgnoreReturnValue
      public final <A extends Appendable> A appendTo(
          A appendable, @Nullable Object first, @Nullable Object second, @Nullable Object... rest)
          throws IOException {
        return appendTo(appendable, iterable(first, second, rest));
      }
    
      /**
       * Appends the string representation of each of {@code parts}, using the previously configured
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Apr 14 15:16:19 UTC 2025
    - 21K bytes
    - Viewed (0)
  6. mockwebserver/README.md

    testing timeouts and interactive testing.
    
    ### Java
    ```java
    MockResponse response = new MockResponse.Builder()
        .throttleBody(1024, 1, TimeUnit.SECONDS)
        .build();
    ```
    
    ### Kotlin
    ```kotlin
    val response = MockResponse.Builder()
      .throttleBody(1024, 1, TimeUnit.SECONDS)
      .build()
    ```
    
    #### RecordedRequest
    
    Verify requests by their method, path, HTTP version, body, and headers.
    
    ### Java
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Jul 19 13:40:52 UTC 2025
    - 8.1K bytes
    - Viewed (0)
  7. okhttp-dnsoverhttps/src/test/java/okhttp3/dnsoverhttps/DnsOverHttpsTest.kt

            .build(),
        )
        var result = cachedDns.lookup("google.com")
        assertThat(result).containsExactly(address("157.240.1.18"))
        var recordedRequest = server.takeRequest(0, TimeUnit.SECONDS)
        assertThat(recordedRequest!!.method).isEqualTo("GET")
        assertThat(recordedRequest.url.encodedQuery).isEqualTo(
          "ct&dns=AAABAAABAAAAAAAABmdvb2dsZQNjb20AAAEAAQ",
        )
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Jun 18 12:28:21 UTC 2025
    - 11.7K bytes
    - Viewed (0)
  8. cmd/mrf.go

    				if wildcard.Match("tmp-old/*", u.Object) {
    					continue
    				}
    			}
    
    			now := time.Now()
    			if now.Sub(u.Queued) < time.Second {
    				// let recently failed networks to reconnect
    				// making MRF wait for 1s before retrying,
    				// i.e 4 reconnect attempts.
    				time.Sleep(time.Second)
    			}
    
    			// wait on timer per heal
    			wait := healSleeper.Timer(context.Background())
    
    			scan := madmin.HealNormalScan
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Tue May 27 15:19:03 UTC 2025
    - 6.5K bytes
    - Viewed (0)
  9. src/test/java/jcifs/smb/FileEntryAdapterIteratorTest.java

        }
    
        @Test
        @DisplayName("Iterator with rejecting filter - finds next acceptable")
        void iteratorWithRejectingFilter() throws Exception {
            // Setup: first entry rejected, second accepted
            FileEntry entry1 = mock(FileEntry.class);
            FileEntry entry2 = mock(FileEntry.class);
    
            when(delegate.hasNext()).thenReturn(true, true, false);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 10.6K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/base/Converter.java

          implements Serializable {
        final Converter<A, B> first;
        final Converter<B, C> second;
    
        ConverterComposition(Converter<A, B> first, Converter<B, C> second) {
          this.first = first;
          this.second = second;
        }
    
        /*
         * These gymnastics are a little confusing. Basically this class has neither legacy nor
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jun 18 21:43:06 UTC 2025
    - 22.8K bytes
    - Viewed (0)
Back to top