Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for sekondes (0.04 sec)

  1. docs/recipes.md

    === ":material-language-kotlin: Kotlin"
        ```kotlin
          private val client: OkHttpClient = OkHttpClient.Builder()
              .connectTimeout(5, TimeUnit.SECONDS)
              .writeTimeout(5, TimeUnit.SECONDS)
              .readTimeout(5, TimeUnit.SECONDS)
              .callTimeout(10, TimeUnit.SECONDS)
              .build()
    
          fun run() {
            val request = Request.Builder()
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 30 17:01:12 UTC 2025
    - 47.8K bytes
    - Viewed (0)
  2. okhttp-sse/src/test/java/okhttp3/sse/internal/EventSourceRecorder.kt

      }
    
      private fun drainCancelQueue(eventSource: EventSource) {
        if (cancel) {
          cancel = false
          eventSource.cancel()
        }
      }
    
      private fun nextEvent(): Any =
        events.poll(10, TimeUnit.SECONDS)
          ?: throw AssertionError("Timed out waiting for event.")
    
      fun assertExhausted() {
        assertThat(events).isEmpty()
      }
    
      fun assertEvent(
        id: String?,
        type: String?,
        data: String,
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 30 11:32:52 UTC 2025
    - 3.2K bytes
    - Viewed (0)
  3. okhttp/src/jvmTest/kotlin/okhttp3/internal/http/ThreadInterruptTest.kt

            }
          },
        )
    
        // This should fail the Call, but not cause an unhandled Exception bubbling up
        client.dispatcher.executorService.shutdownNow()
    
        val exception = callFailure.get(5, TimeUnit.SECONDS)
        assertThat(exception.message).isEqualTo("canceled due to java.lang.InterruptedException")
        assertThat(exception).isInstanceOf<IOException>()
        assertThat(exception.cause)
          .isNotNull()
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 30 11:30:11 UTC 2025
    - 6.1K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/thumbnail/impl/CommandGeneratorTest.java

        public void test_configuration_validation() throws Exception {
            // Test configuration without actual execution
            generator.setCommandTimeout(30000L); // 30 seconds
            generator.setCommandDestroyTimeout(5000L); // 5 seconds
            generator.setBaseDir(new File(System.getProperty("java.io.tmpdir")));
            generator.setCommandList(Arrays.asList("imagemagick", "convert", "${url}", "${outputFile}"));
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sun Aug 31 08:19:00 UTC 2025
    - 16.4K bytes
    - Viewed (0)
  5. guava-gwt/pom.xml

                  <sourceLevel>1.8</sourceLevel>
                  <!-- Keep these timeouts very large because, if we hit the timeout, the tests silently pass :( -->
                  <testTimeOut>86400 <!-- seconds --></testTimeOut>
                  <testMethodTimeout>1440 <!-- minutes --></testMethodTimeout>
                  <!-- Presumably we want watchFileChanges=false here, since we want it for compile: -->
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Sep 04 21:35:58 UTC 2025
    - 19.4K bytes
    - Viewed (0)
Back to top