Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 14 for UNSPECIFIED_FILEID (0.08 sec)

  1. src/test/java/jcifs/internal/smb2/Smb2ConstantsTest.java

            void testUnspecifiedFileId() {
                assertNotNull(Smb2Constants.UNSPECIFIED_FILEID, "Unspecified FileId should not be null");
                assertEquals(16, Smb2Constants.UNSPECIFIED_FILEID.length, "Unspecified FileId must be exactly 16 bytes");
    
                // Verify all bytes are 0xFF
                for (int i = 0; i < Smb2Constants.UNSPECIFIED_FILEID.length; i++) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.1K bytes
    - Viewed (0)
  2. src/main/java/jcifs/internal/smb2/Smb2Constants.java

        /**
         * Quota information class
         */
        public static final byte SMB2_0_INFO_QUOTA = 4;
    
        /**
         * Unspecified file ID value (all 0xFF bytes)
         */
        public static final byte[] UNSPECIFIED_FILEID =
                { (byte) 0xFF, (byte) 0xFF, (byte) 0xFF, (byte) 0xFF, (byte) 0xFF, (byte) 0xFF, (byte) 0xFF, (byte) 0xFF, (byte) 0xFF,
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 05:11:12 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/smb2/info/Smb2QueryInfoRequest.java

         *
         * @param config
         *            the configuration to use for this request
         */
        public Smb2QueryInfoRequest(final Configuration config) {
            this(config, Smb2Constants.UNSPECIFIED_FILEID);
        }
    
        /**
         * Constructs a SMB2 query info request with the specified configuration and file ID
         *
         * @param config
         *            the configuration to use for this request
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 6.4K bytes
    - Viewed (0)
  4. src/main/java/jcifs/internal/smb2/create/Smb2CloseRequest.java

         * @param fileName
         *            The name of the file to close
         */
        public Smb2CloseRequest(final Configuration config, final String fileName) {
            this(config, Smb2Constants.UNSPECIFIED_FILEID, fileName);
        }
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.internal.smb2.ServerMessageBlock2Request#createResponse(jcifs.CIFSContext,
         *      jcifs.internal.smb2.ServerMessageBlock2Request)
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 4.6K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb2/create/Smb2CloseRequestTest.java

        }
    
        @Test
        @DisplayName("Constructor with fileName only should use UNSPECIFIED_FILEID")
        void testConstructorWithFileNameOnly() throws Exception {
            Smb2CloseRequest requestWithFileNameOnly = new Smb2CloseRequest(mockConfig, testFileName);
    
            // Verify file ID is UNSPECIFIED_FILEID
            Field fileIdField = Smb2CloseRequest.class.getDeclaredField("fileId");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.5K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/smb2/info/Smb2SetInfoRequest.java

         *
         * @param config
         *            the configuration to use for this request
         */
        public Smb2SetInfoRequest(final Configuration config) {
            this(config, Smb2Constants.UNSPECIFIED_FILEID);
        }
    
        /**
         * Constructs a SMB2 set info request with the specified configuration and file ID
         *
         * @param config
         *            the configuration to use for this request
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 5.7K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb2/ioctl/Smb2IoctlRequestTest.java

        void testWithUnspecifiedFileId() {
            setupMockConfig();
            Smb2IoctlRequest request = new Smb2IoctlRequest(mockConfig, TEST_CONTROL_CODE);
    
            assertNotNull(request);
            // Should use UNSPECIFIED_FILEID by default
        }
    
        @Test
        @DisplayName("Test various FSCTL constants")
        void testFsctlConstants() {
            // Test that all FSCTL constants are properly defined
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.3K bytes
    - Viewed (0)
  8. src/main/java/jcifs/internal/smb2/info/Smb2QueryDirectoryRequest.java

         *
         * @param config the configuration for this request
         */
        public Smb2QueryDirectoryRequest(final Configuration config) {
            this(config, Smb2Constants.UNSPECIFIED_FILEID);
        }
    
        /**
         * Constructs a SMB2 query directory request with the specified configuration and file ID
         *
         * @param config
         *            the configuration to use for this request
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 7.3K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/smb2/info/Smb2QueryInfoRequestTest.java

            // SMB2_QUERY_INFO command value is 0x0010
            assertEquals((short) 0x0010, request.getCommand());
    
            // Verify that default file ID is set
            byte[] expectedFileId = Smb2Constants.UNSPECIFIED_FILEID;
            Field fileIdField;
            try {
                fileIdField = Smb2QueryInfoRequest.class.getDeclaredField("fileId");
                fileIdField.setAccessible(true);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 22.6K bytes
    - Viewed (0)
  10. src/main/java/jcifs/internal/smb2/ioctl/Smb2IoctlRequest.java

         * @param controlCode the IOCTL control code
         */
        public Smb2IoctlRequest(final Configuration config, final int controlCode) {
            this(config, controlCode, Smb2Constants.UNSPECIFIED_FILEID);
        }
    
        /**
         * Constructs an SMB2 IOCTL request with a specified file ID
         * @param config the client configuration
         * @param controlCode the IOCTL control code
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 9.4K bytes
    - Viewed (0)
Back to top