Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 94 for Read (0.15 sec)

  1. src/main/java/jcifs/SmbConstants.java

        static final int CAP_LOCK_AND_READ = 0x0100;
        static final int CAP_NT_FIND = 0x0200;
        static final int CAP_DFS = 0x1000;
        static final int CAP_LARGE_READX = 0x4000;
        static final int CAP_LARGE_WRITEX = 0x8000;
        static final int CAP_EXTENDED_SECURITY = 0x80000000;
    
        // file attribute encoding
        /**
         * File is marked read-only
         */
        static final int ATTR_READONLY = 0x01;
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 8.9K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb1/smb1/SmbRandomAccessFile.java

            fp = 0L;
        }
    
        public int read() throws SmbException {
            if( read( tmp, 0, 1 ) == -1 ) {
                return -1;
            }
            return tmp[0] & 0xFF;
        }
        public int read( byte b[] ) throws SmbException {
            return read( b, 0, b.length );
        }
        public int read( byte b[], int off, int len ) throws SmbException {
            if( len <= 0 ) {
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 10.9K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/smb1/com/SmbComOpenAndX.java

            }
            else if ( ( shareAccess & SmbConstants.FILE_SHARE_READ ) == 0 ) {
                this.desiredAccess |= SHARING_DENY_READ_EXECUTE;
            }
            else {
                // neither SHARE_READ nor SHARE_WRITE are set
                this.desiredAccess |= SHARING_DENY_READ_WRITE_EXECUTE;
            }
    
            this.desiredAccess &= ~0x1; // Win98 doesn't like GENERIC_READ ?! -- get Access Denied.
    
            // searchAttributes
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 7K bytes
    - Viewed (0)
  4. src/main/java/jcifs/pac/kerberos/KerberosToken.java

    
                // yes, there really is non ASN.1/DER data inside the tagged object
                int read = 0;
                int readLow = stream.read() & 0xff;
                int readHigh = stream.read() & 0xff;
                read = ( readHigh << 8 ) + readLow;
                if ( read != 0x01 )
                    throw new PACDecodingException("Malformed kerberos token");
    
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Mon Oct 02 12:02:06 GMT 2023
    - 3K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/smb1/ACE.java

     * both <tt>FILE_READ_DATA</tt> and <tt>FILE_WRITE_DATA</tt> access.
     */
    
    public class ACE {
    
        public static final int FILE_READ_DATA        = 0x00000001; // 1
        public static final int FILE_WRITE_DATA       = 0x00000002; // 2
        public static final int FILE_APPEND_DATA      = 0x00000004; // 3
        public static final int FILE_READ_EA          = 0x00000008; // 4
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 7.2K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb1/smb1/SmbNamedPipe.java

            type = TYPE_NAMED_PIPE;
        }
    
        /**
         * Return the <code>InputStream</code> used to read information
         * from this pipe instance. Presumably data would first be written
         * to the <code>OutputStream</code> associated with this Named
         * Pipe instance although this is not a requirement (e.g. a
         * read-only named pipe would write data to this stream on
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 7.3K bytes
    - Viewed (0)
  7. src/main/java/jcifs/internal/smb1/com/SmbComReadAndX.java

            super(config, SMB_COM_READ_ANDX);
            this.openTimeout = 0xFFFFFFFF;
        }
    
    
        /**
         * 
         * @param config
         * @param fid
         * @param offset
         * @param maxCount
         * @param andx
         */
        public SmbComReadAndX ( Configuration config, int fid, long offset, int maxCount, ServerMessageBlock andx ) {
            super(config, SMB_COM_READ_ANDX, andx);
            this.fid = fid;
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 4.6K bytes
    - Viewed (0)
  8. src/main/java/jcifs/internal/smb1/AndXServerMessageBlock.java

                    log.trace("Short read, have " + n + ", want " + this.byteCount);
                }
                bufferIndex += this.byteCount;
            }
    
            /*
             * if there is an andx and it itself is an andx then just recur by
             * calling this method for it. otherwise just read it's parameter words
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Mon Nov 28 10:56:27 GMT 2022
    - 14.3K bytes
    - Viewed (0)
  9. src/main/java/jcifs/util/transport/Transport.java

        private static int id = 0;
        private static final Logger log = LoggerFactory.getLogger(Transport.class);
    
    
        /**
         * Read bytes from the input stream into a buffer
         * 
         * @param in
         * @param b
         * @param off
         * @param len
         * @return number of bytes read
         * @throws IOException
         */
        public static int readn ( InputStream in, byte[] b, int off, int len ) throws IOException {
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Nov 01 18:12:21 GMT 2020
    - 24.1K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb1/smb1/SmbFileOutputStream.java

    from jCIFS or another application will fail with the "file is being
    accessed by another process" error. The <code>FILE_SHARE_READ</code>,
    <code>FILE_SHARE_WRITE</code>, and <code>FILE_SHARE_DELETE</code> may be
    combined with the bitwise OR '|' to specify that other peocesses may read,
    write, and/or delete the file while the jCIFS user has the file open.
     * 
     * @param url An smb URL representing the file to write to
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 9.2K bytes
    - Viewed (0)
Back to top