Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 12 for threadId (0.07 sec)

  1. android/guava-tests/test/com/google/common/cache/LocalCacheTest.java

        CountDownLatch doneSignal = new CountDownLatch(1);
        Thread thread =
            new Thread(
                () -> {
                  try {
                    cache.get(key, loader);
                  } catch (UncheckedExecutionException | ExecutionException e) {
                    doneSignal.countDown();
                  }
                });
        thread.start();
    
        boolean done = doneSignal.await(1, SECONDS);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 110.5K bytes
    - Viewed (0)
  2. okhttp/src/jvmTest/kotlin/okhttp3/CallTest.kt

        call: Call,
        delay: Long,
      ): Thread {
        val thread =
          object : Thread("canceler") {
            override fun run() {
              try {
                sleep(delay)
              } catch (e: InterruptedException) {
                throw AssertionError()
              }
              call.cancel()
            }
          }
        thread.start()
        return thread
      }
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Jul 31 04:18:40 UTC 2025
    - 146.6K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/util/concurrent/ClosingFuture.java

       * (Specifically, {@code directExecutor} functions should avoid heavyweight operations inside
       * {@code AsyncClosingFunction.apply}. Any heavyweight operations should occur in other threads
       * responsible for completing the returned {@code ClosingFuture}.)
       *
       * <p>After calling this method, you may not call {@link #finishToFuture()}, {@link
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 23 15:26:56 UTC 2025
    - 97.8K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/mylasta/action/FessLabels.java

        /** The key of the message: Name */
        public static final String LABELS_NAME = "{labels.name}";
    
        /** The key of the message: Number of Threads */
        public static final String LABELS_NUM_OF_THREAD = "{labels.numOfThread}";
    
        /** The key of the message: Duplicate Host Name */
        public static final String LABELS_DUPLICATE_HOST_NAME = "{labels.duplicateHostName}";
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 05 02:36:47 UTC 2025
    - 146.4K bytes
    - Viewed (0)
  5. okhttp/src/jvmTest/kotlin/okhttp3/URLConnectionTest.kt

        assertThat(server.takeRequest().exchangeIndex).isEqualTo(0)
    
        // Give the server time to enact the socket policy if it's one that could happen after the
        // client has received the response.
        Thread.sleep(500)
        val response2 = getResponse(newRequest("/b"))
        response1.body
          .source()
          .timeout()
          .timeout(100, TimeUnit.MILLISECONDS)
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Jun 21 20:36:35 UTC 2025
    - 133.2K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb1/smb1/SmbFile.java

        static final int O_TRUNC = 0x0040;
    
        // share access
        /**
         * When specified as the {@code shareAccess} constructor parameter,
         * other SMB clients (including other threads making calls into jCIFS)
         * will not be permitted to access the target file and will receive "The
         * file is being accessed by another process" message.
         */
        public static final int FILE_NO_SHARE = 0x00;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 112.2K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/mylasta/action/FessMessages.java

        /** The key of the message: Unauthorized request. */
        public static final String ERRORS_unauthorized_request = "{errors.unauthorized_request}";
    
        /** The key of the message: Failed to print a thread dump. */
        public static final String ERRORS_failed_to_print_thread_dump = "{errors.failed_to_print_thread_dump}";
    
        /** The key of the message: {0} is not supported. */
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 05 02:36:47 UTC 2025
    - 119.6K bytes
    - Viewed (0)
  8. guava/src/com/google/common/util/concurrent/ClosingFuture.java

       * (Specifically, {@code directExecutor} functions should avoid heavyweight operations inside
       * {@code AsyncClosingFunction.apply}. Any heavyweight operations should occur in other threads
       * responsible for completing the returned {@code ClosingFuture}.)
       *
       * <p>After calling this method, you may not call {@link #finishToFuture()}, {@link
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 23 15:26:56 UTC 2025
    - 98.1K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb/SmbFile.java

                if (isRetryableException(e) && shouldRetryConnection()) {
                    log.debug("Retrying tree connection after transient failure", e);
                    try {
                        Thread.sleep(100); // Brief delay before retry
                        this.treeHandle = this.treeConnection.connectWrapException(this.fileLocator);
                        if (this.fileLocator.getURL().getPath().contains("\\")) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 103.2K bytes
    - Viewed (0)
  10. okhttp/src/jvmTest/kotlin/okhttp3/CacheTest.kt

        assertThat(response1.header("Allow")).isNull()
        assertThat((response1.receivedResponseAtMillis - t0).toDouble()).isCloseTo(0.0, 250.0)
    
        // A conditional cache hit updates the cache.
        Thread.sleep(500) // Make sure t0 and t1 are distinct.
        val t1 = System.currentTimeMillis()
        val response2 = get(server.url("/a"))
        assertThat(response2.code).isEqualTo(HttpURLConnection.HTTP_OK)
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 16 09:39:51 UTC 2025
    - 113.6K bytes
    - Viewed (0)
Back to top