Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 206 for terminate (0.07 seconds)

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

        } finally {
          if (t.getState() != Thread.State.TERMINATED) {
            t.interrupt();
            fail("Test timed out");
          }
        }
      }
    
      /**
       * Waits for LONG_DELAY_MS milliseconds for the thread to terminate (using {@link
       * Thread#join(long)}), else interrupts the thread (in the hope that it may terminate later) and
       * fails.
       */
      void awaitTermination(Thread t) {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Dec 11 20:07:52 GMT 2025
    - 37.8K bytes
    - Click Count (0)
  2. guava/src/com/google/common/util/concurrent/MoreExecutors.java

       * ExecutorService#close}.
       *
       * @param service the {@code ExecutorService} to shut down
       * @param timeout the maximum time to wait for the {@code ExecutorService} to terminate
       * @return {@code true} if the {@code ExecutorService} was terminated successfully, {@code false}
       *     if the call timed out or was interrupted
       * @since 28.0 (but only since 33.4.0 in the Android flavor)
       */
      @CanIgnoreReturnValue
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Wed Oct 08 18:55:33 GMT 2025
    - 45.2K bytes
    - Click Count (0)
  3. src/main/java/jcifs/internal/smb1/com/SmbComLogoffAndX.java

    import jcifs.Configuration;
    import jcifs.internal.smb1.AndXServerMessageBlock;
    import jcifs.internal.smb1.ServerMessageBlock;
    
    /**
     * SMB1 Logoff AndX request message.
     *
     * This command is used to terminate a user session that was
     * previously established with a Session Setup AndX command.
     */
    public class SmbComLogoffAndX extends AndXServerMessageBlock {
    
        /**
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 2.1K bytes
    - Click Count (0)
  4. src/main/java/jcifs/internal/smb2/session/Smb2LogoffRequest.java

    import jcifs.Configuration;
    import jcifs.internal.smb2.ServerMessageBlock2Request;
    import jcifs.internal.smb2.Smb2Constants;
    import jcifs.internal.util.SMBUtil;
    
    /**
     * SMB2 Logoff request message. This command is used to terminate an SMB2 session.
     *
     * @author mbechler
     *
     */
    public class Smb2LogoffRequest extends ServerMessageBlock2Request<Smb2LogoffResponse> {
    
        /**
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 2.4K bytes
    - Click Count (0)
  5. fess-crawler/src/main/java/org/codelibs/fess/crawler/Crawler.java

            }
            return crawlerContext.sessionId;
        }
    
        /**
         * Waits for the crawling process to terminate indefinitely.
         */
        public void awaitTermination() {
            awaitTermination(0);
        }
    
        /**
         * Waits for the crawling process to terminate for a specified duration.
         * @param millis The maximum time to wait in milliseconds. A value of 0 means wait indefinitely.
         */
    Created: Sat Dec 20 11:21:39 GMT 2025
    - Last Modified: Mon Nov 24 03:59:47 GMT 2025
    - 17K bytes
    - Click Count (0)
  6. src/main/java/org/codelibs/core/timer/TimeoutManager.java

                }
            }
        }
    
        /**
         * Interrupts the thread and waits for it to terminate.
         *
         * @param timeoutMillis
         *            The time to wait (in milliseconds)
         * @return <code>true</code> if the thread has terminated
         * @throws InterruptedException
         *             If interrupted while waiting
         */
    Created: Sat Dec 20 08:55:33 GMT 2025
    - Last Modified: Sat May 10 01:32:17 GMT 2025
    - 7.8K bytes
    - Click Count (0)
  7. src/main/java/org/codelibs/fess/indexer/IndexUpdater.java

                    logger.error("IndexUpdater is terminated.", e);
                } else if (logger.isInfoEnabled()) {
                    logger.info("IndexUpdater is terminated.");
                }
                forceStop();
            } catch (final Throwable t) {
                if (ComponentUtil.available()) {
                    logger.error("IndexUpdater is terminated.", t);
                } else if (logger.isDebugEnabled()) {
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 32.9K bytes
    - Click Count (0)
  8. build-logic-commons/basics/src/main/kotlin/gradlebuild/basics/classanalysis/AnalyzeAndShade.kt

                        }
                        return FileVisitResult.CONTINUE
                    }
    
                    override fun visitFileFailed(file: Path?, exc: IOException?) =
                        FileVisitResult.TERMINATE
    
                    override fun postVisitDirectory(dir: Path?, exc: IOException?) =
                        FileVisitResult.CONTINUE
    
                    private
                    fun Path.isClassFilePath() =
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Sat Mar 22 03:48:38 GMT 2025
    - 7.3K bytes
    - Click Count (0)
  9. src/main/java/org/codelibs/fess/helper/DataIndexHelper.java

             * @return true if the thread is actively executing
             */
            public boolean isRunning() {
                return running;
            }
    
            /**
             * Waits for the crawling thread to terminate.
             * This method blocks until the thread completes its execution.
             * Interrupted exceptions are caught and logged at debug level.
             */
            public void awaitTermination() {
                try {
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 19K bytes
    - Click Count (0)
  10. android/guava/src/com/google/common/collect/Interners.java

            if (sneaky == null) {
              return sample;
            } else {
              /* Someone beat us to it! Trying again...
               *
               * Technically this loop not guaranteed to terminate, so theoretically (extremely
               * unlikely) this thread might starve, but even then, there is always going to be another
               * thread doing progress here.
               */
            }
          }
        }
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Jul 17 15:26:41 GMT 2025
    - 6K bytes
    - Click Count (0)
Back to Top