Search Options

Results per page
Sort
Preferred Languages
Advance

Results 151 - 160 of 394 for segons (0.14 sec)

  1. samples/guide/src/main/java/okhttp3/recipes/kt/PerCallSettings.kt

    class PerCallSettings {
      private val client = OkHttpClient()
    
      fun run() {
        val request =
          Request
            .Builder()
            .url("http://httpbin.org/delay/1") // This URL is served with a 1 second delay.
            .build()
    
        // Copy to customize OkHttp for this request.
        val client1 =
          client
            .newBuilder()
            .readTimeout(500, TimeUnit.MILLISECONDS)
            .build()
        try {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 1.7K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/util/concurrent/ServiceManagerTest.java

        assertThrows(TimeoutException.class, () -> manager.awaitHealthy(1, MILLISECONDS));
        manager.awaitHealthy(5, SECONDS); // no exception thrown
    
        manager.stopAsync();
        assertThrows(TimeoutException.class, () -> manager.awaitStopped(1, MILLISECONDS));
        manager.awaitStopped(5, SECONDS); // no exception thrown
      }
    
      /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 16 20:34:52 UTC 2025
    - 25.5K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/EmptyImmutableListMultimap.java

        super(ImmutableMap.<Object, ImmutableList<Object>>of(), 0);
      }
    
      /*
       * TODO(b/242884182): Figure out why this helps produce the same class file when we compile most
       * of common.collect a second time with the results of the first compilation on the classpath. Or
       * just back this out once we stop doing that (which we'll do after our internal GWT setup
       * changes).
       */
      @Override
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Aug 06 14:59:07 UTC 2025
    - 1.8K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/util/concurrent/AbstractClosingFutureTest.java

      private void assertNoExpectedFailures() {
        assertWithMessage("executor was shut down")
            .that(shutdownAndAwaitTermination(executor, 10, SECONDS))
            .isTrue();
        assertWithMessage("closingExecutor was shut down")
            .that(shutdownAndAwaitTermination(closingExecutor, 10, SECONDS))
            .isTrue();
        if (!failures.isEmpty()) {
          StringWriter message = new StringWriter();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Jul 11 18:52:30 UTC 2025
    - 75.4K bytes
    - Viewed (0)
  5. okhttp/src/jvmTest/kotlin/okhttp3/RouteFailureTest.kt

            }.build()
    
        executeSynchronously(request)
          .assertBody("body")
    
        assertThat(client.routeDatabase.failedRoutes).isEmpty()
        // TODO check if we expect a second request to server1, before attempting server2
        assertThat(server1.requestCount).isEqualTo(2)
        assertThat(server2.requestCount).isEqualTo(1)
    
        assertThat(clientTestRule.recordedConnectionEventTypes()).containsExactly(
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Jun 20 11:46:46 UTC 2025
    - 11.7K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/dict/stopwords/StopwordsItemTest.java

            item.setNewInput("first");
            assertEquals("first", item.toLineString());
            assertTrue(item.isUpdated());
            assertFalse(item.isDeleted());
    
            item.setNewInput("second");
            assertEquals("second", item.toLineString());
            assertTrue(item.isUpdated());
            assertFalse(item.isDeleted());
    
            item.setNewInput("");
            assertEquals("", item.toLineString());
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 9.9K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/escape/ArrayBasedEscaperMapTest.java

      }
    
      public void testMapping() {
        Map<Character, String> map =
            ImmutableMap.of(
                '\0', "zero",
                'a', "first",
                'b', "second",
                'z', "last",
                '\uFFFF', "biggest");
        ArrayBasedEscaperMap fem = ArrayBasedEscaperMap.create(map);
        char[][] replacementArray = fem.getReplacementArray();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Feb 18 15:41:04 UTC 2025
    - 2.7K bytes
    - Viewed (0)
  8. samples/guide/src/main/java/okhttp3/recipes/PerCallSettings.java

      private final OkHttpClient client = new OkHttpClient();
    
      public void run() throws Exception {
        Request request = new Request.Builder()
            .url("http://httpbin.org/delay/1") // This URL is served with a 1 second delay.
            .build();
    
        // Copy to customize OkHttp for this request.
        OkHttpClient client1 = client.newBuilder()
            .readTimeout(500, TimeUnit.MILLISECONDS)
            .build();
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sun May 22 01:29:42 UTC 2016
    - 1.9K bytes
    - Viewed (0)
  9. okhttp/src/jvmTest/kotlin/okhttp3/ConnectionCoalescingTest.kt

       * - The first request "wins the race".
       * - The second request discovers it "lost the race" and closes the connection it just opened.
       * - The second request uses the coalesced connection from request1.
       * - The coalesced connection is violently closed after servicing the first request.
       * - The second request discovers the coalesced connection is unhealthy just after acquiring it.
       */
      @Test
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Jun 19 11:44:16 UTC 2025
    - 19.1K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/helper/LabelTypeHelperTest.java

            assertTrue(pattern.match("/test/path"));
    
            // Should match second included path
            assertTrue(pattern.match("/another/path"));
    
            // Should not match first excluded path
            assertFalse(pattern.match("/exclude/path"));
    
            // Should not match second excluded path
            assertFalse(pattern.match("/deny/path"));
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 19 23:49:30 UTC 2025
    - 12.4K bytes
    - Viewed (0)
Back to top