Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 45 for Larson (0.71 sec)

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

     * error. If your needs are more complex than {@code SettableFuture} supports, use {@link
     * AbstractFuture}, which offers an extensible version of the API.
     *
     * @author Sven Mawson
     * @since 9.0 (in 1.0 as {@code ValueFuture})
     */
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    public final class SettableFuture<V extends @Nullable Object>
        extends AbstractFuture.TrustedFuture<V> {
      /**
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Oct 01 17:18:04 GMT 2021
    - 2.4K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/util/concurrent/ListenableFutureTaskTest.java

    import java.util.concurrent.Executors;
    import java.util.concurrent.TimeUnit;
    import junit.framework.TestCase;
    
    /**
     * Test case for {@link ListenableFutureTask}.
     *
     * @author Sven Mawson
     */
    public class ListenableFutureTaskTest extends TestCase {
    
      private ExecutorService exec;
    
      protected final CountDownLatch runLatch = new CountDownLatch(1);
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 4.7K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/util/concurrent/ExecutionListTest.java

    import java.util.concurrent.TimeUnit;
    import java.util.concurrent.atomic.AtomicInteger;
    import junit.framework.TestCase;
    
    /**
     * Unit tests for {@link ExecutionList}.
     *
     * @author Nishant Thakkar
     * @author Sven Mawson
     */
    public class ExecutionListTest extends TestCase {
    
      private final ExecutionList list = new ExecutionList();
    
      public void testRunOnPopulatedList() throws Exception {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Feb 09 22:57:07 GMT 2022
    - 4.7K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/math/PairedStatsTest.java

          if (values.hasAnyNonFinite()) {
            assertWithMessage("Pearson's correlation coefficient of " + values)
                .that(pearsonsCorrelationCoefficient)
                .isNaN();
          } else {
            assertWithMessage("Pearson's correlation coefficient of " + values)
                .that(pearsonsCorrelationCoefficient)
                .isWithin(ALLOWED_ERROR)
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 14K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/math/PairedStatsTest.java

          if (values.hasAnyNonFinite()) {
            assertWithMessage("Pearson's correlation coefficient of " + values)
                .that(pearsonsCorrelationCoefficient)
                .isNaN();
          } else {
            assertWithMessage("Pearson's correlation coefficient of " + values)
                .that(pearsonsCorrelationCoefficient)
                .isWithin(ALLOWED_ERROR)
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 14K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/util/concurrent/JdkFutureAdaptersTest.java

    import java.util.concurrent.TimeUnit;
    import junit.framework.AssertionFailedError;
    import junit.framework.TestCase;
    
    /**
     * Unit tests for {@link JdkFutureAdapters}.
     *
     * @author Sven Mawson
     * @author Kurt Alfred Kluever
     */
    public class JdkFutureAdaptersTest extends TestCase {
      private static final String DATA1 = "data";
    
      public void testListenInPoolThreadReturnsSameFuture() throws Exception {
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Wed Feb 09 22:57:07 GMT 2022
    - 9.7K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/math/PairedStatsAccumulatorTest.java

            assertWithMessage("Pearson's correlation coefficient of " + values)
                .that(pearsonsCorrelationCoefficient)
                .isNaN();
            assertWithMessage("Pearson's correlation coefficient by addAll(PairedStats) of " + values)
                .that(pearsonsCorrelationCoefficient)
                .isNaN();
          } else {
            assertWithMessage("Pearson's correlation coefficient of " + values)
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 23.4K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/math/PairedStatsAccumulatorTest.java

            assertWithMessage("Pearson's correlation coefficient of " + values)
                .that(pearsonsCorrelationCoefficient)
                .isNaN();
            assertWithMessage("Pearson's correlation coefficient by addAll(PairedStats) of " + values)
                .that(pearsonsCorrelationCoefficient)
                .isNaN();
          } else {
            assertWithMessage("Pearson's correlation coefficient of " + values)
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 23.4K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/util/concurrent/ListenableFutureTester.java

    import java.util.concurrent.Executors;
    import java.util.concurrent.TimeUnit;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * Used to test listenable future implementations.
     *
     * @author Sven Mawson
     */
    public class ListenableFutureTester {
    
      private final ExecutorService exec;
      private final ListenableFuture<?> future;
      private final CountDownLatch latch;
    
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 3.3K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/util/concurrent/ListenableFutureTester.java

    import java.util.concurrent.Executors;
    import java.util.concurrent.TimeUnit;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * Used to test listenable future implementations.
     *
     * @author Sven Mawson
     */
    public class ListenableFutureTester {
    
      private final ExecutorService exec;
      private final ListenableFuture<?> future;
      private final CountDownLatch latch;
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 3.3K bytes
    - Viewed (0)
Back to top