Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 87 for isDone (0.04 sec)

  1. android/guava/src/com/google/common/util/concurrent/ExecutionSequencer.java

     * previous callable has returned -- and, if the previous callable was an {@link AsyncCallable}, not
     * until the {@code Future} it returned is {@linkplain Future#isDone done} (successful, failed, or
     * cancelled).
     *
     * <p>This class serializes execution of <i>submitted</i> tasks but not any <i>listeners</i> of
     * those tasks.
     *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 23 15:26:56 UTC 2025
    - 22.1K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/util/concurrent/AbstractFutureState.java

          }
    
          message += "delay)";
        }
        // It's confusing to see a completed future in a timeout message; if isDone() returns false,
        // then we know it must have given a pending toString value earlier. If not, then the future
        // completed after the timeout expired, and the message might be success.
        if (isDone()) {
          throw new TimeoutException(message + " but future completed as timeout expired");
        }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 33.2K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/smb2/lease/DirectoryChangeNotifier.java

         */
        private void cancelNotification(ChangeNotificationHandle handle) {
            CompletableFuture<Void> future = handle.getNotificationFuture();
            if (future != null && !future.isDone()) {
                future.cancel(true);
            }
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 13.7K bytes
    - Viewed (0)
  4. guava/src/com/google/common/util/concurrent/AbstractFutureState.java

          }
    
          message += "delay)";
        }
        // It's confusing to see a completed future in a timeout message; if isDone() returns false,
        // then we know it must have given a pending toString value earlier. If not, then the future
        // completed after the timeout expired, and the message might be success.
        if (isDone()) {
          throw new TimeoutException(message + " but future completed as timeout expired");
        }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 34.8K bytes
    - Viewed (0)
  5. src/test/java/jcifs/smb/DirFileEntryEnumIteratorBaseTest.java

                    pageIdx = 0;
                }
                // Return the initial element if provided
                return staticInitial;
            }
    
            @Override
            protected boolean isDone() {
                return this.done;
            }
    
            @Override
            protected boolean fetchMore() throws CIFSException {
                if (throwOnFetch)
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.5K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/util/concurrent/AbstractClosingFutureTest.java

                      }
                    }),
                executor);
        ListenableFuture<?> statusFuture = closingFuture.statusFuture();
        waiter.awaitStarted();
        assertThat(statusFuture.isDone()).isFalse();
        waiter.awaitReturned();
        assertThat(getUninterruptibly(statusFuture)).isNull();
      }
    
      public void testStatusFuture_failure() throws Exception {
        ClosingFuture<String> closingFuture =
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Jul 11 18:52:30 UTC 2025
    - 75.4K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/cache/LocalCacheTest.java

        @SuppressWarnings("unchecked")
        LoadingValueReference<Object, Object> valueReference =
            (LoadingValueReference) newEntry.getValueReference();
        assertFalse(valueReference.futureValue.isDone());
        startSignal.countDown();
    
        try {
          doneSignal.await();
        } catch (InterruptedException e) {
          throw new RuntimeException(e);
        }
    
        map.cleanUp(); // force notifications
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 110.5K bytes
    - Viewed (0)
  8. docs/vi/docs/virtual-environments.md

    ```mermaid
    flowchart LR
        subgraph global[môi trường toàn cục]
            harry-1[harry v1]
        end
        subgraph stone-project[dự án philosophers-stone ]
            stone(philosophers-stone) -->|phụ thuộc| harry-1
        end
    ```
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Fri Feb 07 22:19:18 UTC 2025
    - 26.1K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/core/lang/StringUtilTest.java

        @Test
        public void testStartsWithIgnoreCase() throws Exception {
            assertTrue(StringUtil.startsWithIgnoreCase("isHoge", "is"));
            assertTrue(StringUtil.startsWithIgnoreCase("isHoge", "IS"));
            assertTrue(StringUtil.startsWithIgnoreCase("ISHoge", "is"));
            assertFalse(StringUtil.startsWithIgnoreCase("isHoge", "iss"));
            assertFalse(StringUtil.startsWithIgnoreCase("is", "iss"));
        }
    
        /**
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 12K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/base/PredicatesTest.java

      }
    
      /*
       * Tests for Predicates.equalTo(x).
       */
    
      public void testIsEqualTo_apply() {
        Predicate<@Nullable Integer> isOne = Predicates.equalTo(1);
    
        assertTrue(isOne.apply(1));
        assertFalse(isOne.apply(2));
        assertFalse(isOne.apply(null));
      }
    
      public void testIsEqualTo_equality() {
        new EqualsTester()
            .addEqualityGroup(Predicates.equalTo(1), Predicates.equalTo(1))
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 32.2K bytes
    - Viewed (0)
Back to top