Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for 97 (0.16 sec)

  1. android/guava-tests/test/com/google/common/base/Utf8Test.java

        long[] expected = new long[128];
        // 0-63 are all 5300224
        for (int i = 0; i <= 63; i++) {
          expected[i] = 5300224;
        }
        // 97-111 are all 2342912
        for (int i = 97; i <= 111; i++) {
          expected[i] = 2342912;
        }
        // 113-117 are all 1048576
        for (int i = 113; i <= 117; i++) {
          expected[i] = 1048576;
        }
        // One offs
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 12.7K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/base/Utf8Test.java

        long[] expected = new long[128];
        // 0-63 are all 5300224
        for (int i = 0; i <= 63; i++) {
          expected[i] = 5300224;
        }
        // 97-111 are all 2342912
        for (int i = 97; i <= 111; i++) {
          expected[i] = 2342912;
        }
        // 113-117 are all 1048576
        for (int i = 113; i <= 117; i++) {
          expected[i] = 1048576;
        }
        // One offs
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 12.7K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/io/ByteStreamsTest.java

      }
    
      public void testNewDataOutput_writeChar() {
        ByteArrayDataOutput out = ByteStreams.newDataOutput();
        out.writeChar('a');
        assertThat(out.toByteArray()).isEqualTo(new byte[] {0, 97});
      }
    
      // Hardcoded because of Android problems. See testUtf16Expected.
      private static final byte[] utf16ExpectedWithBom =
          new byte[] {-2, -1, 0, 114, 0, -55, 0, 115, 0, 117, 0, 109, 0, -55};
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 21.9K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/hash/HashingTest.java

       *
       */
      public void testConsistentHash_linearCongruentialGeneratorCompatibility() {
        int[] golden100 = {
          0, 55, 62, 8, 45, 59, 86, 97, 82, 59,
          73, 37, 17, 56, 86, 21, 90, 37, 38, 83
        };
        for (int i = 0; i < golden100.length; i++) {
          assertEquals(golden100[i], Hashing.consistentHash(i, 100));
        }
    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)
  5. android/guava-tests/test/com/google/common/hash/HashingTest.java

       *
       */
      public void testConsistentHash_linearCongruentialGeneratorCompatibility() {
        int[] golden100 = {
          0, 55, 62, 8, 45, 59, 86, 97, 82, 59,
          73, 37, 17, 56, 86, 21, 90, 37, 38, 83
        };
        for (int i = 0; i < golden100.length; i++) {
          assertEquals(golden100[i], Hashing.consistentHash(i, 100));
        }
    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)
  6. guava-tests/test/com/google/common/io/ByteStreamsTest.java

      }
    
      public void testNewDataOutput_writeChar() {
        ByteArrayDataOutput out = ByteStreams.newDataOutput();
        out.writeChar('a');
        assertThat(out.toByteArray()).isEqualTo(new byte[] {0, 97});
      }
    
      // Hardcoded because of Android problems. See testUtf16Expected.
      private static final byte[] utf16ExpectedWithBom =
          new byte[] {-2, -1, 0, 114, 0, -55, 0, 115, 0, 117, 0, 109, 0, -55};
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 21.9K bytes
    - Viewed (1)
Back to top