Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 206 for shutdowned (0.35 sec)

  1. src/test/java/jcifs/internal/smb2/lease/LeaseManagerTest.java

            leaseManager = new LeaseManager(mockContext);
        }
    
        @AfterEach
        void tearDown() {
            if (leaseManager != null) {
                leaseManager.shutdown();
            }
        }
    
        @Test
        @DisplayName("Should request new lease")
        void testRequestLease() {
            String path = "/share/file.txt";
            int requestedState = Smb2LeaseState.SMB2_LEASE_FULL;
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 00:16:17 UTC 2025
    - 13.2K bytes
    - Viewed (0)
  2. src/test/java/jcifs/SmbWatchHandleTest.java

                // Verify
                assertNotNull(result);
                assertEquals(1, result.size());
                assertEquals(fileNotifyInfo1, result.get(0));
            } finally {
                executor.shutdown();
            }
        }
    
        /**
         * Test close() method
         */
        @Test
        void testClose() throws CIFSException {
            // Execute
            watchHandle.close();
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.2K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/util/concurrent/ForwardingExecutorServiceTest.java

                throw new AssertionError(
                    "ForwardingExecutorService should have used the default method"
                        + " ExecutorService.close() (which would forward to methods like shutdown() on"
                        + " the delegate) instead of forwarding to delegate.close()");
              }
            };
        ExecutorService wrapper =
            new ForwardingExecutorService() {
              @Override
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 18:45:52 UTC 2025
    - 2.7K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/util/concurrent/ListenableFutureTester.java

              }
            },
            exec);
    
        assertEquals(1, latch.getCount());
        assertFalse(future.isDone());
        assertFalse(future.isCancelled());
      }
    
      public void tearDown() {
        exec.shutdown();
      }
    
      public void testCompletedFuture(@Nullable Object expectedValue)
          throws InterruptedException, ExecutionException {
        assertTrue(future.isDone());
        assertFalse(future.isCancelled());
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Jul 11 18:52:30 UTC 2025
    - 3.3K bytes
    - Viewed (0)
  5. src/main/java/jcifs/internal/smb2/rdma/RdmaProvider.java

        int getMaxMessageSize();
    
        /**
         * Clean up provider resources
         *
         * This method should be called when the provider is no longer needed
         * to release any system resources.
         */
        void shutdown();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 05:11:12 UTC 2025
    - 3K bytes
    - Viewed (0)
  6. guava/src/com/google/common/util/concurrent/AbstractListeningExecutorService.java

     * with the abstract {@link #execute execute(Runnable)} method.
     *
     * <p>In addition to {@link #execute}, subclasses must implement all methods related to shutdown and
     * termination.
     *
     * @author Chris Povirk
     * @since 14.0
     */
    @CheckReturnValue
    @GwtIncompatible
    public abstract class AbstractListeningExecutorService extends AbstractExecutorService
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Feb 12 17:47:46 UTC 2025
    - 3K bytes
    - Viewed (0)
  7. android/guava-testlib/test/com/google/common/util/concurrent/testing/TestingExecutorsTest.java

        ListeningScheduledExecutorService executor = TestingExecutors.noOpScheduledExecutor();
        assertFalse(executor.isShutdown());
        assertFalse(executor.isTerminated());
        executor.shutdown();
        assertTrue(executor.isShutdown());
        assertTrue(executor.isTerminated());
      }
    
      public void testNoOpScheduledExecutorInvokeAll() throws ExecutionException, InterruptedException {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Oct 18 22:10:29 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  8. guava-testlib/test/com/google/common/util/concurrent/testing/TestingExecutorsTest.java

        ListeningScheduledExecutorService executor = TestingExecutors.noOpScheduledExecutor();
        assertFalse(executor.isShutdown());
        assertFalse(executor.isTerminated());
        executor.shutdown();
        assertTrue(executor.isShutdown());
        assertTrue(executor.isTerminated());
      }
    
      public void testNoOpScheduledExecutorInvokeAll() throws ExecutionException, InterruptedException {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Oct 18 22:10:29 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  9. okhttp/src/jvmTest/kotlin/okhttp3/SocksProxyTest.kt

      @StartStop
      private val server = MockWebServer()
    
      private val socksProxy = SocksProxy()
    
      @BeforeEach
      fun setUp() {
        socksProxy.play()
      }
    
      @AfterEach
      fun tearDown() {
        socksProxy.shutdown()
      }
    
      @Test
      fun proxy() {
        server.enqueue(MockResponse.Builder().body("abc").build())
        server.enqueue(MockResponse.Builder().body("def").build())
        val client =
          clientTestRule
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Jun 18 12:28:21 UTC 2025
    - 3.6K bytes
    - Viewed (0)
  10. mockwebserver/src/main/kotlin/mockwebserver3/QueueDispatcher.kt

            },
        )
      }
    
      public open fun setFailFast(failFastResponse: MockResponse?) {
        this.failFastResponse = failFastResponse
      }
    
      private companion object {
        /**
         * Enqueued on shutdown to release threads waiting on [dispatch]. Note that this response
         * isn't transmitted because the connection is closed before this response is returned.
         */
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Jun 14 16:09:26 UTC 2025
    - 2.9K bytes
    - Viewed (0)
Back to top