Search Options

Results per page
Sort
Preferred Languages
Advance

Results 141 - 150 of 259 for intercept (0.18 sec)

  1. android/guava-tests/test/com/google/common/util/concurrent/AbstractFutureBenchmarks.java

          boolean setException(Throwable t) {
            return complete(null, t, COMPLETED);
          }
    
          /** Transition to the CANCELLED or INTERRUPTED state. */
          boolean cancel(boolean interrupt) {
            return complete(null, null, interrupt ? INTERRUPTED : CANCELLED);
          }
    
          /**
           * Implementation of completing a task. Either {@code v} or {@code t} will be set but not
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Jan 30 16:59:10 UTC 2025
    - 13.7K bytes
    - Viewed (0)
  2. docs/changelogs/changelog_1x.md

    ## Version 1.5.3
    
    _2014-03-29_
    
     * Fix bug where the Content-Length header was not always dropped when
       following a redirect from a POST to a GET.
     * Implement basic support for `Thread.interrupt()`. OkHttp now checks
       for an interruption before doing a blocking call. If it is interrupted,
       it throws an `InterruptedIOException`.
    
    ## Version 1.5.2
    
    _2014-03-17_
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sun Feb 06 02:19:09 UTC 2022
    - 6.4K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/witness/MockWitnessService.java

            }
    
            if (serverThread != null) {
                try {
                    serverThread.join(5000); // Wait up to 5 seconds
                } catch (InterruptedException e) {
                    Thread.currentThread().interrupt();
                }
            }
    
            registrations.clear();
            log.info("Mock witness service stopped");
        }
    
        /**
         * Get the address the service is listening on
         *
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 09:06:40 UTC 2025
    - 8.2K bytes
    - Viewed (0)
  4. docs/features/connections.md

    ### [URLs](https://square.github.io/okhttp/4.x/okhttp/okhttp3/-http-url/)
    
    URLs (like `https://github.com/square/okhttp`) are fundamental to HTTP and the Internet. In addition to being a universal, decentralized naming scheme for everything on the web, they also specify how to access web resources.
    
    URLs are abstract:
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon Feb 21 03:33:59 UTC 2022
    - 5.4K bytes
    - Viewed (0)
  5. src/test/java/jcifs/tests/persistent/PersistentHandleManagerTest.java

                    null);
    
            // Wait for expiration
            try {
                Thread.sleep(150);
            } catch (InterruptedException e) {
                Thread.currentThread().interrupt();
            }
    
            HandleInfo info = manager.getHandleForReconnect("/test/file.txt");
            assertNull(info);
        }
    
        @Test
        public void testCompleteReconnectSuccess() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 04:51:33 UTC 2025
    - 6.6K bytes
    - Viewed (0)
  6. fess-crawler/src/test/java/org/codelibs/fess/crawler/CrawlerTest.java

                    try {
                        Thread.sleep(50);
                    } catch (InterruptedException e) {
                        Thread.currentThread().interrupt();
                        break;
                    }
                }
                assertEquals(CrawlerStatus.RUNNING, crawler.crawlerContext.getStatus());
                crawler.awaitTermination();
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sat Sep 06 04:15:37 UTC 2025
    - 19.1K bytes
    - Viewed (0)
  7. src/main/java/jcifs/internal/smb2/lease/DirectoryLeaseManager.java

                    scheduler.shutdownNow();
                }
            } catch (InterruptedException e) {
                scheduler.shutdownNow();
                Thread.currentThread().interrupt();
            }
    
            // Stop all change watchers
            for (String path : directoryCache.keySet()) {
                changeNotifier.stopWatching(path);
            }
    
            // Clear caches
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 01:47:47 UTC 2025
    - 12.3K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/helper/IntervalControlHelperTest.java

                try {
                    Thread.sleep(100);
                    helper.setCrawlerRunning(true);
                } catch (InterruptedException e) {
                    Thread.currentThread().interrupt();
                }
            });
            thread.start();
    
            start = System.currentTimeMillis();
            helper.checkCrawlerStatus();
            end = System.currentTimeMillis();
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 10 13:41:04 UTC 2025
    - 13.1K bytes
    - Viewed (0)
  9. okhttp-testing-support/src/main/kotlin/okhttp3/internal/concurrent/TaskFaker.kt

      /** Unblock a waiting task thread. Used by the test thread only. */
      fun interruptCoordinatorThread() {
        taskRunner.assertLockNotHeld()
        require(currentTask == TestThreadSerialTask)
    
        // Queue a task to interrupt the waiting coordinator.
        serialTaskQueue +=
          object : SerialTask {
            override fun start() {
              taskRunner.assertLockHeld()
              waitingCoordinatorInterrupted = true
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed May 28 23:28:25 UTC 2025
    - 11.9K bytes
    - Viewed (0)
  10. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/concurrent/TaskRunner.kt

              withLock {
                afterRun(task, -1L, false)
              }
              if (thrown is InterruptedException) {
                Thread.currentThread().interrupt()
              } else {
                throw thrown
              }
            } finally {
              currentThread.name = oldName
            }
          }
        }
    
      internal fun kickCoordinator(taskQueue: TaskQueue) {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 30 11:30:11 UTC 2025
    - 10.4K bytes
    - Viewed (0)
Back to top