Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for createOptions (0.09 sec)

  1. src/main/java/jcifs/internal/smb2/create/Smb2CreateRequest.java

        }
    
        /**
         * Set the create options that control file creation behavior
         * @param createOptions the createOptions to set
         */
        public void setCreateOptions(final int createOptions) {
            this.createOptions = createOptions;
        }
    
        /**
         * Set the create contexts for this request
         * @param contexts the create contexts to set
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 02:21:31 UTC 2025
    - 22.9K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb1/smb1/SmbComNTCreateAndX.java

                }
            } else {
                createDisposition = FILE_OPEN;
            }
    
            if ((createOptions & 0x0001) == 0) {
                this.createOptions = createOptions | 0x0040;
            } else {
                this.createOptions = createOptions;
            }
            impersonationLevel = 0x02; // As seen on NT :~)
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 6.5K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/smb1/com/SmbComNTCreateAndX.java

                }
            } else {
                this.createDisposition = FILE_OPEN;
            }
    
            if ((createOptions & 0x0001) == 0) {
                this.createOptions = createOptions | 0x0040;
            } else {
                this.createOptions = createOptions;
            }
            this.impersonationLevel = 0x02; // As seen on NT :~)
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 8.6K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb1/com/SmbComNTCreateAndXTest.java

            }
        }
    
        @Test
        @DisplayName("CreateOptions default padding")
        void createOptionsAddedWhenLow() {
            // createOptions less than 0x0001 (i.e., 0) should be padded with 0x0040
            SmbComNTCreateAndX req = createRequest(0, 0);
            int actual = (int) getPrivateField(req, "createOptions");
            assertEquals(0x0040, actual, "createOptions should be padded with 0x0040");
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb/SmbFile.java

         *
         * @param <T> the response type
         * @param th the tree handle
         * @param createDisposition the create disposition
         * @param createOptions the create options
         * @param fileAttributes the file attributes
         * @param desiredAccess the desired access flags
         * @param shareAccess the share access flags
         * @param first the first request to execute
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 103.2K bytes
    - Viewed (0)
Back to top