Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 87 for 0x12345678 (0.33 sec)

  1. src/test/java/jcifs/internal/smb2/ioctl/SrvCopychunkTest.java

            void testCompleteEncodingStructure() {
                // Given
                long sourceOffset = 0x1234567890ABCDEFL;
                long targetOffset = 0xFEDCBA0987654321L;
                int length = 0x12345678;
                SrvCopychunk chunk = new SrvCopychunk(sourceOffset, targetOffset, length);
                byte[] buffer = new byte[EXPECTED_SIZE];
    
                // When
                int bytesWritten = chunk.encode(buffer, 0);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.4K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb2/info/Smb2QueryDirectoryRequestTest.java

        }
    
        @Test
        @DisplayName("Test setFileIndex method")
        void testSetFileIndex() {
            request = new Smb2QueryDirectoryRequest(mockConfig);
            int fileIndex = 0x12345678;
    
            request.setFileIndex(fileIndex);
    
            // Verify by writing to buffer and checking the fileIndex position
            byte[] buffer = new byte[1024];
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.2K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb2/ioctl/ValidateNegotiateInfoResponseTest.java

            // Prepare test data
            byte[] buffer = new byte[64];
            int bufferIndex = 10;
    
            // Set capabilities (4 bytes)
            int testCapabilities = 0x12345678;
            SMBUtil.writeInt4(testCapabilities, buffer, bufferIndex);
    
            // Set server GUID (16 bytes)
            byte[] testGuid = new byte[16];
            for (int i = 0; i < 16; i++) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.8K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/fscc/SmbInfoAllocationTest.java

        @DisplayName("Test decode with typical values")
        void testDecodeWithTypicalValues() throws SMBProtocolDecodingException {
            // Prepare test data
            byte[] buffer = new byte[22];
            int idFileSystem = 0x12345678;
            int sectPerAlloc = 8;
            long alloc = 1000000L;
            long free = 500000L;
            int bytesPerSect = 512;
    
            // Encode test data
            int offset = 0;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.2K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb2/create/Smb2CreateRequestTest.java

        }
    
        @Test
        @DisplayName("Test desired access setter")
        void testSetDesiredAccess() {
            request = new Smb2CreateRequest(mockConfig, "test.txt");
    
            int access = 0x12345678;
            request.setDesiredAccess(access);
    
            byte[] buffer = new byte[1024];
            request.writeBytesWireFormat(buffer, 0);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 18.6K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/fscc/FileBothDirectoryInfoTest.java

        void testGetFileIndex() throws SMBProtocolDecodingException {
            // Prepare test data
            byte[] buffer = createValidBuffer("file.txt", "FILE~1.TXT", true);
            int expectedFileIndex = 0x12345678;
            SMBUtil.writeInt4(expectedFileIndex, buffer, 4);
    
            // Decode
            fileBothDirectoryInfo.decode(buffer, 0, buffer.length);
    
            // Verify
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.9K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb2/io/Smb2ReadResponseTest.java

        void testReadBytesWireFormatReserved2Field() throws Exception {
            // Given
            byte[] buffer = new byte[256];
            int bodyStart = 0;
            int dataOffsetFromHeader = 80;
            int reserved2Value = 0x12345678;
    
            // Write structure
            SMBUtil.writeInt2(17, buffer, bodyStart);
            buffer[bodyStart + 2] = (byte) dataOffsetFromHeader;
            SMBUtil.writeInt4(10, buffer, bodyStart + 4);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 22.1K bytes
    - Viewed (0)
  8. cmd/testdata/xl-many-parts.meta

    "��"��"��"��"��"��"��"��"��"��"��"��"��"��"��"��"��"��"��"��"��"��"��"��"��"��"��"��"��#�#�#�#�#�#�#�#�#�#	�#
    L294:�#�#�#
    �#�#�#�#�#�#�#�#�#�#�#�#�#�#�#�#�#�#�# �#!�#"�##�#$�#%�#&�#'�#(�#)�#*�#+�#,�#-�#.�#/�#0�#1�#2�#3�#4�#5�#6�#7�#8�PartETags��PartSizes�#8�`�`�`�`�`�`�`�`�`�`�`�`�`�`�`�`�`�`�`�`�`�`�`�`�`�`�`�`�`�`�`�`�`�`�`�`�`�`�`�`�`�`�`...
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Sat Sep 02 21:40:38 UTC 2023
    - 808.8K bytes
    - Viewed (0)
  9. src/test/java/jcifs/util/HexdumpTest.java

            assertEquals("FFFFFFFFFFFFFFFF", Hexdump.toHexString(-1L, 16));
    
            // Test different sizes
            assertEquals("00000000", Hexdump.toHexString(0L, 8));
            assertEquals("12345678", Hexdump.toHexString(0x12345678L, 8));
        }
    
        @Test
        @DisplayName("Should handle special byte values correctly")
        void testSpecialByteValues() {
            // Test boundary values
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.8K bytes
    - Viewed (0)
  10. src/test/java/jcifs/smb1/util/HexdumpTest.java

            assertEquals("00FF", Hexdump.toHexString(255L, 4));
    
            // Test larger values
            assertEquals("0000000012345678", Hexdump.toHexString(0x12345678L, 16));
            assertEquals("12345678", Hexdump.toHexString(0x12345678L, 8));
            assertEquals("5678", Hexdump.toHexString(0x12345678L, 4));
    
            // Test negative values (treated as unsigned)
            assertEquals("FFFFFFFFFFFFFFFF", Hexdump.toHexString(-1L, 16));
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.4K bytes
    - Viewed (0)
Back to top