Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 56 for Lange (0.17 sec)

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

     */
    
    package com.google.common.collect;
    
    import com.google.common.annotations.GwtCompatible;
    import java.io.Serializable;
    
    /**
     * A dummy superclass to support GWT serialization of the element type of a {@link Range}. The GWT
     * supersource for this class contains a field of type {@code C}.
     *
     * <p>For details about this hack, see {@code GwtSerializationDependencies}, which takes the same
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 1.3K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/EmptyContiguousSet.java

        return 0;
      }
    
      @Override
      public ContiguousSet<C> intersection(ContiguousSet<C> other) {
        return this;
      }
    
      @Override
      public Range<C> range() {
        throw new NoSuchElementException();
      }
    
      @Override
      public Range<C> range(BoundType lowerBoundType, BoundType upperBoundType) {
        throw new NoSuchElementException();
      }
    
      @Override
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Mar 28 18:35:00 GMT 2023
    - 4.2K bytes
    - Viewed (0)
  3. guava-tests/benchmark/com/google/common/cache/LoadingCacheSingleThreadBenchmark.java

      int max;
    
      static AtomicLong requests = new AtomicLong(0);
      static AtomicLong misses = new AtomicLong(0);
    
      @BeforeExperiment
      void setUp() {
        // random integers will be generated in this range, then raised to the
        // power of (1/concentration) and floor()ed
        max = Ints.checkedCast((long) Math.pow(distinctKeys, concentration));
    
        cache =
            CacheBuilder.newBuilder()
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 3.4K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/math/MathPreconditions.java

        }
      }
    
      static void checkInRangeForRoundingInputs(boolean condition, double input, RoundingMode mode) {
        if (!condition) {
          throw new ArithmeticException(
              "rounded value is out of range for input " + input + " and rounding mode " + mode);
        }
      }
    
      static void checkNoOverflow(boolean condition, String methodName, int a, int b) {
        if (!condition) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Jun 15 20:59:00 GMT 2022
    - 3.3K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/base/AsciiTest.java

        // Compare to: "\u00c1".equalsIgnoreCase("\u00e1") == true
        assertFalse(Ascii.equalsIgnoreCase("\u00c1", "\u00e1"));
        // Test chars just outside the alphabetic range ('A'-1 vs 'a'-1, 'Z'+1 vs 'z'+1)
        assertFalse(Ascii.equalsIgnoreCase("@", "`"));
        assertFalse(Ascii.equalsIgnoreCase("[", "{"));
      }
    
      @GwtIncompatible // String.toUpperCase() has browser semantics
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 5.5K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/ObjectCountLinkedHashMap.java

       * The links field is not initialized directly in the constructor, but it's initialized by init(),
       * which the superconstructor calls.
       */
    
      /**
       * Contains the link pointers corresponding with the entries, in the range of [0, size()). The
       * high 32 bits of each long is the "prev" pointer, whereas the low 32 bits is the "succ" pointer
       * (pointing to the nextEntry entry in the linked list). The pointers in [size(), entries.length)
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Jun 01 22:07:10 GMT 2021
    - 5.9K bytes
    - Viewed (0)
  7. guava-tests/benchmark/com/google/common/math/QuantilesBenchmark.java

    import com.google.common.collect.ImmutableSet;
    import com.google.common.collect.Range;
    import java.util.Random;
    
    /** Benchmarks some algorithms providing the same functionality as {@link Quantiles}. */
    public class QuantilesBenchmark {
    
      private static final ContiguousSet<Integer> ALL_DECILE_INDEXES =
          ContiguousSet.create(Range.closed(0, 10), DiscreteDomain.integers());
    
      @Param({"10", "100", "1000", "10000", "100000"})
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Oct 10 19:45:10 GMT 2022
    - 3.1K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/primitives/UnsignedLong.java

       * @throws IllegalArgumentException if {@code value} is negative
       * @since 14.0
       */
      @CanIgnoreReturnValue
      public static UnsignedLong valueOf(long value) {
        checkArgument(value >= 0, "value (%s) is outside the range for an unsigned long value", value);
        return fromLongBits(value);
      }
    
      /**
       * Returns a {@code UnsignedLong} representing the same value as the specified {@code BigInteger}.
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Apr 22 13:09:25 GMT 2021
    - 8.9K bytes
    - Viewed (0)
  9. guava/src/com/google/common/collect/CompactHashing.java

      /**
       * Returns {@code table[index]}, where {@code table} is actually a {@code byte[]}, {@code
       * short[]}, or {@code int[]}. When it is a {@code byte[]} or {@code short[]}, the returned value
       * is unsigned, so the range of possible returned values is 0–255 or 0–65535, respectively.
       */
      static int tableGet(Object table, int index) {
        if (table instanceof byte[]) {
          return ((byte[]) table)[index] & BYTE_MASK; // unsigned read
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Aug 02 21:41:22 GMT 2021
    - 7.1K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/CompactHashing.java

      /**
       * Returns {@code table[index]}, where {@code table} is actually a {@code byte[]}, {@code
       * short[]}, or {@code int[]}. When it is a {@code byte[]} or {@code short[]}, the returned value
       * is unsigned, so the range of possible returned values is 0–255 or 0–65535, respectively.
       */
      static int tableGet(Object table, int index) {
        if (table instanceof byte[]) {
          return ((byte[]) table)[index] & BYTE_MASK; // unsigned read
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Aug 02 21:41:22 GMT 2021
    - 7.1K bytes
    - Viewed (0)
Back to top