Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 128 for exit (0.02 sec)

  1. src/test/java/org/codelibs/fess/exec/ThumbnailGeneratorTest.java

            try {
                ByteArrayOutputStream errContent = new ByteArrayOutputStream();
                System.setErr(new PrintStream(errContent));
    
                String[] args = { "--help" };
                // Note: main calls System.exit, so we can't test it directly
                // Instead, we test the parsing logic separately
    
                System.setErr(originalErr);
            } catch (Exception e) {
                System.setErr(originalErr);
            }
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 11.1K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/util/concurrent/InterruptionUtil.java

                Thread.interrupted();
                if (interruptingThread.isAlive()) {
                  // This will be hidden by test-output redirection:
                  logger.severe("InterruptenatorTask did not exit; future tests may be affected");
                  /*
                   * This won't do any good under JUnit 3, but I'll leave it around in
                   * case we ever switch to JUnit 4:
                   */
                  fail();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Aug 10 19:54:19 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/exec/Crawler.java

                    hotThreadMonitorTask.cancel();
                }
                destroyContainer();
            }
    
            if (exitCode != Constants.EXIT_OK) {
                System.exit(exitCode);
            }
        }
    
        /**
         * Destroys the DI container and stops the timeout manager.
         * This method ensures proper cleanup of resources when the crawler shuts down.
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 31K bytes
    - Viewed (0)
  4. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/concurrent/TaskRunner.kt

              coordinatorWakeUpAt = now + minDelayNanos
              try {
                backend.coordinatorWait(this@TaskRunner, minDelayNanos)
              } catch (_: InterruptedException) {
                // Will cause all tasks to exit unless more are scheduled!
                cancelAll()
              } finally {
                coordinatorWaiting = false
              }
            }
          }
        }
      }
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 30 11:30:11 UTC 2025
    - 10.4K bytes
    - Viewed (0)
  5. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/RealCall.kt

            return connection.socket()
          }
        }
    
        return null
      }
    
      private fun timeoutExit(cause: IOException?): IOException? {
        if (timeoutEarlyExit) return cause
        if (!timeout.exit()) return cause
    
        val e = InterruptedIOException("timeout")
        if (cause != null) e.initCause(cause)
        return e
      }
    
      /**
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 30 11:30:11 UTC 2025
    - 17.8K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/exec/SuggestCreatorTest.java

            // Cannot directly test main as it calls System.exit
            // Test argument parsing instead
            SuggestCreator.Options options = new SuggestCreator.Options();
            assertNotNull(options);
        }
    
        // Test main method with valid arguments
        public void test_main_validArguments() {
            // Cannot directly test main as it calls System.exit
            // Test options parsing instead
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 11.1K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/exception/CommandExecutionExceptionTest.java

            assertTrue(permissionDenied.getMessage().contains("Permission denied"));
    
            // Scenario 4: Exit code error
            CommandExecutionException exitCodeError = new CommandExecutionException("Command exited with non-zero code: 127");
            assertTrue(exitCodeError.getMessage().contains("non-zero code"));
        }
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 9.2K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/util/concurrent/InterruptionUtil.java

                Thread.interrupted();
                if (interruptingThread.isAlive()) {
                  // This will be hidden by test-output redirection:
                  logger.severe("InterruptenatorTask did not exit; future tests may be affected");
                  /*
                   * This won't do any good under JUnit 3, but I'll leave it around in
                   * case we ever switch to JUnit 4:
                   */
                  fail();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Aug 10 19:54:19 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/exec/ThumbnailGenerator.java

            } finally {
                if (systemMonitorTask != null) {
                    systemMonitorTask.cancel();
                }
                destroyContainer();
            }
    
            System.exit(exitCode);
        }
    
        private static void destroyContainer() {
            TimeoutManager.getInstance().stop();
            synchronized (SingletonLaContainerFactory.class) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 9.3K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/exec/SuggestCreator.java

                if (systemMonitorTask != null) {
                    systemMonitorTask.cancel();
                }
                destroyContainer();
            }
    
            logger.info("Finished SuggestCreator.");
            System.exit(exitCode);
        }
    
        private static void destroyContainer() {
            TimeoutManager.getInstance().stop();
            synchronized (SingletonLaContainerFactory.class) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 11K bytes
    - Viewed (0)
Back to top