Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 98 for read0 (0.12 sec)

  1. src/main/java/jcifs/netbios/SessionServicePacket.java

            return ( ( src[ srcIndex++ ] & 0x01 ) << 16 ) + ( ( src[ srcIndex++ ] & 0xFF ) << 8 ) + ( src[ srcIndex++ ] & 0xFF );
        }
    
    
        static int readn ( InputStream in, byte[] b, int off, int len ) throws IOException {
            int i = 0, n;
    
            while ( i < len ) {
                n = in.read(b, off + i, len - i);
                if ( n <= 0 ) {
                    break;
                }
                i += n;
            }
    
            return i;
    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)
  2. 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)
  3. src/main/java/jcifs/smb1/util/transport/Transport.java

        static int id = 0;
        static LogStream log = LogStream.getInstance();
    
        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;
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 20:39:42 GMT 2019
    - 9K bytes
    - Viewed (0)
  4. src/main/java/jcifs/util/transport/Transport.java

        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 {
            int i = 0, n = -5;
    
    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)
  5. 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)
  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 May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 9.2K bytes
    - Viewed (0)
  7. README.md

     * Remove global state
     * Allow per context configuration
     * Logging through SLF4J
     * Drop pre-java 1.7 support
     * Unify authentication subsystem, NTLMSSP/Kerberos support
     * Large ReadX/WriteX support
     * Streaming list operations
     * NtTransNotifyChange support
     * Google patches: various bugfixes, lastAccess support, retrying requests
     * A proper test suite
     * Various fixes
    
    ## Others
    
    Plain Text
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Wed May 10 09:29:34 GMT 2023
    - 1.5K bytes
    - Viewed (0)
  8. 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 May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 5.4K bytes
    - Viewed (0)
  9. 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 May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 20:39:42 GMT 2019
    - 2.1K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb1/smb1/DosError.java

            "The handle is invalid.",
            "The network name cannot be found.",
            "Not enough storage is available to process this command.",
            "The media is write protected.",
            "The device is not ready.",
            "A device attached to the system is not functioning.",
            "A device attached to the system is not functioning.",
            "The process cannot access the file because it is being used by another process.",
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 4.5K bytes
    - Viewed (0)
Back to top