Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for openFlags (0.05 sec)

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

            this.file = file;
            if (mode.equals("r")) {
                this.openFlags = SmbFile.O_CREAT | SmbFile.O_RDONLY;
            } else if (mode.equals("rw")) {
                this.openFlags = SmbFile.O_CREAT | SmbFile.O_RDWR | SmbFile.O_APPEND;
                write_andx_resp = new SmbComWriteAndXResponse();
                options = WRITE_OPTIONS;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 14.1K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb/SmbPipeHandleImpl.java

                        this.handle = this.pipe.openUnshared(this.openFlags, this.access, this.sharing, SmbConstants.ATTR_NORMAL, 0);
                    } else {
                        // at least on samba, SmbComOpenAndX fails without the pipe prefix
                        this.handle = this.pipe.openUnshared("\\pipe" + getUncPath(), this.openFlags, this.access, this.sharing,
                                SmbConstants.ATTR_NORMAL, 0);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 10.2K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/smb1/SmbFileInputStream.java

        SmbFileInputStream(final SmbFile file, final int openFlags) throws SmbException, MalformedURLException, UnknownHostException {
            this.file = file;
            this.openFlags = openFlags & 0xFFFF;
            this.access = openFlags >>> 16 & 0xFFFF;
            if (file.type != SmbFile.TYPE_NAMED_PIPE) {
                file.open(openFlags, access, SmbFile.ATTR_NORMAL, 0);
                this.openFlags &= ~(SmbFile.O_CREAT | SmbFile.O_TRUNC);
            } else {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 9.4K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb/SmbFileOutputStream.java

        }
    
        SmbFileOutputStream(final SmbFile file, final boolean append, final int openFlags, final int access, final int sharing)
                throws SmbException {
            this.file = file;
            this.append = append;
            this.openFlags = openFlags;
            this.sharing = sharing;
            this.access = access | SmbConstants.FILE_WRITE_DATA;
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 12.8K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/smb1/SmbFileOutputStream.java

        }
    
        SmbFileOutputStream(final SmbFile file, final boolean append, final int openFlags)
                throws SmbException, MalformedURLException, UnknownHostException {
            this.file = file;
            this.append = append;
            this.openFlags = openFlags;
            this.access = openFlags >>> 16 & 0xFFFF;
            if (append) {
                try {
                    fp = file.length();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 11K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb/SmbFileInputStream.java

        }
    
        SmbFileInputStream(final SmbFile file, final int openFlags, final int access, final int sharing, final boolean unshared)
                throws SmbException {
            this.file = file;
            this.unsharedFile = unshared;
            this.openFlags = openFlags;
            this.access = access;
            this.sharing = sharing;
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 15.6K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb/SmbRandomAccessFile.java

            try (SmbTreeHandleInternal th = this.file.ensureTreeConnected()) {
                if (mode.equals("r")) {
                    this.openFlags = SmbConstants.O_CREAT | SmbConstants.O_RDONLY;
                    this.access = SmbConstants.FILE_READ_DATA;
                } else if (mode.equals("rw")) {
                    this.openFlags = SmbConstants.O_CREAT | SmbConstants.O_RDWR | SmbConstants.O_APPEND;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 18.8K bytes
    - Viewed (0)
  8. src/main/java/jcifs/internal/smb2/create/Smb2CreateResponse.java

        private static final Logger log = LoggerFactory.getLogger(Smb2CreateResponse.class);
    
        private byte oplockLevel;
        private byte openFlags;
        private int createAction;
        private long creationTime;
        private long lastAccessTime;
        private long lastWriteTime;
        private long changeTime;
        private long allocationSize;
        private long endOfFile;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 24 00:49:49 UTC 2025
    - 15.4K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/smb2/create/Smb2CreateResponseTest.java

                long chtime, long allocSize, long eof, int attrs, byte[] fileId) {
            byte[] body = new byte[2 + 2 + 4 + 8 + 8 + 8 + 8 + 8 + 8 + 4 + 4 + 16 + 4 + 4];
            int i = 0;
            SMBUtil.writeInt2(89, body, i); // StructureSize
            body[i + 2] = oplock;
            body[i + 3] = openFlags;
            i += 4;
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  10. src/main/java/jcifs/SmbResource.java

        /**
         * Opens an output stream writing to the file (write only, exclusive write access)
         *
         * @param append
         *            whether to append to or truncate the input
         * @param openFlags
         *            flags for open operation
         * @param access
         *            desired file access flags
         * @param sharing
         *            flags indicating for which operations others may open the file
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 28K bytes
    - Viewed (1)
Back to top