Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 88 for 0x0001 (0.07 seconds)

  1. src/main/java/jcifs/smb1/smb1/SmbConstants.java

        /** Unicode capability */
        int CAP_UNICODE = 0x0004;
        /** Large files capability */
        int CAP_LARGE_FILES = 0x0008;
        /** NT SMBs capability */
        int CAP_NT_SMBS = 0x0010;
        /** RPC remote APIs capability */
        int CAP_RPC_REMOTE_APIS = 0x0020;
        /** 32-bit status codes capability */
        int CAP_STATUS32 = 0x0040;
        /** Level II oplocks capability */
        int CAP_LEVEL_II_OPLOCKS = 0x0080;
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 10.3K bytes
    - Click Count (0)
  2. src/test/java/jcifs/internal/smb2/notify/Smb2ChangeNotifyRequestTest.java

            assertEquals(0x80, Smb2ChangeNotifyRequest.FILE_NOTIFY_CHANGE_EA);
            assertEquals(0x100, Smb2ChangeNotifyRequest.FILE_NOTIFY_CHANGE_SECURITY);
            assertEquals(0x200, Smb2ChangeNotifyRequest.FILE_NOTIFY_CHANGE_STREAM_NAME);
            assertEquals(0x400, Smb2ChangeNotifyRequest.FILE_NOTIFY_CHANGE_STREAM_SIZE);
            assertEquals(0x800, Smb2ChangeNotifyRequest.FILE_NOTIFY_CHANGE_STREAM_WRITE);
        }
    
        @Test
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 17.1K bytes
    - Click Count (0)
  3. src/test/java/jcifs/internal/smb2/session/Smb2SessionSetupResponseTest.java

            int bodyStart = headerStart + Smb2Constants.SMB2_HEADER_LENGTH;
            // Error response structure: size(2)=9, errorContextCount(1), reserved(1), bc(4), errorData(bc)
            SMBUtil.writeInt2(9, buf, bodyStart);
            buf[bodyStart + 2] = 0x02; // errorContextCount
            buf[bodyStart + 3] = 0x00; // reserved
            int bc = 4;
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 9.7K bytes
    - Click Count (0)
  4. src/main/java/jcifs/internal/smb2/nego/Smb2RdmaTransformCapabilitiesContext.java

            return transformCount > 0 && rdmaTransformId == 0x0001;
        }
    
        /**
         * Get the transform count
         *
         * @return number of transforms
         */
        public int getTransformCount() {
            return transformCount;
        }
    
        /**
         * Get the RDMA transform ID
         *
         * @return transform ID (should be 0x0001 for V1)
         */
        public int getRdmaTransformId() {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 24 00:12:28 GMT 2025
    - 4.4K bytes
    - Click Count (0)
  5. src/test/java/jcifs/internal/smb2/Smb2TransformHeaderTest.java

            // Testing invalid protocol ID during decode instead
            byte[] invalidBuffer = new byte[52];
            // Write invalid protocol ID
            invalidBuffer[0] = 0x00;
            invalidBuffer[1] = 0x00;
            invalidBuffer[2] = 0x00;
            invalidBuffer[3] = 0x00;
    
            assertThrows(IllegalArgumentException.class, () -> {
                Smb2TransformHeader.decode(invalidBuffer, 0);
            });
        }
    
        @Test
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 12.7K bytes
    - Click Count (0)
  6. src/main/java/jcifs/internal/smb2/Smb2Constants.java

        /**
         * SMB 3.0 dialect (Windows 8/Server 2012)
         */
        public static final int SMB2_DIALECT_0300 = 0x0300;
    
        /**
         * SMB 3.0.2 dialect (Windows 8.1/Server 2012R2)
         */
        public static final int SMB2_DIALECT_0302 = 0x0302;
    
        /**
         * SMB 3.1.1 dialect (Windows 10/Server 2016)
         */
        public static final int SMB2_DIALECT_0311 = 0x0311;
    
        /**
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 23 05:11:12 GMT 2025
    - 4.5K bytes
    - Click Count (0)
  7. 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
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 7.6K bytes
    - Click Count (0)
  8. src/test/java/jcifs/internal/smb2/Smb2ConstantsTest.java

            @DisplayName("Signing enabled flag should be 0x0001")
            void testSigningEnabledFlag() {
                assertEquals(0x0001, Smb2Constants.SMB2_NEGOTIATE_SIGNING_ENABLED, "Signing enabled flag must be 0x0001");
            }
    
            @Test
            @DisplayName("Signing required flag should be 0x0002")
            void testSigningRequiredFlag() {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 14.1K bytes
    - Click Count (0)
  9. src/main/java/jcifs/SmbConstants.java

        int FLAGS2_STATUS32 = 0x4000;
        /**
         * Strings are Unicode flag.
         */
        int FLAGS2_UNICODE = 0x8000;
    
        /**
         * No capabilities.
         */
        int CAP_NONE = 0x0000;
        /**
         * Raw mode transfers are supported capability.
         */
        int CAP_RAW_MODE = 0x0001;
        /**
         * Multiplex mode is supported capability.
         */
        int CAP_MPX_MODE = 0x0002;
        /**
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 24 00:49:49 GMT 2025
    - 12.8K bytes
    - Click Count (0)
  10. 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
        })
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 18.9K bytes
    - Click Count (0)
Back to Top