Search Options

Display Count
Sort
Preferred Language
Advanced Search

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

The search processing time has exceeded the limit. The displayed results may be partial.

  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 Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 26.1K 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 Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 26.1K bytes
    - Click Count (0)
  3. android/guava-tests/test/com/google/common/collect/AbstractIteratorTest.java

    @GwtCompatible
    @NullMarked
    public class AbstractIteratorTest extends TestCase {
    
      public void testDefaultBehaviorOfNextAndHasNext() {
    
        // This sample AbstractIterator returns 0 on the first call, 1 on the
        // second, then signals that it's reached the end of the data
        Iterator<Integer> iter =
            new AbstractIterator<Integer>() {
              private int rep;
    
              @Override
              public @Nullable Integer computeNext() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 8K bytes
    - Click Count (0)
  4. guava-tests/test/com/google/common/collect/AbstractIteratorTest.java

    @GwtCompatible
    @NullMarked
    public class AbstractIteratorTest extends TestCase {
    
      public void testDefaultBehaviorOfNextAndHasNext() {
    
        // This sample AbstractIterator returns 0 on the first call, 1 on the
        // second, then signals that it's reached the end of the data
        Iterator<Integer> iter =
            new AbstractIterator<Integer>() {
              private int rep;
    
              @Override
              public @Nullable Integer computeNext() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 8K bytes
    - Click Count (0)
  5. android/guava-tests/test/com/google/common/collect/InternersTest.java

        Interner<MyInt> pool = Interners.newWeakInterner();
        assertThat(pool.intern(canonical)).isSameInstanceAs(canonical);
    
        WeakReference<MyInt> signal = new WeakReference<>(canonical);
        canonical = null; // Hint to the JIT that canonical is unreachable
    
        GcFinalization.awaitClear(signal);
        assertThat(pool.intern(not)).isSameInstanceAs(not);
      }
    
      private static final class MyInt {
        private final int i;
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 4.5K bytes
    - Click Count (0)
  6. internal/stmt_store/stmt_store.go

    type Store interface {
    	// New creates a new Stmt object and caches it.
    	// Parameters:
    	//   ctx: The context for the request, which can carry deadlines, cancellation signals, etc.
    	//   key: The key representing the SQL query, used for caching and preparing the statement.
    	//   isTransaction: Indicates whether this operation is part of a transaction, which may affect the caching strategy.
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Sat Mar 21 11:35:55 GMT 2026
    - 6.1K bytes
    - Click Count (0)
  7. docs/fr/docs/tutorial/dependencies/dependencies-in-path-operation-decorators.md

    /// tip | Astuce
    
    Certains éditeurs vérifient les paramètres de fonction non utilisés et les signalent comme des erreurs.
    
    En utilisant ces `dependencies` dans le *décorateur de chemin d'accès*, vous pouvez vous assurer qu'elles sont exécutées tout en évitant des erreurs de l'éditeur/des outils.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:37:13 GMT 2026
    - 3.5K bytes
    - Click Count (0)
  8. src/test/java/org/codelibs/fess/ds/AbstractDataStoreTest.java

            for (int i = 0; i < readerThreadCount; i++) {
                final int threadIndex = i;
                readerThreads[i] = new Thread(() -> {
                    try {
                        startLatch.await(); // Wait for start signal
                        long endTime = System.currentTimeMillis() + testDurationMs;
                        while (System.currentTimeMillis() < endTime) {
                            observations[threadIndex].add(dataStore.alive);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 12.8K bytes
    - Click Count (1)
  9. 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 Apr 01 11:36:16 GMT 2026
    - Last Modified: Fri Mar 27 18:43:39 GMT 2026
    - 19.1K bytes
    - Click Count (0)
  10. guava-tests/test/com/google/common/util/concurrent/UninterruptiblesTest.java

          TestCondition testCondition = create();
    
          ScheduledExecutorService scheduledPool = newScheduledThreadPool(1);
          // If signal() fails somehow, we should see a failed test, even without looking at the Future.
          Future<?> unused = scheduledPool.schedule(testCondition::signal, delay, unit);
    
          return testCondition;
        }
    
        static TestCondition create() {
          Lock lock = new ReentrantLock();
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 38.1K bytes
    - Click Count (0)
Back to Top