Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 22 for Longs (0.03 sec)

  1. android/guava-tests/benchmark/com/google/common/primitives/UnsignedLongsBenchmark.java

      @BeforeExperiment
      void setUp() {
        for (int i = 0; i < ARRAY_SIZE; i++) {
          longs[i] = random();
          divisors[i] = randomDivisor(longs[i]);
          decimalStrings[i] = UnsignedLongs.toString(longs[i]);
          binaryStrings[i] = UnsignedLongs.toString(longs[i], 2);
          hexStrings[i] = UnsignedLongs.toString(longs[i], 16);
          prefixedHexStrings[i] = "0x" + hexStrings[i];
        }
      }
    
      @Benchmark
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 4.3K bytes
    - Viewed (0)
  2. guava-tests/benchmark/com/google/common/math/LongMathBenchmark.java

      private static final long[] longs = new long[ARRAY_SIZE];
    
      @BeforeExperiment
      void setUp() {
        for (int i = 0; i < ARRAY_SIZE; i++) {
          exponents[i] = randomExponent();
          positive[i] = randomPositiveBigInteger(Long.SIZE - 1).longValue();
          nonnegative[i] = randomNonNegativeBigInteger(Long.SIZE - 1).longValue();
          longs[i] = RANDOM_SOURCE.nextLong();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 3.5K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/base/ConverterTest.java

        Converter<Long, String> reverseConverter = Longs.stringConverter().reverse();
        SerializableTester.reserializeAndAssert(reverseConverter);
      }
    
      @GwtIncompatible // J2CL generics problem
      public void testSerialization_andThen() {
        Converter<String, Long> converterA = Longs.stringConverter();
        Converter<Long, String> reverseConverter = Longs.stringConverter().reverse();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Oct 01 16:09:28 UTC 2024
    - 8K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/primitives/LongArrayAsListTest.java

                ListTestSuiteBuilder.using(new LongsAsListTailSubListGenerator())
                    .named("Longs.asList, tail subList"),
                ListTestSuiteBuilder.using(new LongsAsListMiddleSubListGenerator())
                    .named("Longs.asList, middle subList"));
    
        TestSuite suite = new TestSuite();
        for (ListTestSuiteBuilder<Long> builder : builders) {
          suite.addTest(
              builder
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Jun 01 09:32:35 UTC 2023
    - 5.5K bytes
    - Viewed (0)
  5. guava-tests/benchmark/com/google/common/primitives/UnsignedLongsBenchmark.java

      @BeforeExperiment
      void setUp() {
        for (int i = 0; i < ARRAY_SIZE; i++) {
          longs[i] = random();
          divisors[i] = randomDivisor(longs[i]);
          decimalStrings[i] = UnsignedLongs.toString(longs[i]);
          binaryStrings[i] = UnsignedLongs.toString(longs[i], 2);
          hexStrings[i] = UnsignedLongs.toString(longs[i], 16);
          prefixedHexStrings[i] = "0x" + hexStrings[i];
        }
      }
    
      @Benchmark
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 4.3K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/primitives/LongArrayAsListTest.java

                ListTestSuiteBuilder.using(new LongsAsListTailSubListGenerator())
                    .named("Longs.asList, tail subList"),
                ListTestSuiteBuilder.using(new LongsAsListMiddleSubListGenerator())
                    .named("Longs.asList, middle subList"));
    
        TestSuite suite = new TestSuite();
        for (ListTestSuiteBuilder<Long> builder : builders) {
          suite.addTest(
              builder
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Jun 01 09:32:35 UTC 2023
    - 5.5K bytes
    - Viewed (0)
  7. android/guava-tests/benchmark/com/google/common/math/LongMathRoundingBenchmark.java

      private static final long[] nonzero = new long[ARRAY_SIZE];
      private static final long[] longs = new long[ARRAY_SIZE];
    
      @BeforeExperiment
      void setUp() {
        for (int i = 0; i < ARRAY_SIZE; i++) {
          positive[i] = randomPositiveBigInteger(Long.SIZE - 2).longValue();
          nonzero[i] = randomNonZeroBigInteger(Long.SIZE - 2).longValue();
          longs[i] = RANDOM_SOURCE.nextLong();
        }
      }
    
      @Benchmark
      int log2(int reps) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 2.6K bytes
    - Viewed (0)
  8. android/guava-tests/benchmark/com/google/common/math/LongMathBenchmark.java

      private static final long[] longs = new long[ARRAY_SIZE];
    
      @BeforeExperiment
      void setUp() {
        for (int i = 0; i < ARRAY_SIZE; i++) {
          exponents[i] = randomExponent();
          positive[i] = randomPositiveBigInteger(Long.SIZE - 1).longValue();
          nonnegative[i] = randomNonNegativeBigInteger(Long.SIZE - 1).longValue();
          longs[i] = RANDOM_SOURCE.nextLong();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 3.5K bytes
    - Viewed (0)
  9. build-logic-commons/basics/src/main/kotlin/gradlebuild.minify.gradle.kts

            "it.unimi.dsi.fastutil.objects.Reference2ObjectOpenHashMap",
            // For dependency management
            "it.unimi.dsi.fastutil.longs.Long2ObjectMap",
            "it.unimi.dsi.fastutil.longs.Long2ObjectMaps",
            "it.unimi.dsi.fastutil.longs.Long2ObjectOpenHashMap",
            // For the configuration cache module
            "it.unimi.dsi.fastutil.objects.ReferenceArrayList",
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Sat Sep 30 16:17:28 UTC 2023
    - 4.2K bytes
    - Viewed (0)
  10. guava/src/com/google/common/hash/AbstractByteHasher.java

    import static com.google.common.base.Preconditions.checkPositionIndexes;
    
    import com.google.common.primitives.Chars;
    import com.google.common.primitives.Ints;
    import com.google.common.primitives.Longs;
    import com.google.common.primitives.Shorts;
    import com.google.errorprone.annotations.CanIgnoreReturnValue;
    import java.nio.ByteBuffer;
    import java.nio.ByteOrder;
    
    /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jun 15 20:59:00 UTC 2022
    - 3.5K bytes
    - Viewed (0)
Back to top