Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 94 for Ranger (0.15 sec)

  1. android/guava-tests/test/com/google/common/primitives/ImmutableLongArrayTest.java

            for (int i = 0; i < array.length; i++) {
              array[i] = counter.getAndIncrement();
            }
            builder.addAll(ImmutableLongArray.copyOf(array));
          }
        },
        ADD_LARGER_ARRAY {
          @Override
          void doIt(ImmutableLongArray.Builder builder, AtomicLong counter) {
            long[] array = new long[RANDOM.nextInt(200) + 200];
            for (int i = 0; i < array.length; i++) {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Jun 01 09:32:35 GMT 2023
    - 19K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/MapMakerInternalMap.java

      final int concurrencyLevel;
    
      /** Strategy for comparing keys. */
      final Equivalence<Object> keyEquivalence;
    
      /** Strategy for handling entries and segments in a type-safe and efficient manner. */
      final transient InternalEntryHelper<K, V, E, S> entryHelper;
    
      /**
       * Creates a new, empty map with the specified strategy, initial capacity and concurrency level.
       */
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 91.9K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/primitives/ImmutableDoubleArrayTest.java

            for (int i = 0; i < array.length; i++) {
              array[i] = counter.getAndIncrement();
            }
            builder.addAll(ImmutableDoubleArray.copyOf(array));
          }
        },
        ADD_LARGER_ARRAY {
          @Override
          void doIt(ImmutableDoubleArray.Builder builder, AtomicInteger counter) {
            double[] array = new double[RANDOM.nextInt(200) + 200];
            for (int i = 0; i < array.length; i++) {
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Thu Jun 01 09:32:35 GMT 2023
    - 21.3K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/collect/RangeTest.java

        Range<Integer> range = Range.open(2, 5);
        assertTrue(range.encloses(range));
        assertTrue(range.encloses(Range.open(2, 4)));
        assertTrue(range.encloses(Range.open(3, 5)));
        assertTrue(range.encloses(Range.closed(3, 4)));
    
        assertFalse(range.encloses(Range.openClosed(2, 5)));
        assertFalse(range.encloses(Range.closedOpen(2, 5)));
        assertFalse(range.encloses(Range.closed(1, 4)));
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Feb 21 10:16:44 GMT 2024
    - 24.1K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/graph/Traverser.java

                  return next;
                }
                horizon.addFirst(successors);
                ancestorStack.push(next);
              }
              // TODO(b/192579700): Use a ternary once it no longer confuses our nullness checker.
              if (!ancestorStack.isEmpty()) {
                return ancestorStack.pop();
              }
              return endOfData();
            }
          };
        }
    
        /**
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue May 30 20:12:45 GMT 2023
    - 19.8K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/CompactHashSet.java

     *
     * <p>Unlike {@code java.util.HashSet}, iteration is only proportional to the actual {@code size()},
     * which is optimal, and <i>not</i> the size of the internal hashtable, which could be much larger
     * than {@code size()}. Furthermore, this structure only depends on a fixed number of arrays; {@code
     * add(x)} operations <i>do not</i> create objects for the garbage collector to deal with, and for
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Feb 05 21:38:59 GMT 2024
    - 24K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/reflect/InvokableTest.java

    @AndroidIncompatible // lots of failures, possibly some related to bad equals() implementations?
    public class InvokableTest extends TestCase {
      // Historically Invokable inherited from java.lang.reflect.AccessibleObject. That's no longer the
      // case, but we do check that its API still has the same public methods. We exclude some methods
      // that were added in Java 9 and that people probably weren't calling via Invokable, namely
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 30.9K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/primitives/Floats.java

          max = Math.max(max, array[i]);
        }
        return max;
      }
    
      /**
       * Returns the value nearest to {@code value} which is within the closed range {@code [min..max]}.
       *
       * <p>If {@code value} is within the range {@code [min..max]}, {@code value} is returned
       * unchanged. If {@code value} is less than {@code min}, {@code min} is returned, and if {@code
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 29 15:43:06 GMT 2024
    - 25.2K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/math/IntMath.java

       * Returns {@code false} if {@code n} is zero, one, or a composite number (one which <i>can</i> be
       * factored into smaller positive integers).
       *
       * <p>To test larger numbers, use {@link LongMath#isPrime} or {@link BigInteger#isProbablePrime}.
       *
       * @throws IllegalArgumentException if {@code n} is negative
       * @since 20.0
       */
      @GwtIncompatible // TODO
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 07 17:50:39 GMT 2024
    - 23.5K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/util/concurrent/MoreExecutors.java

          return false;
        }
      }
    
      /**
       * Creates a thread using {@link #platformThreadFactory}, and sets its name to {@code name} unless
       * changing the name is forbidden by the security manager.
       */
      @J2ktIncompatible
      @GwtIncompatible // concurrency
      static Thread newThread(String name, Runnable runnable) {
        checkNotNull(name);
        checkNotNull(runnable);
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Apr 17 16:33:44 GMT 2024
    - 41.8K bytes
    - Viewed (0)
Back to top