Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 40 for 0xcc (0.05 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 Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 14:28:19 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 Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 14:28:19 UTC 2024
    - 13.1K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/io/LittleEndianDataOutputStreamTest.java

        assertEquals(0, actual[1]);
        assertEquals((byte) 0xC9, actual[2]);
        assertEquals(0, actual[3]);
        assertEquals('s', actual[4]);
        assertEquals(0, actual[5]);
        assertEquals('u', actual[6]);
        assertEquals(0, actual[7]);
        assertEquals('m', actual[8]);
        assertEquals(0, actual[9]);
        assertEquals((byte) 0xC9, actual[10]);
        assertEquals(0, actual[11]);
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 23 14:22:54 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/io/LittleEndianDataOutputStreamTest.java

        assertEquals(0, actual[1]);
        assertEquals((byte) 0xC9, actual[2]);
        assertEquals(0, actual[3]);
        assertEquals('s', actual[4]);
        assertEquals(0, actual[5]);
        assertEquals('u', actual[6]);
        assertEquals(0, actual[7]);
        assertEquals('m', actual[8]);
        assertEquals(0, actual[9]);
        assertEquals((byte) 0xC9, actual[10]);
        assertEquals(0, actual[11]);
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 23 14:22:54 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/primitives/IntsTest.java

            .isEqualTo(new byte[] {(byte) 0xFF, (byte) 0xEE, (byte) 0xDD, (byte) 0xCC});
      }
    
      public void testFromByteArray() {
        assertThat(Ints.fromByteArray(new byte[] {0x12, 0x13, 0x14, 0x15, 0x33})).isEqualTo(0x12131415);
        assertThat(Ints.fromByteArray(new byte[] {(byte) 0xFF, (byte) 0xEE, (byte) 0xDD, (byte) 0xCC}))
            .isEqualTo(0xFFEEDDCC);
      }
    
      public void testFromByteArrayFails() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 02:56:12 UTC 2024
    - 29.1K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/primitives/LongsTest.java

            new byte[] {0x12, 0x13, 0x14, 0x15, 0x16, 0x17, 0x18, 0x19},
            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 Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 02:56:12 UTC 2024
    - 29.8K bytes
    - Viewed (0)
  7. src/archive/zip/reader_test.go

    		0x46, 0x45, 0x53, 0x54, 0x2e, 0x4d, 0x46, 0xf3,
    		0x4d, 0xcc, 0xcb, 0x4c, 0x4b, 0x2d, 0x2e, 0xd1,
    		0x0d, 0x4b, 0x2d, 0x2a, 0xce, 0xcc, 0xcf, 0xb3,
    		0x52, 0x30, 0xd4, 0x33, 0xe0, 0xe5, 0x72, 0x2e,
    		0x4a, 0x4d, 0x2c, 0x49, 0x4d, 0xd1, 0x75, 0xaa,
    		0x04, 0x0a, 0x00, 0x45, 0xf4, 0x0c, 0x8d, 0x15,
    		0x34, 0xdc, 0xf3, 0xf3, 0xd3, 0x73, 0x52, 0x15,
    		0x3c, 0xf3, 0x92, 0xf5, 0x34, 0x79, 0xb9, 0x78,
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Thu Jul 25 00:25:45 UTC 2024
    - 55.6K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/collect/ImmutableListTest.java

        b.set(0, "f");
        assertEquals(asList("a", "b", "c", "d"), list);
      }
    
      public void testComplexBuilder() {
        List<Integer> colorElem = asList(0x00, 0x33, 0x66, 0x99, 0xCC, 0xFF);
        ImmutableList.Builder<Integer> webSafeColorsBuilder = ImmutableList.builder();
        for (Integer red : colorElem) {
          for (Integer green : colorElem) {
            for (Integer blue : colorElem) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 24.1K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/collect/ImmutableListTest.java

        b.set(0, "f");
        assertEquals(asList("a", "b", "c", "d"), list);
      }
    
      public void testComplexBuilder() {
        List<Integer> colorElem = asList(0x00, 0x33, 0x66, 0x99, 0xCC, 0xFF);
        ImmutableList.Builder<Integer> webSafeColorsBuilder = ImmutableList.builder();
        for (Integer red : colorElem) {
          for (Integer green : colorElem) {
            for (Integer blue : colorElem) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 23.5K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/collect/AbstractImmutableSetTest.java

      }
    
      static final int LAST_COLOR_ADDED = 0x00BFFF;
    
      public void testComplexBuilder() {
        List<Integer> colorElem = asList(0x00, 0x33, 0x66, 0x99, 0xCC, 0xFF);
        // javac won't compile this without "this.<Integer>"
        ImmutableSet.Builder<Integer> webSafeColorsBuilder = this.<Integer>builder();
        for (Integer red : colorElem) {
          for (Integer green : colorElem) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 18.5K bytes
    - Viewed (0)
Back to top