Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 91 for 0x0302 (0.03 sec)

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

            .putByte((byte) 0x01)
            .putByte((byte) 0x00)
            .putByte((byte) 0x01)
            .putByte((byte) 0x00)
            .putByte((byte) 0x00)
            .putByte((byte) 0x00)
            .putByte((byte) 0x00);
        assertEquals(hashCode, hasher.hash().asLong());
    
        hasher = HASH_FN.newHasher();
        hasher
            .putChar((char) 0x0101)
            .putChar((char) 0x0100)
            .putChar((char) 0x0000)
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 6.3K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/hash/Fingerprint2011Test.java

            .putByte((byte) 0x01)
            .putByte((byte) 0x00)
            .putByte((byte) 0x01)
            .putByte((byte) 0x00)
            .putByte((byte) 0x00)
            .putByte((byte) 0x00)
            .putByte((byte) 0x00);
        assertEquals(hashCode, hasher.hash().asLong());
    
        hasher = HASH_FN.newHasher();
        hasher
            .putChar((char) 0x0101)
            .putChar((char) 0x0100)
            .putChar((char) 0x0000)
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 7.8K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/smb1/trans2/Trans2QueryPathInformation.java

        static long mapInformationLevel(final int il) {
            switch (il) {
            case FileInformation.FILE_BASIC_INFO:
                return 0x0101;
            case FileInformation.FILE_STANDARD_INFO:
                return 0x0102;
            case FileInformation.FILE_ENDOFFILE_INFO:
                return 0x0104;
            }
            throw new IllegalArgumentException("Unsupported information level " + il);
        }
    
        @Override
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 4K bytes
    - Viewed (0)
  4. okhttp-idna-mapping-table/src/test/kotlin/okhttp3/internal/idn/MappingTablesTest.kt

              Mapping(0x0042, 0x0042, TYPE_MAPPED, "b".encodeUtf8()),
            ),
          ),
        ).containsExactly(
          Mapping(0x0041, 0x0041, TYPE_MAPPED, "a".encodeUtf8()),
          Mapping(0x0042, 0x0042, TYPE_MAPPED, "b".encodeUtf8()),
        )
      }
    
      @Test fun simplifyCanonicalizesType() {
        assertThat(
          mergeAdjacentRanges(
            listOf(
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 6.3K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb1/trans2/Trans2QueryPathInformationTest.java

            int actualInfoLevel = SMBUtil.readInt2(buffer, 0);
            assertEquals(0x0101, actualInfoLevel); // FILE_BASIC_INFO maps to 0x0101
    
            // Check reserved bytes (4 bytes of 0x00)
            assertEquals(0x00, buffer[2]);
            assertEquals(0x00, buffer[3]);
            assertEquals(0x00, buffer[4]);
            assertEquals(0x00, buffer[5]);
    
            // Check that filename is written correctly (starting at offset 6)
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.4K bytes
    - Viewed (0)
  6. src/test/java/jcifs/smb1/smb1/NetServerEnum2Test.java

            System.arraycopy(dst, 2, writtenDescr, 0, descr.length);
            assertArrayEquals(descr, writtenDescr);
    
            int currentIndex = 2 + descr.length;
            // Verify level (0x0001)
            assertEquals(1, (dst[currentIndex] & 0xFF) | ((dst[currentIndex + 1] & 0xFF) << 8));
            currentIndex += 2;
    
            // Verify maxDataCount
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.6K bytes
    - Viewed (0)
  7. src/test/java/jcifs/smb1/smb1/Trans2QueryPathInformationTest.java

            assertEquals((byte) 0x00, dst[1], "The second byte should be 0.");
        }
    
        /**
         * Tests the writeParametersWireFormat method.
         */
        @Test
        void testWriteParametersWireFormat() {
            // Given
            String filename = "a\\test\\path.txt";
            int informationLevel = 0x0102;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.8K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb1/trans2/Trans2QueryFSInformationTest.java

            // Check information level (FS_SIZE_INFO maps to 0x0103)
            int actualInfoLevel = SMBUtil.readInt2(buffer, 0);
            assertEquals(0x0103, actualInfoLevel);
        }
    
        @DisplayName("Test writeParametersWireFormat with different information levels")
        @ParameterizedTest
        @CsvSource({ "-1, 1", // SMB_INFO_ALLOCATION -> 0x0001
                "3, 259" // FS_SIZE_INFO -> 0x0103
        })
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.9K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb1/smb1/SmbComQueryInformationResponse.java

     */
    
    package jcifs.smb1.smb1;
    
    import java.util.Date;
    
    import jcifs.smb1.util.Hexdump;
    
    class SmbComQueryInformationResponse extends ServerMessageBlock implements Info {
    
        private int fileAttributes = 0x0000;
        private long lastWriteTime = 0L;
        private final long serverTimeZoneOffset;
        private int fileSize = 0;
    
        SmbComQueryInformationResponse(final long serverTimeZoneOffset) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 2.7K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb1/smb1/NetShareEnum.java

            }
    
            writeInt2(NET_SHARE_ENUM, dst, dstIndex);
            dstIndex += 2;
            System.arraycopy(descr, 0, dst, dstIndex, descr.length);
            dstIndex += descr.length;
            writeInt2(0x0001, dst, dstIndex);
            dstIndex += 2;
            writeInt2(maxDataCount, dst, dstIndex);
            dstIndex += 2;
    
            return dstIndex - start;
        }
    
        @Override
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 2.7K bytes
    - Viewed (0)
Back to top