Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 95 for 0x0600 (2.18 sec)

  1. src/test/java/jcifs/smb1/smb1/SmbComQueryInformationResponseTest.java

            // 2 bytes for fileAttributes, 4 bytes for lastWriteTime, 4 bytes for fileSize
            byte[] buffer = new byte[20];
            // File Attributes: 0x0010 (Directory)
            buffer[0] = 0x10;
            buffer[1] = 0x00;
            // Last Write Time (UTime): A sample timestamp in milliseconds
            long sampleTimeMillis = 1672531200000L; // Represents a specific date in milliseconds
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.5K bytes
    - Viewed (0)
  2. 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: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.6K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb1/smb1/Trans2QueryPathInformationTest.java

            assertEquals((byte) 0x00, trans.maxSetupCount, "The maxSetupCount should be 0.");
        }
    
        /**
         * Tests the writeSetupWireFormat method.
         */
        @Test
        void testWriteSetupWireFormat() {
            // Given
            Trans2QueryPathInformation trans = new Trans2QueryPathInformation("test.txt", 0x0101);
            byte[] dst = new byte[2];
    
            // When
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.8K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb1/com/SmbComWriteResponseTest.java

            assertEquals(0x1234L, resp.getCount(), "Count should reflect value from buffer");
        }
    
        @Test
        public void testToStringContainsCount() {
            // Little-endian: count = 512 (0x0200)
            byte[] buf = new byte[12];
            buf[0] = 0x00;
            buf[1] = 0x02; // count = 512 in little-endian
            resp.readParameterWordsWireFormat(buf, 0);
            String str = resp.toString();
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 2.1K bytes
    - Viewed (0)
  5. src/test/java/jcifs/dcerpc/DcerpcBindTest.java

                getResultMessageMethod.setAccessible(true);
    
                assertEquals("0x0004", getResultMessageMethod.invoke(null, 4), "Should return hex format for unknown code 4");
                assertEquals("0x00FF", getResultMessageMethod.invoke(null, 255), "Should return hex format for unknown code 255");
                assertEquals("0x1000", getResultMessageMethod.invoke(null, 4096), "Should return hex format for large unknown code");
            }
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 22.7K bytes
    - Viewed (0)
  6. README.md

    **Supported Protocols:**
    - **SMB1/CIFS**: Legacy support via `jcifs.smb1/` package
    - **SMB 2.0.2**: Windows Vista+ (0x0202)
    - **SMB 2.1**: Windows 7/Server 2008R2 (0x0210)
    - **SMB 3.0**: Windows 8/Server 2012 (0x0300) - AES-128-CCM encryption
    - **SMB 3.0.2**: Windows 8.1/Server 2012R2 (0x0302) - Enhanced encryption
    - **SMB 3.1.1**: Windows 10/Server 2016+ (0x0311) - AES-128-GCM + Pre-Auth Integrity
    
    **Protocol Selection:**
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 09:24:52 UTC 2025
    - 6.2K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/core/text/DecimalFormatUtilTest.java

            assertEquals("2", "1000", DecimalFormatUtil.normalize("1,000", Locale.JAPAN));
            assertEquals("3", "1000.00", DecimalFormatUtil.normalize("1.000,00", Locale.GERMAN));
        }
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 1.1K bytes
    - Viewed (0)
  8. src/main/java/jcifs/internal/smb2/rdma/RdmaNegotiateResponse.java

        /**
         * Create new RDMA negotiation response
         */
        public RdmaNegotiateResponse() {
            // Initialize with default values
            this.status = 0; // Success
            this.selectedVersion = 0x0100; // SMB Direct 1.0
            this.creditsGranted = 0;
            this.maxReceiveSize = RdmaCapabilities.DEFAULT_MAX_RECEIVE_SIZE;
            this.maxReadWriteSize = RdmaCapabilities.DEFAULT_MAX_READ_WRITE_SIZE;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 23 05:11:12 UTC 2025
    - 4.1K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/smb1/com/SmbComWriteAndXResponseTest.java

        /**
         * Test of readParameterWordsWireFormat method
         */
        @Test
        public void testReadParameterWordsWireFormat() {
            // Given
            byte[] buffer = new byte[] { (byte) 0xff, (byte) 0xff, 0, 0, 0, 0, 0, 0 };
            SmbComWriteAndXResponse instance = new SmbComWriteAndXResponse(config);
    
            // When
            int result = instance.readParameterWordsWireFormat(buffer, 0);
    
            // Then
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3.2K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/util/SMBUtilTest.java

                    (byte) 0xFF, (byte) 0xFF, (byte) 0xFF, (byte) 0xFF, (byte) 0xFF, (byte) 0xFF, (byte) 0xFF, (byte) 0xFF,
                    // 0x0000000000000000L
                    (byte) 0x00, (byte) 0x00, (byte) 0x00, (byte) 0x00, (byte) 0x00, (byte) 0x00, (byte) 0x00, (byte) 0x00 };
    
            assertEquals(0x123456789ABCDEF0L, SMBUtil.readInt8(src, 0));
            assertEquals(0xFFFFFFFFFFFFFFFFL, SMBUtil.readInt8(src, 8));
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.1K bytes
    - Viewed (0)
Back to top