Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for Trunc (0.13 sec)

  1. src/main/java/jcifs/smb/SmbFile.java

                    req.setDesiredAccess(access);
    
                    if ( ( flags & SmbConstants.O_TRUNC ) == O_TRUNC && ( flags & SmbConstants.O_CREAT ) == O_CREAT ) {
                        req.setCreateDisposition(Smb2CreateRequest.FILE_OVERWRITE_IF);
                    }
                    else if ( ( flags & SmbConstants.O_TRUNC ) == O_TRUNC ) {
                        req.setCreateDisposition(Smb2CreateRequest.FILE_OVERWRITE);
                    }
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Mon Mar 13 12:00:57 GMT 2023
    - 81.6K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb1/smb1/SmbFile.java

        // create if the file does not exist
        static final int O_CREAT  = 0x0010;
        // fail if the file exists
        static final int O_EXCL   = 0x0020;
        // truncate if the file exists
        static final int O_TRUNC  = 0x0040;
    
        // share access
    /**
     * When specified as the <tt>shareAccess</tt> constructor parameter,
     * other SMB clients (including other threads making calls into jCIFS)
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Mon Mar 13 12:00:57 GMT 2023
    - 107.9K bytes
    - Viewed (2)
Back to top