Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 59 for dependsOn (0.27 sec)

  1. 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
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri May 12 17:02:53 GMT 2023
    - 29.9K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/math/LongMath.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 | (int) ((p ^ q) >> (Long.SIZE - 1));
        boolean increment;
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 07 17:50:39 GMT 2024
    - 44.6K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/cache/CacheLoadingTest.java

        cache.refresh(2);
        checkLoggedCause(e);
    
        assertEquals("2", cache.getUnchecked(2));
        assertEquals(0, removalListener.getCount());
      }
    
    
      @AndroidIncompatible // Depends on GC behavior
      public void testReloadAfterValueReclamation() throws InterruptedException, ExecutionException {
        CountingLoader countingLoader = new CountingLoader();
        LoadingCache<Object, Object> cache =
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 86.2K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/io/testdata/alice_in_wonderland.txt

    all know whether it would like the name:  however, it only
    grinned a little wider.  `Come, it's pleased so far,' thought
    Alice, and she went on.  `Would you tell me, please, which way I
    ought to go from here?'
    
      `That depends a good deal on where you want to get to,' said
    the Cat.
    
      `I don't much care where--' said Alice.
    
      `Then it doesn't matter which way you go,' said the Cat.
    
    Plain Text
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Mon Oct 29 21:35:03 GMT 2012
    - 145.2K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/math/IntMathTest.java

        if (expected != actual) {
          fail("Expected for " + a + " " + op + " " + b + " = " + expected + ", but got " + actual);
        }
      }
    
      // Depends on the correctness of BigIntegerMath.factorial.
      public void testFactorial() {
        for (int n = 0; n <= 50; n++) {
          BigInteger expectedBig = BigIntegerMath.factorial(n);
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Wed Feb 07 17:50:39 GMT 2024
    - 24.5K bytes
    - Viewed (0)
  6. 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
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Jun 26 21:13:41 GMT 2023
    - 8K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/io/ByteSourceTest.java

          TestByteSource okSource = new TestByteSource(bytes);
          assertThrows(IOException.class, () -> okSource.copyTo(new TestByteSink(option)));
          // ensure stream was closed IF it was opened (depends on implementation whether or not it's
          // opened at all if sink.newOutputStream() throws).
          assertTrue(
              "stream not closed when copying to sink with option: " + option,
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 16.9K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/math/StatsAccumulator.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
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri May 12 17:02:53 GMT 2023
    - 14.2K bytes
    - Viewed (0)
  9. 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
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 22 21:17:24 GMT 2024
    - 63K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/collect/ListsTest.java

        List<Integer> fromList = Lists.newLinkedList(SOME_SEQUENTIAL_LIST);
        List<String> list = Lists.transform(fromList, SOME_FUNCTION);
        assertTransformIterator(list);
      }
    
      /**
       * This test depends on the fact that {@code AbstractSequentialList.iterator} transforms the
       * {@code iterator()} call into a call on {@code listIterator(int)}. This is fine because the
       * behavior is clearly documented so it's not expected to change.
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Apr 17 16:33:44 GMT 2024
    - 35.2K bytes
    - Viewed (0)
Back to top