Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 51 for P256 (0.35 sec)

  1. android/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);
    
      /**
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 07 17:50:39 GMT 2024
    - 18.9K bytes
    - Viewed (0)
  2. android/guava-tests/benchmark/com/google/common/base/CharMatcherBenchmark.java

                3616, 8222, 3250, 27835, 59179, 36229, 3093, 23627, 25506, 7907, 27468, 54868, 22836,
                941, 8594, 22826, 23550, 20491, 23460, 30707, 3256, 27454, 32467, 9679, 20581, 27668,
                20415, 31246, 33391, 25165, 26410, 20116, 36873, 3654, 36816, 1410, 12442, 36074, 49457,
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Oct 10 19:45:10 GMT 2022
    - 194.8K bytes
    - Viewed (0)
  3. guava-tests/benchmark/com/google/common/base/EnumsBenchmark.java

        List<String> hits = new ArrayList<>();
        for (int i = 0; i < hitRate * 256 / 3; ++i) {
          hits.add(allConstants[0].name());
          hits.add(allConstants[allConstants.length / 2].name());
          hits.add(allConstants[allConstants.length - 1].name());
        }
    
        List<String> misses = new ArrayList<>();
        for (int i = 0; i < 256 - hits.size(); ++i) {
          misses.add("INVALID");
        }
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 17:15:24 GMT 2024
    - 29.4K bytes
    - Viewed (0)
  4. android/guava-tests/benchmark/com/google/common/base/EnumsBenchmark.java

        List<String> hits = new ArrayList<>();
        for (int i = 0; i < hitRate * 256 / 3; ++i) {
          hits.add(allConstants[0].name());
          hits.add(allConstants[allConstants.length / 2].name());
          hits.add(allConstants[allConstants.length - 1].name());
        }
    
        List<String> misses = new ArrayList<>();
        for (int i = 0; i < 256 - hits.size(); ++i) {
          misses.add("INVALID");
        }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 17:15:24 GMT 2024
    - 29.4K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/hash/HashTestUtils.java

        int hashBytes = hashbits / 8;
    
        byte[] key = new byte[256];
        byte[] hashes = new byte[hashBytes * 256];
    
        // Hash keys of the form {}, {0}, {0,1}, {0,1,2}... up to N=255,using 256-N as the seed
        for (int i = 0; i < 256; i++) {
          key[i] = (byte) i;
          int seed = 256 - i;
          byte[] hash = hashFunction.hash(Arrays.copyOf(key, i), seed);
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Oct 10 19:45:10 GMT 2022
    - 25.3K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/hash/HashingTest.java

      }
    
      // goodFastHash(256) uses Murmur3_128. Use the same epsilon bounds.
      public void testGoodFastHash256() {
        HashTestUtils.check2BitAvalanche(Hashing.goodFastHash(256), 250, 0.20);
        HashTestUtils.checkAvalanche(Hashing.goodFastHash(256), 500, 0.17);
        HashTestUtils.checkNo2BitCharacteristics(Hashing.goodFastHash(256));
        HashTestUtils.checkNoFunnels(Hashing.goodFastHash(256));
    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)
  7. android/guava-tests/benchmark/com/google/common/hash/MessageDigestCreationBenchmark.java

    /**
     * Benchmarks for comparing instance creation of {@link MessageDigest}s.
     *
     * @author Kurt Alfred Kluever
     */
    public class MessageDigestCreationBenchmark {
    
      @Param({"MD5", "SHA-1", "SHA-256", "SHA-384", "SHA-512"})
      private String algorithm;
    
      private MessageDigest md;
    
      @BeforeExperiment
      void setUp() throws Exception {
        md = MessageDigest.getInstance(algorithm);
      }
    
      @Benchmark
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 1.6K bytes
    - Viewed (0)
  8. guava-tests/benchmark/com/google/common/cache/SegmentBenchmark.java

    import java.util.concurrent.atomic.AtomicReferenceArray;
    
    /**
     * Benchmark for {@code LocalCache.Segment.expand()}.
     *
     * @author Charles Fry
     */
    public class SegmentBenchmark {
    
      @Param({"16", "32", "64", "128", "256", "512", "1024", "2048", "4096", "8192"})
      int capacity;
    
      private Segment<Object, Object> segment;
    
      @BeforeExperiment
      void setUp() {
        LocalCache<Object, Object> cache =
            new LocalCache<>(
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Dec 23 16:59:39 GMT 2019
    - 2.1K bytes
    - Viewed (0)
  9. android/guava-tests/benchmark/com/google/common/collect/MultisetIteratorBenchmark.java

    import java.util.Random;
    
    /**
     * Tests the speed of iteration of different iteration methods for collections.
     *
     * @author David Richter
     */
    public class MultisetIteratorBenchmark {
      @Param({"0", "1", "16", "256", "4096", "65536"})
      int size;
    
      LinkedHashMultiset<Object> linkedHashMultiset;
      HashMultiset<Object> hashMultiset;
    
      // TreeMultiset requires a Comparable element.
      TreeMultiset<Integer> treeMultiset;
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 2.6K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/collect/MinMaxPriorityQueueTest.java

          }
        }
      }
    
      public void testCorrectOrdering_mediumHeapsPollFirst() {
        for (int attempts = 0; attempts < reduceIterationsIfGwt(5000); attempts++) {
          int size = new Random().nextInt(256) + 16;
          ArrayList<Integer> elements = createOrderedList(size);
          List<Integer> expected = ImmutableList.copyOf(elements);
          MinMaxPriorityQueue<Integer> q = MinMaxPriorityQueue.create();
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 36.1K bytes
    - Viewed (0)
Back to top