Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for createDisposition (0.06 sec)

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

            this.shareAccess = shareAccess;
    
            // createDisposition
            if ((flags & SmbFile.O_TRUNC) == SmbFile.O_TRUNC) {
                // truncate the file
                if ((flags & SmbFile.O_CREAT) == SmbFile.O_CREAT) {
                    // create it if necessary
                    createDisposition = FILE_OVERWRITE_IF;
                } else {
                    createDisposition = FILE_OVERWRITE;
                }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 6.5K bytes
    - Viewed (0)
  2. src/main/java/jcifs/internal/smb1/com/SmbComNTCreateAndX.java

            // createDisposition
            if ((flags & SmbConstants.O_TRUNC) == SmbConstants.O_TRUNC) {
                // truncate the file
                if ((flags & SmbConstants.O_CREAT) == SmbConstants.O_CREAT) {
                    // create it if necessary
                    this.createDisposition = FILE_OVERWRITE_IF;
                } else {
                    this.createDisposition = FILE_OVERWRITE;
                }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 8.6K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb1/com/SmbComNTCreateAndXTest.java

                SmbComNTCreateAndX req = createRequest(flags, 0);
                // Use reflection to read the private field createDisposition
                int actual = (int) getPrivateField(req, "createDisposition");
                assertEquals(expected, actual, "createDisposition should match");
            }
        }
    
        @Test
        @DisplayName("CreateOptions default padding")
        void createOptionsAddedWhenLow() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.6K bytes
    - Viewed (0)
Back to top