Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 159 for 0x16 (0.02 sec)

  1. src/main/java/jcifs/internal/smb2/Smb2Constants.java

         */
        public static final int SMB2_GLOBAL_CAP_MULTI_CHANNEL = 0x8;
    
        /**
         * Server supports persistent handles
         */
        public static final int SMB2_GLOBAL_CAP_PERSISTENT_HANDLES = 0x10;
    
        /**
         * Server supports directory leasing
         */
        public static final int SMB2_GLOBAL_CAP_DIRECTORY_LEASING = 0x20;
    
        /**
         * Server supports SMB3 encryption
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 05:11:12 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb1/smb1/NtlmChallengeTest.java

            @Test
            @DisplayName("Various byte values are converted to uppercase hex")
            void testHexConversion() {
                byte[] challenge = new byte[] { (byte) 0x00, (byte) 0x0F, (byte) 0x10, (byte) 0x7F, (byte) 0x80, (byte) 0xFF };
                UniAddress dc = mock(UniAddress.class);
                when(dc.toString()).thenReturn("DC");
    
                NtlmChallenge nc = new NtlmChallenge(challenge, dc);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 6K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb1/smb1/SmbComCloseTest.java

        }
    
        static Stream<Arguments> validParams() {
            // fid 0x1234, lastWriteTime 0 -> UTime all 0xFF
            return Stream.of(Arguments.of(0x1234, 0L, new byte[] { 0x34, 0x12, (byte) 0xFF, (byte) 0xFF, (byte) 0xFF, (byte) 0xFF }),
                    // negative fid wraps around, lastWriteTime = 1000 -> 1 second -> int value 1
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.8K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb2/lease/DirectoryLeasingIntegrationTest.java

            when(mockFile2.lastModified()).thenReturn(System.currentTimeMillis() - 1800000);
            when(mockFile2.isDirectory()).thenReturn(true);
            when(mockFile2.getAttributes()).thenReturn(0x10); // FILE_ATTRIBUTE_DIRECTORY
            when(mockFile2.createTime()).thenReturn(System.currentTimeMillis() - 7200000);
            when(mockFile2.lastAccess()).thenReturn(System.currentTimeMillis() - 900000);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 01:47:47 UTC 2025
    - 14.2K bytes
    - Viewed (0)
  5. src/main/java/jcifs/internal/smb1/trans2/Trans2FindFirst2.java

        static final int FLAGS_CLOSE_IF_END_REACHED = 0x02;
        static final int FLAGS_RETURN_RESUME_KEYS = 0x04;
        static final int FLAGS_RESUME_FROM_PREVIOUS_END = 0x08;
        static final int FLAGS_FIND_WITH_BACKUP_INTENT = 0x10;
    
        private final int searchAttributes;
        private final int tflags;
        private final int informationLevel;
        private final int searchStorageType = 0;
        private final int maxItems;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 5.3K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb1/trans2/Trans2FindFirst2ResponseTest.java

            buffer[4] = 0x01; // end of search = true
            buffer[5] = 0x00;
            // eaErrorOffset (2 bytes)
            buffer[6] = 0x00;
            buffer[7] = 0x00;
            // lastNameOffset (2 bytes)
            buffer[8] = 0x10;
            buffer[9] = 0x00;
    
            int result = response.readParametersWireFormat(buffer, 0, 10);
    
            // Should read 10 bytes
            assertEquals(10, result);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.4K bytes
    - Viewed (0)
  7. src/test/java/jcifs/smb1/smb1/Trans2GetDfsReferralTest.java

            int len = cmd.writeParametersWireFormat(buffer, 0);
            assertTrue(len >= 2);
            // writeInt2 writes in little-endian format (LSB first)
            assertEquals(0xAB, buffer[0] & 0xFF);
            assertEquals(0x12, buffer[1] & 0xFF);
            // Check that the path is written after the referral level
            // The path should be written starting at index 2
            // writeString adds null terminator
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  8. src/test/java/jcifs/util/HexdumpTest.java

            // When
            String result = Hexdump.toHexString(data, offset, length);
    
            // Then
            assertNotNull(result);
            assertFalse(result.isEmpty());
            // Check starts with byte at offset 16 (0x10)
            assertTrue(result.startsWith("10111213"));
            assertEquals(64, result.length()); // 32 bytes * 2 chars per byte
        }
    
        @Test
        @DisplayName("Should handle invalid offset and length parameters")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.8K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/dtyp/ACETest.java

            testBuffer[0] = 0x01; // Deny ACE (non-zero)
            testBuffer[1] = 0x10; // FLAGS_INHERITED
            testBuffer[2] = 0x24; // Size low byte (36)
            testBuffer[3] = 0x00; // Size high byte
            testBuffer[4] = (byte) 0xFF; // Access mask byte 0
            testBuffer[5] = 0x01; // Access mask byte 1
            testBuffer[6] = 0x1F; // Access mask byte 2
            testBuffer[7] = 0x00; // Access mask byte 3
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.6K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb1/smb1/Trans2FindFirst2.java

        private static final int FLAGS_RETURN_RESUME_KEYS = 0x04;
        private static final int FLAGS_RESUME_FROM_PREVIOUS_END = 0x08;
        private static final int FLAGS_FIND_WITH_BACKUP_INTENT = 0x10;
    
        private static final int DEFAULT_LIST_SIZE = 65535;
        private static final int DEFAULT_LIST_COUNT = 200;
    
        private final int searchAttributes;
        private final int flags;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 4.5K bytes
    - Viewed (0)
Back to top