Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 81 - 90 of 225 for interrupt (0.07 seconds)

  1. src/test/java/org/codelibs/fess/helper/IntervalControlHelperTest.java

                try {
                    Thread.sleep(100);
                    helper.setCrawlerRunning(true);
                } catch (InterruptedException e) {
                    Thread.currentThread().interrupt();
                }
            });
            thread.start();
    
            start = System.currentTimeMillis();
            helper.checkCrawlerStatus();
            end = System.currentTimeMillis();
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 13.6K bytes
    - Click Count (0)
  2. ci/official/README.md

    #   destroys some temporary bazel data and causes longer builds.
    #
    #   You will need the NVIDIA Container Toolkit for GPU testing:
    #   https://github.com/NVIDIA/nvidia-container-toolkit
    #
    #   Note: if you interrupt a bazel command on docker (ctrl-c), you
    #   will need to run `docker exec tf pkill bazel` to quit bazel.
    #
    #   Note: new files created from the container are owned by "root".
    Created: Tue Apr 07 12:39:13 GMT 2026
    - Last Modified: Thu Feb 01 03:21:19 GMT 2024
    - 8K bytes
    - Click Count (0)
  3. src/main/java/jcifs/util/ResourceManager.java

                    cleanupExecutor.shutdownNow();
                }
            } catch (InterruptedException e) {
                cleanupExecutor.shutdownNow();
                Thread.currentThread().interrupt();
            }
    
            // Log final statistics
            log.info("ResourceManager shutdown complete. Total allocated: {}, released: {}, leaks: {}, force cleaned: {}", totalAllocated.get(),
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 16.2K bytes
    - Click Count (0)
  4. src/test/java/org/codelibs/fess/util/WebApiUtilTest.java

                    }
                }).start();
            }
    
            try {
                latch.await();
            } catch (InterruptedException e) {
                Thread.currentThread().interrupt();
                fail("Thread safety test interrupted");
            }
    
            // In test environment, some operations might not work due to missing request context
            // but the methods should not throw unexpected exceptions
        }
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 17.4K bytes
    - Click Count (0)
  5. src/test/java/org/codelibs/fess/thumbnail/ThumbnailManagerTest.java

                }
    
                @Override
                public void destroy() {
                    // Override to avoid null pointer issues with thread
                    generating = false;
                    // Don't need to interrupt thread since we never start it in tests
                }
            };
            manager.init();
            assertTrue(manager.baseDir.exists());
            manager.destroy();
        }
    
        // Test initialization failure
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 20.4K bytes
    - Click Count (0)
  6. src/test/java/jcifs/util/SmbCircuitBreakerTest.java

                                }
                            });
                            successCount.incrementAndGet();
                        } catch (InterruptedException e) {
                            Thread.currentThread().interrupt();
                        } catch (CIFSException e) {
                            if (e.getMessage().contains("backpressure")) {
                                rejectedCount.incrementAndGet();
                            }
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 23.2K bytes
    - Click Count (0)
  7. android/guava-tests/test/com/google/common/util/concurrent/FuturesTest.java

            () -> {
              inFunction.countDown();
              try {
                new CountDownLatch(1).await(); // wait for interrupt
              } catch (InterruptedException expected) {
                // Ensure the thread's interrupted status is preserved.
                Thread.currentThread().interrupt();
                gotException.countDown();
              }
            };
    
        ExecutorService service = newSingleThreadExecutor();
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 134K bytes
    - Click Count (0)
  8. guava-tests/test/com/google/common/util/concurrent/FuturesTest.java

            () -> {
              inFunction.countDown();
              try {
                new CountDownLatch(1).await(); // wait for interrupt
              } catch (InterruptedException expected) {
                // Ensure the thread's interrupted status is preserved.
                Thread.currentThread().interrupt();
                gotException.countDown();
              }
            };
    
        ExecutorService service = newSingleThreadExecutor();
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 134K bytes
    - Click Count (0)
  9. src/test/java/jcifs/internal/smb2/Smb2SigningDigestTest.java

                                completedOps.incrementAndGet();
                            }
                        } catch (InterruptedException e) {
                            Thread.currentThread().interrupt();
                        } finally {
                            endLatch.countDown();
                        }
                    });
                }
    
                startLatch.countDown(); // Start all threads
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 43.7K bytes
    - Click Count (0)
  10. android/guava/src/com/google/common/util/concurrent/AbstractFuture.java

          throws ExecutionException {
        boolean interrupted = false;
        try {
          while (true) {
            try {
              return future.get();
            } catch (InterruptedException e) {
              interrupted = true;
            }
          }
        } finally {
          if (interrupted) {
            interruptCurrentThread();
          }
        }
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Mar 07 14:39:00 GMT 2026
    - 43.6K bytes
    - Click Count (0)
Back to Top