Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for 020200ff (0.04 sec)

  1. okhttp-tls/src/test/java/okhttp3/tls/internal/der/DerTest.kt

        assertThat(Adapters.INTEGER_AS_LONG.fromDer(bytes)).isEqualTo(-549755813887L)
        assertThat(Adapters.INTEGER_AS_LONG.toDer(-549755813887L)).isEqualTo(bytes)
      }
    
      @Test fun `eight zeros`() {
        val bytes = "020200ff".decodeHex()
        assertThat(Adapters.INTEGER_AS_LONG.fromDer(bytes)).isEqualTo(255)
        assertThat(Adapters.INTEGER_AS_LONG.toDer(255)).isEqualTo(bytes)
      }
    
      @Test fun `eight ones`() {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 31.7K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/primitives/IntsTest.java

        assertThat(converter.convert("0xFF")).isEqualTo((Integer) 255);
        assertThat(converter.convert("-0xFF")).isEqualTo((Integer) (-255));
        assertThat(converter.convert("#0000FF")).isEqualTo((Integer) 255);
        assertThat(converter.convert("0666")).isEqualTo((Integer) 438);
      }
    
      public void testStringConverter_convertError() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 02:56:12 UTC 2024
    - 29.1K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/primitives/LongsTest.java

        assertThat(converter.convert("0xFF")).isEqualTo((Long) 255L);
        assertThat(converter.convert("-0xFF")).isEqualTo((Long) (-255L));
        assertThat(converter.convert("#0000FF")).isEqualTo((Long) 255L);
        assertThat(converter.convert("0666")).isEqualTo((Long) 438L);
      }
    
      public void testStringConverter_convertError() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 02:56:12 UTC 2024
    - 29.8K bytes
    - Viewed (0)
Back to top