Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 60 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 Apr 28 00:10:09 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 8.9K bytes
    - Viewed (0)
  2. 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 Apr 28 00:10:09 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 7K bytes
    - Viewed (0)
  3. 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 Apr 28 00:10:09 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 4.6K 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 Apr 28 00:10:09 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 Apr 28 00:10:09 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 7.2K bytes
    - Viewed (0)
  6. 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 Apr 28 00:10:09 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 9.2K bytes
    - Viewed (0)
  7. src/main/java/jcifs/internal/dtyp/ACE.java

     * the then same process is repeated for inherited ACEs.
     * <p>
     * For example, if user <tt>WNET\alice</tt> tries to open a file
     * with desired access bits <tt>0x00000003</tt> (<tt>FILE_READ_DATA |
     * FILE_WRITE_DATA</tt>) and the target file has the following security
     * descriptor ACEs:
     * 
     * <pre>
     * Allow WNET\alice     0x001200A9  Direct
     * Allow Administrators 0x001F01FF  Inherited
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 5.4K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb1/util/transport/Transport.java

        public static int readn( InputStream in,
                    byte[] b,
                    int off,
                    int len ) throws IOException {
            int i = 0, n = -5;
    
            while (i < len) {
                n = in.read( b, off + i, len - i );
                if (n <= 0) {
                    break;
                }
                i += n;
            }
    
            return i;
        }
    
        /* state values
         * 0 - not connected
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Fri Mar 22 20:39:42 GMT 2019
    - 9K bytes
    - Viewed (0)
  9. 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 Apr 28 00:10:09 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 7.3K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb1/netbios/SessionRequestPacket.java

                                byte[] buffer,
                                int bufferIndex )
                                throws IOException {
            int start = bufferIndex;
            if( in.read( buffer, bufferIndex, length ) != length ) {
                throw new IOException( "invalid session request wire format" );
            }
            bufferIndex += calledName.readWireFormat( buffer, bufferIndex );
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Fri Mar 22 20:39:42 GMT 2019
    - 2.1K bytes
    - Viewed (0)
Back to top