Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 82 for Depends (0.3 sec)

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

     * take advantage of the {@linkplain Futures utilities built atop the class}. The way that you will
     * create {@code ListenableFuture} instances depends on how you currently create {@code Future}
     * instances:
     *
     * <ul>
     *   <li>If you receive them from an {@code java.util.concurrent.ExecutorService}, convert that
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Jun 26 21:13:41 UTC 2023
    - 8K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/math/IntMath.java

          return div;
        }
    
        /*
         * Normal Java division rounds towards 0, consistently with RoundingMode.DOWN. We just have to
         * deal with the cases where rounding towards 0 is wrong, which typically depends on the sign of
         * p / q.
         *
         * signum is 1 if p and q are both nonnegative or both negative, and -1 otherwise.
         */
        int signum = 1 | ((p ^ q) >> (Integer.SIZE - 1));
        boolean increment;
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Feb 07 17:50:39 UTC 2024
    - 23.5K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/math/Stats.java

       * population, this is an estimator of the population standard deviation of the population which
       * is less biased than {@link #populationStandardDeviation()} (the unbiased estimator depends on
       * the distribution). The count must be greater than one.
       *
       * <p>This is not guaranteed to return zero when the dataset consists of the same value multiple
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 15 16:12:13 UTC 2024
    - 22K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/util/concurrent/AbstractFuture.java

      // * We are more responsive to completion than timeouts. This is because parkNanos depends on
      //   system scheduling and as such we could either miss our deadline, or unpark() could be delayed
      //   so that it looks like we timed out even though we didn't. For comparison FutureTask respects
      //   completion preferably and AQS is non-deterministic (depends on where in the queue the waiter
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Jun 07 22:25:23 UTC 2024
    - 63.1K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/CompactHashSet.java

     * supported. The elements can be any objects.
     *
     * <p>{@code contains(x)}, {@code add(x)} and {@code remove(x)}, are all (expected and amortized)
     * constant time operations. Expected in the hashtable sense (depends on the hash function doing a
     * good job of distributing the elements to the buckets to a distribution not far from uniform), and
     * amortized since some operations can trigger a hash table resize.
     *
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue May 28 18:11:09 UTC 2024
    - 24K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/base/FinalizableReferenceQueueTest.java

    import java.util.Collections;
    import junit.framework.TestCase;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * Unit test for {@link FinalizableReferenceQueue}.
     *
     * @author Bob Lee
     */
    // - depends on details of GC and classloading
    // - .class files aren't available
    // - possibly no real concept of separate ClassLoaders?
    @AndroidIncompatible
    @GwtIncompatible
    public class FinalizableReferenceQueueTest extends TestCase {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Jun 10 19:21:11 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/io/ByteSinkTest.java

          TestByteSink okSink = new TestByteSink();
          assertThrows(IOException.class, () -> failSource.copyTo(okSink));
          // ensure stream was closed IF it was opened (depends on implementation whether or not it's
          // opened at all if source.newInputStream() throws).
          assertTrue(
              "stream not closed when copying from source with option: " + option,
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 3.7K bytes
    - Viewed (0)
  8. guava-testlib/test/com/google/common/testing/GcFinalizationTest.java

    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * Tests for {@link GcFinalization}.
     *
     * @author Martin Buchholz
     * @author mike nonemacher
     */
    @AndroidIncompatible // depends on details of gc
    
    public class GcFinalizationTest extends TestCase {
    
      // ----------------------------------------------------------------
      // Ordinary tests of successful method execution
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 7.4K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/math/Quantiles.java

     *
     * <p>When calling {@link ScaleAndIndex#compute} (in {@linkplain ScaleAndIndexes#compute either
     * form}), the memory requirement is 8*N bytes for the copy of the dataset plus an overhead which is
     * independent of N (but depends on the quantiles being computed). When calling {@link
     * ScaleAndIndex#computeInPlace computeInPlace} (in {@linkplain ScaleAndIndexes#computeInPlace
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri May 12 17:02:53 UTC 2023
    - 29.9K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/base/AbstractIteratorTest.java

          fail("No exception thrown");
        } catch (UnsupportedOperationException expected) {
        }
      }
    
    
      @GwtIncompatible // weak references
      @J2ktIncompatible
      @AndroidIncompatible // depends on details of GC
      public void testFreesNextReference() {
        Iterator<Object> itr =
            new AbstractIterator<Object>() {
              @Override
              public Object computeNext() {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu May 04 09:41:29 UTC 2023
    - 6.1K bytes
    - Viewed (0)
Back to top