Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 17 of 17 for 00010000 (0.22 sec)

  1. guava-tests/benchmark/com/google/common/hash/ChecksumBenchmark.java

    public class ChecksumBenchmark {
    
      // Use a constant seed for all of the benchmarks to ensure apples to apples comparisons.
      private static final int RANDOM_SEED = new Random().nextInt();
    
      @Param({"10", "1000", "100000", "1000000"})
      private int size;
    
      private byte[] testBytes;
    
      @BeforeExperiment
      void setUp() {
        testBytes = new byte[size];
        new Random(RANDOM_SEED).nextBytes(testBytes);
      }
    
      // CRC32
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Tue Jun 13 16:19:15 GMT 2023
    - 2.9K bytes
    - Viewed (0)
  2. android/guava-tests/benchmark/com/google/common/hash/ChecksumBenchmark.java

    public class ChecksumBenchmark {
    
      // Use a constant seed for all of the benchmarks to ensure apples to apples comparisons.
      private static final int RANDOM_SEED = new Random().nextInt();
    
      @Param({"10", "1000", "100000", "1000000"})
      private int size;
    
      private byte[] testBytes;
    
      @BeforeExperiment
      void setUp() {
        testBytes = new byte[size];
        new Random(RANDOM_SEED).nextBytes(testBytes);
      }
    
      // CRC32
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Jun 13 16:19:15 GMT 2023
    - 2.9K bytes
    - Viewed (0)
  3. guava-tests/benchmark/com/google/common/collect/BinaryTreeTraverserBenchmark.java

          }
        };
    
        abstract <T> Iterable<T> view(T root, TreeTraverser<T> viewer);
      }
    
      private Iterable<BinaryNode> view;
    
      @Param Topology topology;
    
      @Param({"1", "100", "10000", "1000000"})
      int size;
    
      @Param Traversal traversal;
    
      @Param({"1234"})
      SpecialRandom rng;
    
      @BeforeExperiment
      void setUp() {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Tue Feb 26 19:18:53 GMT 2019
    - 4.9K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/primitives/UnsignedLongsTest.java

      @GwtIncompatible // Too slow in GWT (~3min fully optimized)
      public void testDivideRemainderEuclideanProperty() {
        // Use a seed so that the test is deterministic:
        Random r = new Random(0L);
        for (int i = 0; i < 1000000; i++) {
          long dividend = r.nextLong();
          long divisor = r.nextLong();
          // Test that the Euclidean property is preserved:
          assertThat(
                  dividend
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Fri Feb 09 15:36:17 GMT 2024
    - 13.2K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/collect/ImmutableTableTest.java

        // See https://code.google.com/p/guava-libraries/issues/detail?id=1322 for details.
        ImmutableTable.Builder<Integer, Integer, String> builder = ImmutableTable.builder();
        for (int i = 1; i < 0x10000; i++) {
          builder.put(i, 0, "foo");
          builder.put(0, i, "bar");
        }
        assertTrue(builder.build() instanceof SparseImmutableTable);
      }
    
      @J2ktIncompatible
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Mar 04 16:54:11 GMT 2024
    - 20K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/math/IntMathTest.java

          } catch (ArithmeticException e) {
            assertFalse(expectSuccess);
          }
        }
      }
    
      @GwtIncompatible // log10
      public void testLog10TrivialOnPowerOfTen() {
        int x = 1000000;
        for (RoundingMode mode : ALL_ROUNDING_MODES) {
          assertEquals(6, IntMath.log10(x, mode));
        }
      }
    
      // Simple test to cover sqrt(0) for all types and all modes.
      @GwtIncompatible // sqrt
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Feb 07 17:50:39 GMT 2024
    - 24.5K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/hash/HashingTest.java

              .put(Hashing.murmur3_128(), TQBFJOTLDP, "c902e99e1f4899cde7b68789a3a15d69")
              .put(Hashing.murmur3_32(), EMPTY_STRING, "00000000")
              .put(Hashing.murmur3_32(), TQBFJOTLD, "23f74f2e")
              .put(Hashing.murmur3_32(), TQBFJOTLDP, "fc8bc4d5")
              .put(Hashing.murmur3_32_fixed(), EMPTY_STRING, "00000000")
              .put(Hashing.murmur3_32_fixed(), TQBFJOTLD, "23f74f2e")
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 26.5K bytes
    - Viewed (0)
Back to top