Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 110 for Healing (0.34 sec)

  1. android/guava/src/com/google/common/collect/RegularImmutableSortedSet.java

      @CheckForNull
      public E floor(E element) {
        int index = headIndex(element, true) - 1;
        return (index == -1) ? null : elements.get(index);
      }
    
      @Override
      @CheckForNull
      public E ceiling(E element) {
        int index = tailIndex(element, true);
        return (index == size()) ? null : elements.get(index);
      }
    
      @Override
      @CheckForNull
      public E higher(E element) {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 9K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/io/BaseEncodingTest.java

          BaseEncoding encoding, String cannotDecode, @Nullable String expectedMessage) {
        // We use this somewhat weird pattern with an enum for each assertion we want to make as a way
        // of dealing with the fact that one of the assertions is @GwtIncompatible but we don't want to
        // have to have duplicate @GwtIncompatible test methods just to make that assertion.
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Aug 25 16:34:08 GMT 2022
    - 24.6K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/hash/BloomFilterTest.java

        double fpp = 0.03;
        for (int i = 1; i < 10000; i++) {
          long numBits = BloomFilter.optimalNumOfBits(i, fpp);
          int arraySize = Ints.checkedCast(LongMath.divide(numBits, 64, RoundingMode.CEILING));
          assertEquals(
              arraySize * Long.SIZE,
              BloomFilter.create(Funnels.unencodedCharsFunnel(), i, fpp).bitSize());
        }
      }
    
      public void testApproximateElementCount() {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Nov 09 22:49:56 GMT 2023
    - 21.3K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/ImmutableSortedSet.java

      @CheckForNull
      public E floor(E e) {
        return Iterators.<@Nullable E>getNext(headSet(e, true).descendingIterator(), null);
      }
    
      /** @since 12.0 */
      @Override
      @CheckForNull
      public E ceiling(E e) {
        return Iterables.<@Nullable E>getFirst(tailSet(e, true), null);
      }
    
      /** @since 12.0 */
      @GwtIncompatible // NavigableSet
      @Override
      @CheckForNull
      public E higher(E e) {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 36.9K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/SortedIterables.java

    import com.google.common.annotations.GwtCompatible;
    import java.util.Comparator;
    import java.util.SortedSet;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * Utilities for dealing with sorted collections of all types.
     *
     * @author Louis Wasserman
     */
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    final class SortedIterables {
      private SortedIterables() {}
    
      /**
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Jun 30 10:33:07 GMT 2021
    - 2K bytes
    - Viewed (0)
  6. guava-tests/benchmark/com/google/common/math/BigIntegerMathBenchmark.java

    import static com.google.common.math.MathBenchmarking.ARRAY_MASK;
    import static com.google.common.math.MathBenchmarking.ARRAY_SIZE;
    import static com.google.common.math.MathBenchmarking.RANDOM_SOURCE;
    import static java.math.RoundingMode.CEILING;
    
    import com.google.caliper.BeforeExperiment;
    import com.google.caliper.Benchmark;
    import com.google.caliper.Param;
    import java.math.BigInteger;
    
    /**
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 3.3K bytes
    - Viewed (0)
  7. guava/src/com/google/common/annotations/Beta.java

    import java.lang.annotation.Target;
    
    /**
     * Signifies that a public API (public class, method or field) is subject to incompatible changes,
     * or even removal, in a future release. An API bearing this annotation is exempt from any
     * compatibility guarantees made by its containing library. Note that the presence of this
     * annotation implies nothing about the quality or performance of the API in question, only the fact
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Wed Dec 16 19:54:45 GMT 2020
    - 1.8K bytes
    - Viewed (0)
  8. guava-tests/benchmark/com/google/common/math/BigIntegerMathRoundingBenchmark.java

      private static final BigInteger[] nonzero2 = new BigInteger[ARRAY_SIZE];
      private static final BigInteger[] positive = new BigInteger[ARRAY_SIZE];
    
      @Param({"DOWN", "UP", "FLOOR", "CEILING", "HALF_EVEN", "HALF_UP", "HALF_DOWN"})
      RoundingMode mode;
    
      @BeforeExperiment
      void setUp() {
        for (int i = 0; i < ARRAY_SIZE; i++) {
          positive[i] = randomPositiveBigInteger(1024);
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Tue Jun 30 13:06:20 GMT 2020
    - 2.8K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/collect/TopKSelectorTest.java

        for (int i = 1; i < n; i++) {
          top.offer(0);
        }
        assertThat(top.topK()).containsExactlyElementsIn(Collections.nCopies(k, 0));
        assertThat(compareCalls[0]).isAtMost(10L * n * IntMath.log2(k, RoundingMode.CEILING));
      }
    
      public void testExceedMaxIteration() {
        /*
         * Bug #5692 occurred when TopKSelector called Arrays.sort incorrectly.
         */
        TopKSelector<Integer> top = TopKSelector.least(7);
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 3.9K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/math/MathTesting.java

     * limitations under the License.
     */
    
    package com.google.common.math;
    
    import static java.math.BigInteger.ONE;
    import static java.math.BigInteger.ZERO;
    import static java.math.RoundingMode.CEILING;
    import static java.math.RoundingMode.DOWN;
    import static java.math.RoundingMode.FLOOR;
    import static java.math.RoundingMode.HALF_DOWN;
    import static java.math.RoundingMode.HALF_EVEN;
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Oct 10 19:45:10 GMT 2022
    - 11.2K bytes
    - Viewed (0)
Back to top