Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 17 for signaled (0.06 seconds)

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

        assertThrows(RejectedExecutionException.class, () -> executor.submit(() -> {}));
        assertTrue(executor.isTerminated());
    
        otherTask.get();
      }
    
      /**
       * Test for a bug where threads weren't getting signaled when shutdown was called, only when tasks
       * completed.
       */
      public void testDirectExecutorService_awaitTermination_missedSignal() {
        ExecutorService service = newDirectExecutorService();
        Thread waiter =
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Fri Dec 12 00:25:21 GMT 2025
    - 26.5K bytes
    - Click Count (0)
  2. android/guava-tests/test/com/google/common/util/concurrent/MoreExecutorsTest.java

        assertThrows(RejectedExecutionException.class, () -> executor.submit(() -> {}));
        assertTrue(executor.isTerminated());
    
        otherTask.get();
      }
    
      /**
       * Test for a bug where threads weren't getting signaled when shutdown was called, only when tasks
       * completed.
       */
      public void testDirectExecutorService_awaitTermination_missedSignal() {
        ExecutorService service = newDirectExecutorService();
        Thread waiter =
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Fri Dec 12 00:25:21 GMT 2025
    - 26.5K bytes
    - Click Count (0)
  3. build-logic-commons/basics/src/main/kotlin/gradlebuild.minify.gradle.kts

        "com.github.jnr:jnr-constants" to setOf(
            // For signal codes
            "jnr.constants.platform.Signal",
            "jnr.constants.platform.aix.Signal",
            "jnr.constants.platform.darwin.Signal",
            "jnr.constants.platform.freebsd.Signal",
            "jnr.constants.platform.openbsd.Signal",
            "jnr.constants.platform.linux.Signal",
            "jnr.constants.platform.solaris.Signal",
            "jnr.constants.Constant",
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Thu Dec 25 16:18:05 GMT 2025
    - 5.6K bytes
    - Click Count (0)
  4. android/guava-tests/test/com/google/common/util/concurrent/FuturesTransformAsyncTest.java

      protected static final int SLOW_FUNC_VALID_INPUT_DATA = 3;
      private static final String RESULT_DATA = "SUCCESS";
    
      private SettableFuture<String> outputFuture;
      // Signals that the function is waiting to complete
      private CountDownLatch funcIsWaitingLatch;
      // Signals the function so it will complete
      private CountDownLatch funcCompletionLatch;
    
      @Override
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Dec 11 20:07:52 GMT 2025
    - 6.4K bytes
    - Click Count (0)
  5. guava-tests/test/com/google/common/util/concurrent/FuturesTransformAsyncTest.java

      protected static final int SLOW_FUNC_VALID_INPUT_DATA = 3;
      private static final String RESULT_DATA = "SUCCESS";
    
      private SettableFuture<String> outputFuture;
      // Signals that the function is waiting to complete
      private CountDownLatch funcIsWaitingLatch;
      // Signals the function so it will complete
      private CountDownLatch funcCompletionLatch;
    
      @Override
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Dec 11 20:07:52 GMT 2025
    - 6.4K bytes
    - Click Count (0)
  6. android/guava-tests/test/com/google/common/collect/InternersTest.java

        Interner<MyInt> pool = Interners.newWeakInterner();
        assertSame(canonical, pool.intern(canonical));
    
        WeakReference<MyInt> signal = new WeakReference<>(canonical);
        canonical = null; // Hint to the JIT that canonical is unreachable
    
        GcFinalization.awaitClear(signal);
        assertSame(not, pool.intern(not));
      }
    
      private static final class MyInt {
        private final int i;
    
        MyInt(int i) {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Dec 08 17:02:07 GMT 2025
    - 4.3K bytes
    - Click Count (0)
  7. guava-tests/test/com/google/common/collect/InternersTest.java

        Interner<MyInt> pool = Interners.newWeakInterner();
        assertSame(canonical, pool.intern(canonical));
    
        WeakReference<MyInt> signal = new WeakReference<>(canonical);
        canonical = null; // Hint to the JIT that canonical is unreachable
    
        GcFinalization.awaitClear(signal);
        assertSame(not, pool.intern(not));
      }
    
      private static final class MyInt {
        private final int i;
    
        MyInt(int i) {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Dec 08 17:02:07 GMT 2025
    - 4.3K bytes
    - Click Count (0)
  8. src/main/java/org/codelibs/fess/script/groovy/GroovyEngine.java

         * @return the result of script evaluation, or null if the template is empty or evaluation fails
         * @throws JobProcessingException if the script explicitly throws this exception
         *         (allows scripts to signal job-specific errors that should propagate)
         */
        @Override
        public Object evaluate(final String template, final Map<String, Object> paramMap) {
            // Null-safety: return null for blank templates
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 5.5K bytes
    - Click Count (0)
  9. fess-crawler/src/test/java/org/codelibs/fess/net/protocol/gcs/HandlerTest.java

            // Create multiple threads that all try to connect simultaneously
            for (int i = 0; i < threadCount; i++) {
                new Thread(() -> {
                    try {
                        startLatch.await(); // Wait for signal to start
                        conn.connect();
                        successCount.incrementAndGet();
                    } catch (Exception e) {
                        synchronized (exceptions) {
    Created: Sat Dec 20 11:21:39 GMT 2025
    - Last Modified: Thu Dec 11 08:38:29 GMT 2025
    - 14.1K bytes
    - Click Count (0)
  10. CONTRIBUTING.md

    You must agree to the terms of [Developer Certificate of Origin](https://developercertificate.org/) by signing off your commits. We automatically verify that all commit messages contain a `Signed-off-by:` line with your email address. We can only accept PRs that have all commits signed off.
    
    If you didn't sign off your commits before creating the pull request, you can fix that after the fact.
    
    To sign off a single commit:
    
    `git commit --amend --signoff`
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Tue Nov 25 06:57:22 GMT 2025
    - 19K bytes
    - Click Count (0)
Back to Top