Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 121 - 130 of 231 for intercepted (0.11 seconds)

  1. guava-testlib/src/com/google/common/testing/TestLogHandler.java

    import java.util.List;
    import java.util.logging.Handler;
    import java.util.logging.LogRecord;
    import org.jspecify.annotations.NullMarked;
    import org.jspecify.annotations.Nullable;
    
    /**
     * Tests may use this to intercept messages that are logged by the code under test. Example:
     *
     * <pre>
     *   TestLogHandler handler;
     *
     *   protected void setUp() throws Exception {
     *     super.setUp();
     *     handler = new TestLogHandler();
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 2.8K bytes
    - Click Count (0)
  2. docs/fr/docs/advanced/websockets.md

    Lorsqu'une connexion WebSocket est fermée, l'instruction `await websocket.receive_text()` lèvera une exception `WebSocketDisconnect`, que vous pouvez ensuite intercepter et gérer comme dans cet exemple.
    
    {* ../../docs_src/websockets_/tutorial003_py310.py hl[79:81] *}
    
    Pour l'essayer :
    
    * Ouvrez l'application dans plusieurs onglets du navigateur.
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:37:13 GMT 2026
    - 5.9K bytes
    - Click Count (0)
  3. guava-tests/test/com/google/common/cache/CacheLoadingTest.java

      }
    
      @Override
      public void tearDown() throws Exception {
        super.tearDown();
        /*
         * TODO(cpovirk): Run tests in another thread instead of messing with main thread's interrupted
         * status.
         */
        Thread.interrupted();
        LocalCache.logger.removeHandler(logHandler);
      }
    
      private Throwable popLoggedThrowable() {
        List<LogRecord> logRecords = logHandler.getStoredLogRecords();
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Mar 18 18:06:14 GMT 2026
    - 91K bytes
    - Click Count (0)
  4. src/main/java/org/codelibs/fess/exec/Crawler.java

         *
         * @param crawlerThread the thread to wait for; null threads are ignored
         */
        private void joinCrawlerThread(final Thread crawlerThread) {
            if (crawlerThread != null) {
                try {
                    crawlerThread.join();
                } catch (final Exception e) {
                    logger.info("Interrupted crawling process: name={}", crawlerThread.getName());
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 26 02:24:08 GMT 2026
    - 32.4K bytes
    - Click Count (0)
  5. AI_POLICY.md

    2. **Disclose significant AI involvement.** If AI tools played a major role in producing your contribution, say so in the description. We are not interested in incidental use, such as asking a chatbot for advice or accepting an autocomplete suggestion—but rather in cases where a tool generated substantial portions of the work. Disclosure will not reduce the likelihood of your PR or issue being accepted;...
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Fri Mar 27 18:43:39 GMT 2026
    - 3.1K bytes
    - Click Count (0)
  6. docs/distributed/DECOMMISSION.md

    - All versioned buckets maintain the same order for "versions" for each object after being decommissioned to the other pools.
    - A pool interrupted during the decommission process, such as for a cluster restart, resumes from where it left off.
    
    ## How to decommission a pool
    
    ```
    λ mc admin decommission start alias/ http://minio{1...2}/data{1...4}
    ```
    
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Mon Jul 11 14:59:49 GMT 2022
    - 8.3K bytes
    - Click Count (0)
  7. CONTRIBUTING.md

    4.  Code contributions require signing a Google CLA.
    
    API changes
    -----------
    
    We make changes to Guava's public [APIs][], including adding new APIs, very
    carefully. Because of this, if you're interested in seeing a new feature in
    Guava, the best approach is to create an [issue][] (or comment on an existing
    issue if there is one) requesting the feature and describing specific use cases
    for it.
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Mar 18 17:53:05 GMT 2026
    - 4.3K bytes
    - Click Count (0)
  8. android/guava-tests/test/com/google/common/cache/CacheLoadingTest.java

      }
    
      @Override
      public void tearDown() throws Exception {
        super.tearDown();
        /*
         * TODO(cpovirk): Run tests in another thread instead of messing with main thread's interrupted
         * status.
         */
        Thread.interrupted();
        LocalCache.logger.removeHandler(logHandler);
      }
    
      private Throwable popLoggedThrowable() {
        List<LogRecord> logRecords = logHandler.getStoredLogRecords();
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Mar 18 18:06:14 GMT 2026
    - 91K bytes
    - Click Count (0)
  9. src/test/java/jcifs/smb1/smb1/SmbSessionTest.java

        @Mock
        SmbTransport transport;
    
        // static helper that returns the mocked transport. The real class
        // performs several other operations, but for the purpose of the test
        // we intercept the factory call.
        private MockedStatic<SmbTransport> smbtStatic;
    
        @BeforeEach
        void setUp() throws Exception {
            // Create a real NtlmPasswordAuthentication instance
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 5.6K bytes
    - Click Count (0)
  10. src/test/java/org/codelibs/fess/mylasta/direction/sponsor/FessSecurityResourceProviderTest.java

            // Wait for all threads to complete
            for (Thread thread : threads) {
                try {
                    thread.join();
                } catch (InterruptedException e) {
                    fail("Thread interrupted: " + e.getMessage());
                }
            }
    
            // Verify all threads got the same instances
            for (int i = 0; i < threadCount; i++) {
                assertSame(invertibleCryptographer, invertibles[i]);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 13.2K bytes
    - Click Count (0)
Back to Top