Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 29 for P256 (0.13 sec)

  1. android/guava/src/com/google/common/hash/Hashing.java

      }
    
      /** Returns a hash function implementing the SHA-256 algorithm (256 hash bits). */
      public static HashFunction sha256() {
        return Sha256Holder.SHA_256;
      }
    
      private static class Sha256Holder {
        static final HashFunction SHA_256 =
            new MessageDigestHashFunction("SHA-256", "Hashing.sha256()");
      }
    
      /**
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Apr 09 00:37:15 GMT 2024
    - 29.2K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/collect/ImmutableSetTest.java

      public void testResizeTable() {
        verifyTableSize(100, 2, 4);
        verifyTableSize(100, 5, 8);
        verifyTableSize(100, 33, 64);
        verifyTableSize(60, 60, 128);
        verifyTableSize(120, 60, 256);
        // if the table is only double the necessary size, we don't bother resizing it
        verifyTableSize(180, 60, 128);
        // but if it's even bigger than double, we rebuild the table
        verifyTableSize(17, 17, 32);
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 13.7K bytes
    - Viewed (0)
  3. 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 Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 26.5K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/escape/UnicodeEscaperTest.java

        assertEquals(TEST_STRING, escapeAsString(e, TEST_STRING));
      }
    
      public void testSimpleEscaper() {
        UnicodeEscaper e = SIMPLE_ESCAPER;
        String expected =
            "[0]abyz[128][256][2048][4096]ABYZ[65535]"
                + "["
                + Character.MIN_SUPPLEMENTARY_CODE_POINT
                + "]"
                + "0189["
                + Character.MAX_CODE_POINT
                + "]";
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Apr 19 19:24:36 GMT 2023
    - 6.2K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/collect/ListsTest.java

      public void testNewArrayListWithCapacity() {
        ArrayList<Integer> list = Lists.newArrayListWithCapacity(0);
        assertEquals(Collections.emptyList(), list);
    
        ArrayList<Integer> bigger = Lists.newArrayListWithCapacity(256);
        assertEquals(Collections.emptyList(), bigger);
      }
    
      public void testNewArrayListWithCapacity_negative() {
        try {
          Lists.newArrayListWithCapacity(-1);
          fail();
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Apr 17 16:33:44 GMT 2024
    - 35.2K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/math/MathTesting.java

            asList(
                64,
                65,
                71,
                72,
                73,
                79,
                80,
                81,
                255,
                256,
                257,
                511,
                512,
                513,
                Double.MAX_EXPONENT - 1,
                Double.MAX_EXPONENT,
                Double.MAX_EXPONENT + 1)) {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Oct 10 19:45:10 GMT 2022
    - 11.2K bytes
    - Viewed (0)
  7. 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 Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 36.1K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/io/BaseEncoding.java

        }
    
        private Base16Encoding(Alphabet alphabet) {
          super(alphabet, null);
          checkArgument(alphabet.chars.length == 16);
          for (int i = 0; i < 256; ++i) {
            encoding[i] = alphabet.encode(i >>> 4);
            encoding[i | 0x100] = alphabet.encode(i & 0xF);
          }
        }
    
        @Override
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Mar 15 16:33:32 GMT 2024
    - 41.7K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/primitives/UnsignedBytesTest.java

          assertThat(UnsignedBytes.parseUnsignedByte(Integer.toString(i))).isEqualTo((byte) i);
        }
        assertParseFails("1000");
        assertParseFails("-1");
        assertParseFails("-128");
        assertParseFails("256");
      }
    
      public void testMaxValue() {
        assertThat(UnsignedBytes.compare(UnsignedBytes.MAX_VALUE, (byte) (UnsignedBytes.MAX_VALUE + 1)))
            .isGreaterThan(0);
      }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 13.4K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/collect/AbstractSequentialIteratorTest.java

            };
        assertThat(actual)
            .containsExactly(
                1,
                2,
                4,
                8,
                16,
                32,
                64,
                128,
                256,
                512,
                1024,
                2048,
                4096,
                8192,
                16384,
                32768,
                65536,
                131072,
                262144,
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Feb 26 17:19:08 GMT 2024
    - 4.7K bytes
    - Viewed (0)
Back to top