Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 131 - 140 of 302 for _shutdown (0.19 seconds)

  1. build-logic/cleanup/src/main/kotlin/gradlebuild/cleanup/services/DaemonTracker.kt

            forEachJavaProcess { pid, _ ->
                suspiciousDaemons.forEach { (suite, pids) ->
                    if (pid in pids && pid !in alreadyKilled) {
                        logger.warn("A process was created in $suite but wasn't shutdown properly. Killing PID $pid")
                        KillLeakingJavaProcesses.pkill(pid)
                    }
                }
            }
        }
    
        private
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Mon Jan 08 12:45:57 GMT 2024
    - 3.4K bytes
    - Click Count (0)
  2. src/main/java/jcifs/internal/smb2/rdma/tcp/TcpRdmaProvider.java

        public String getProviderName() {
            return "TCP Fallback";
        }
    
        @Override
        public int getMaxMessageSize() {
            return 65536; // 64KB for TCP
        }
    
        @Override
        public void shutdown() {
            // Nothing to clean up for TCP
        }
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 24 00:12:28 GMT 2025
    - 2.9K bytes
    - Click Count (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
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Mar 07 02:20:33 GMT 2026
    - 2.9K bytes
    - Click Count (0)
  4. cmd/erasure.go

    func (er erasureObjects) NewNSLock(bucket string, objects ...string) RWLocker {
    	return er.nsMutex.NewNSLock(er.getLockers, bucket, objects...)
    }
    
    // Shutdown function for object storage interface.
    func (er erasureObjects) Shutdown(ctx context.Context) error {
    	// Add any object layer shutdown activities here.
    	closeStorageDisks(er.getDisks()...)
    	return nil
    }
    
    // defaultWQuorum write quorum based on setDriveCount and defaultParityCount
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 16.1K bytes
    - Click Count (0)
  5. 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
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Mar 07 02:20:33 GMT 2026
    - 2.9K bytes
    - Click Count (0)
  6. 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();
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 13.2K bytes
    - Click Count (1)
  7. android/guava-tests/test/com/google/common/util/concurrent/AtomicLongMapBasherTest.java

                            throw new AssertionError();
                        }
                      }
                      return threadSum;
                    }
                  }));
        }
        threadPool.shutdown();
        assertTrue(threadPool.awaitTermination(300, SECONDS));
        long sum = 0;
        for (Future<Long> f : futures) {
          sum += f.get();
        }
        assertEquals(sum, map.get(key));
      }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Jul 11 18:52:30 GMT 2025
    - 4.2K bytes
    - Click Count (0)
  8. mockwebserver-deprecated/src/main/kotlin/okhttp3/mockwebserver/DeprecationBridge.kt

        override fun peek(): mockwebserver3.MockResponse = delegate.peek().wrap()
    
        override fun close() {
          delegate.shutdown()
        }
      }
    }
    
    internal fun MockResponse.wrap(): mockwebserver3.MockResponse {
      val result = mockwebserver3.MockResponse.Builder()
      val copyFromWebSocketListener = webSocketListener
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Jan 27 09:00:39 GMT 2026
    - 4.3K bytes
    - Click Count (1)
  9. 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;
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 21 00:16:17 GMT 2025
    - 13.2K bytes
    - Click Count (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.
         */
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Sat Jun 14 16:09:26 GMT 2025
    - 2.9K bytes
    - Click Count (0)
Back to Top