Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for 0xBB (0.02 sec)

  1. guava-tests/test/com/google/common/hash/HashCodeTest.java

      }
    
      private static final HashCode HASH_ABCD =
          HashCode.fromBytes(new byte[] {(byte) 0xaa, (byte) 0xbb, (byte) 0xcc, (byte) 0xdd});
    
      public void testWriteBytesTo() {
        byte[] dest = new byte[4];
        HASH_ABCD.writeBytesTo(dest, 0, 4);
        assertTrue(
            Arrays.equals(new byte[] {(byte) 0xaa, (byte) 0xbb, (byte) 0xcc, (byte) 0xdd}, dest));
      }
    
      public void testWriteBytesToOversizedArray() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 13.1K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/hash/HashCodeTest.java

      }
    
      private static final HashCode HASH_ABCD =
          HashCode.fromBytes(new byte[] {(byte) 0xaa, (byte) 0xbb, (byte) 0xcc, (byte) 0xdd});
    
      public void testWriteBytesTo() {
        byte[] dest = new byte[4];
        HASH_ABCD.writeBytesTo(dest, 0, 4);
        assertTrue(
            Arrays.equals(new byte[] {(byte) 0xaa, (byte) 0xbb, (byte) 0xcc, (byte) 0xdd}, dest));
      }
    
      public void testWriteBytesToOversizedArray() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 13.1K bytes
    - Viewed (0)
  3. okhttp/src/jvmTest/kotlin/okhttp3/ResponseBodyJvmTest.kt

        val body = "efbbbf68656c6c6f".decodeHex().toResponseBody()
        val source = body.source()
        assertThat(source.readByte() and 0xff).isEqualTo(0xef)
        assertThat(source.readByte() and 0xff).isEqualTo(0xbb)
        assertThat(source.readByte() and 0xff).isEqualTo(0xbf)
        assertThat(source.readUtf8()).isEqualTo("hello")
      }
    
      @Test
      fun bytesEmpty() {
        val body = body("")
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 12.4K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/primitives/LongsTest.java

            Longs.toByteArray(0x1213141516171819L));
        assertByteArrayEquals(
            new byte[] {
              (byte) 0xFF, (byte) 0xEE, (byte) 0xDD, (byte) 0xCC,
              (byte) 0xBB, (byte) 0xAA, (byte) 0x99, (byte) 0x88
            },
            Longs.toByteArray(0xFFEEDDCCBBAA9988L));
      }
    
      public void testFromByteArray() {
        assertThat(
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 28.7K bytes
    - Viewed (0)
Back to top