Search Options

Results per page
Sort
Preferred Languages
Advance

Results 2551 - 2560 of 3,496 for 1Final (0.06 sec)

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

     */
    @ElementTypesAreNonnullByDefault
    @GwtCompatible(emulated = true)
    public class BytesTest extends TestCase {
      private static final byte[] EMPTY = {};
      private static final byte[] ARRAY1 = {(byte) 1};
      private static final byte[] ARRAY234 = {(byte) 2, (byte) 3, (byte) 4};
    
      private static final byte[] VALUES = {Byte.MIN_VALUE, -1, 0, 1, Byte.MAX_VALUE};
    
      public void testHashCode() {
        for (byte value : VALUES) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 02:56:12 UTC 2024
    - 17.3K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/collect/ImmutableRangeSetTest.java

        }
      }
    
      private static final ImmutableRangeSet<Integer> RANGE_SET_ONE =
          ImmutableRangeSet.<Integer>builder()
              .add(Range.closed(2, 4))
              .add(Range.open(6, 7))
              .add(Range.closedOpen(8, 10))
              .add(Range.openClosed(15, 17))
              .build();
    
      private static final ImmutableRangeSet<Integer> RANGE_SET_TWO =
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 02 18:21:29 UTC 2024
    - 21.5K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/primitives/UnsignedBytesTest.java

     *
     * @author Kevin Bourrillion
     * @author Louis Wasserman
     */
    public class UnsignedBytesTest extends TestCase {
      private static final byte LEAST = 0;
      private static final byte GREATEST = (byte) 255;
    
      // Only in this class, VALUES must be strictly ascending
      private static final byte[] VALUES = {LEAST, 127, (byte) 128, (byte) 129, GREATEST};
    
      public void testToInt() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/collect/BenchmarkHelpers.java

      public enum Value {
        INSTANCE;
      }
    
      public enum ListSizeDistribution {
        UNIFORM_0_TO_2(0, 2),
        UNIFORM_0_TO_9(0, 9),
        ALWAYS_0(0, 0),
        ALWAYS_10(10, 10);
    
        final int min;
        final int max;
    
        private ListSizeDistribution(int min, int max) {
          this.min = min;
          this.max = max;
        }
    
        public int chooseSize(Random random) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 12.4K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/math/StatsAccumulator.java

     *
     * @author Pete Gillin
     * @author Kevin Bourrillion
     * @since 20.0
     */
    @J2ktIncompatible
    @GwtIncompatible
    @ElementTypesAreNonnullByDefault
    public final class StatsAccumulator {
    
      // These fields must satisfy the requirements of Stats' constructor as well as those of the stat
      // methods of this class.
      private long count = 0;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 23 16:45:30 UTC 2024
    - 15.8K bytes
    - Viewed (0)
  6. guava/src/com/google/common/math/BigIntegerMath.java

       * of two. This can be any value, but higher values incur more class load time and linearly
       * increasing memory consumption.
       */
      @VisibleForTesting static final int SQRT2_PRECOMPUTE_THRESHOLD = 256;
    
      @VisibleForTesting
      static final BigInteger SQRT2_PRECOMPUTED_BITS =
          new BigInteger("16a09e667f3bcc908b2fb1366ea957d3e3adec17512775099da2f590b0667322a", 16);
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 16 17:21:56 UTC 2024
    - 18.8K bytes
    - Viewed (0)
  7. android/guava-tests/benchmark/com/google/common/base/ToStringHelperBenchmark.java

                .addValue(15.0f);
          }
        };
    
        void addEntries(MoreObjects.ToStringHelper helper) {}
      }
    
      @Param Dataset dataset;
    
      private static final String SHORT_NAME = "userId";
      private static final String LONG_NAME = "fluxCapacitorFailureRate95Percentile";
    
      private MoreObjects.ToStringHelper newHelper() {
        MoreObjects.ToStringHelper helper = MoreObjects.toStringHelper("klass");
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Jun 10 19:21:11 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/util/concurrent/ClosingFutureFinishToValueAndCloserTest.java

     * ClosingFuture#finishToValueAndCloser(ValueAndCloserConsumer, Executor)}.
     */
    public class ClosingFutureFinishToValueAndCloserTest extends AbstractClosingFutureTest {
      private final ExecutorService finishToValueAndCloserExecutor = newSingleThreadExecutor();
      private volatile ValueAndCloser<?> valueAndCloser;
    
      @Override
      protected void tearDown() throws Exception {
        super.tearDown();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 5.7K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/collect/OrderingTest.java

       * increasing order according to that ordering.
       */
      private static class Scenario<T extends @Nullable Object> {
        final Ordering<T> ordering;
        final List<T> strictlyOrderedList;
        final T[] emptyArray;
    
        Scenario(Ordering<T> ordering, List<T> strictlyOrderedList, T[] emptyArray) {
          this.ordering = ordering;
          this.strictlyOrderedList = strictlyOrderedList;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 42.6K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/collect/OrderingTest.java

       * increasing order according to that ordering.
       */
      private static class Scenario<T extends @Nullable Object> {
        final Ordering<T> ordering;
        final List<T> strictlyOrderedList;
        final T[] emptyArray;
    
        Scenario(Ordering<T> ordering, List<T> strictlyOrderedList, T[] emptyArray) {
          this.ordering = ordering;
          this.strictlyOrderedList = strictlyOrderedList;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 42.6K bytes
    - Viewed (0)
Back to top