Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for 0xFE (0.12 sec)

  1. android/guava-tests/test/com/google/common/primitives/ShortsTest.java

        assertThat(Shorts.toByteArray((short) 0xFEDC)).isEqualTo(new byte[] {(byte) 0xFE, (byte) 0xDC});
      }
    
      @GwtIncompatible // Shorts.fromByteArray
      public void testFromByteArray() {
        assertThat(Shorts.fromByteArray(new byte[] {0x23, 0x45})).isEqualTo((short) 0x2345);
        assertThat(Shorts.fromByteArray(new byte[] {(byte) 0xFE, (byte) 0xDC}))
            .isEqualTo((short) 0xFEDC);
      }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 29 15:43:06 GMT 2024
    - 26.6K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/primitives/ShortsTest.java

        assertThat(Shorts.toByteArray((short) 0xFEDC)).isEqualTo(new byte[] {(byte) 0xFE, (byte) 0xDC});
      }
    
      @GwtIncompatible // Shorts.fromByteArray
      public void testFromByteArray() {
        assertThat(Shorts.fromByteArray(new byte[] {0x23, 0x45})).isEqualTo((short) 0x2345);
        assertThat(Shorts.fromByteArray(new byte[] {(byte) 0xFE, (byte) 0xDC}))
            .isEqualTo((short) 0xFEDC);
      }
    
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Thu Feb 29 15:43:06 GMT 2024
    - 26.6K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/primitives/CharsTest.java

      @GwtIncompatible // Chars.fromByteArray
      public void testFromByteArray() {
        assertThat(Chars.fromByteArray(new byte[] {0x23, 0x45, (byte) 0xDC})).isEqualTo('\u2345');
        assertThat(Chars.fromByteArray(new byte[] {(byte) 0xFE, (byte) 0xDC})).isEqualTo('\uFEDC');
      }
    
      @GwtIncompatible // Chars.fromByteArray
      public void testFromByteArrayFails() {
        try {
          Chars.fromByteArray(new byte[Chars.BYTES - 1]);
          fail();
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 24.7K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/net/InetAddresses.java

       *
       * <p>From RFC 5214: "ISATAP interface identifiers are constructed in Modified EUI-64 format [...]
       * by concatenating the 24-bit IANA OUI (00-00-5E), the 8-bit hexadecimal value 0xFE, and a 32-bit
       * IPv4 address in network byte order [...]"
       *
       * <p>For more on ISATAP addresses see section 6.1 of <a target="_parent"
       * href="http://tools.ietf.org/html/rfc5214#section-6.1">RFC 5214</a>.
       *
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Dec 15 19:31:54 GMT 2023
    - 44K bytes
    - Viewed (1)
  5. android/guava-tests/test/com/google/common/primitives/CharsTest.java

      @GwtIncompatible // Chars.fromByteArray
      public void testFromByteArray() {
        assertThat(Chars.fromByteArray(new byte[] {0x23, 0x45, (byte) 0xDC})).isEqualTo('\u2345');
        assertThat(Chars.fromByteArray(new byte[] {(byte) 0xFE, (byte) 0xDC})).isEqualTo('\uFEDC');
      }
    
      @GwtIncompatible // Chars.fromByteArray
      public void testFromByteArrayFails() {
        try {
          Chars.fromByteArray(new byte[Chars.BYTES - 1]);
          fail();
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 24.7K bytes
    - Viewed (0)
Back to top