Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for 0xBB (0.01 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)
  5. src/main/java/org/codelibs/fess/crawler/transformer/FessXpathTransformer.java

         * @param b the byte array to check
         * @return true if the bytes represent UTF-8 BOM, false otherwise
         */
        private boolean isUtf8BomBytes(final byte[] b) {
            return b[0] == (byte) 0xEF && b[1] == (byte) 0xBB && b[2] == (byte) 0xBF;
        }
    
        /**
         * Sets whether to process Google on/off comment directives.
         *
         * @param useGoogleOffOn true to enable Google on/off processing, false to disable
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 54.4K bytes
    - Viewed (0)
Back to top