Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for records (0.06 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. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/concurrent/TaskRunner.kt

        val executor =
          ThreadPoolExecutor(
            // corePoolSize:
            0,
            // maximumPoolSize:
            Int.MAX_VALUE,
            // keepAliveTime:
            60L,
            TimeUnit.SECONDS,
            SynchronousQueue(),
            threadFactory,
          )
    
        override fun nanoTime() = System.nanoTime()
    
        override fun coordinatorNotify(taskRunner: TaskRunner) {
          taskRunner.notify()
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 30 11:30:11 UTC 2025
    - 10.4K bytes
    - Viewed (0)
  5. 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)
  6. .github/workflows/ci.yml

            shell: bash
            run: ./mvnw -B -P!standard-with-extra-repos -Dtoolchain.skip verify -U -Dmaven.javadoc.skip=true -Dsurefire.toolchain.version=${{ matrix.java }} -f $ROOT_POM
          - name: 'Print Surefire reports'
            # Note: Normally a step won't run if the job has failed, but this causes it to
            if: ${{ failure() }}
            shell: bash
            run: ./util/print_surefire_reports.sh
          - name: 'Set up Gradle'
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Sep 03 19:19:31 UTC 2025
    - 4.7K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/helper/SystemHelper.java

                logger.debug("Search Role: {}:{}={}", type, name, value);
            }
            return value;
        }
    
        /**
         * Reloads the application configuration.
         */
        public void reloadConfiguration() {
            reloadConfiguration(true);
        }
    
        /**
         * Reloads the application configuration.
         *
         * @param resetJobs true to reset scheduled jobs.
         */
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sun Aug 31 08:19:00 UTC 2025
    - 36.6K bytes
    - Viewed (0)
  8. 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