Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for SmbComReadAndX (0.19 sec)

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

     */
    
    package jcifs.smb1.smb1;
    
    import jcifs.smb1.Config;
    
    class SmbComReadAndX extends AndXServerMessageBlock {
    
        private static final int BATCH_LIMIT = Config.getInt( "jcifs.smb1.smb.client.ReadAndX.Close", 1 );
    
        private long offset;
        private int fid,
            openTimeout;
    int maxCount, minCount, remaining;
    
        SmbComReadAndX() {
            super( null );
            command = SMB_COM_READ_ANDX;
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 3.1K bytes
    - Viewed (0)
  2. src/main/java/jcifs/internal/smb1/com/SmbComReadAndX.java

    import jcifs.internal.util.SMBUtil;
    
    
    /**
     * 
     */
    public class SmbComReadAndX extends AndXServerMessageBlock {
    
        private long offset;
        private int fid;
        int openTimeout;
        int maxCount, minCount, remaining;
    
    
        /**
         * 
         * @param config
         */
        public SmbComReadAndX ( Configuration config ) {
            super(config, SMB_COM_READ_ANDX);
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 4.6K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb/SmbFileInputStream.java

                            this.fp += n;
                            off += n;
                            len -= n;
                            continue;
                        }
    
                        SmbComReadAndX request = new SmbComReadAndX(th.getConfig(), fd.getFid(), this.fp, r, null);
                        if ( type == SmbConstants.TYPE_NAMED_PIPE ) {
                            request.setMinCount(1024);
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun May 17 08:55:14 UTC 2020
    - 13.2K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb/SmbRandomAccessFile.java

                            else {
                                throw e;
                            }
                        }
                    }
                    else {
                        SmbComReadAndX request = new SmbComReadAndX(th.getConfig(), fh.getFid(), this.fp, r, null);
                        if ( this.largeReadX ) {
                            request.setMaxCount(r & 0xFFFF);
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Wed Jan 08 12:01:33 UTC 2020
    - 18.5K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/smb1/SmbFileInputStream.java

                r = len > readSize ? readSize : len;
    
                if( file.log.level >= 4 )
                    file.log.println( "read: len=" + len + ",r=" + r + ",fp=" + fp );
    
                try {
    SmbComReadAndX request = new SmbComReadAndX( file.fid, fp, r, null );
    if( file.type == SmbFile.TYPE_NAMED_PIPE ) {
        request.minCount = request.maxCount = request.remaining = 1024;
    }
                    file.send( request, response );
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 7.9K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb1/smb1/SmbRandomAccessFile.java

            }
    
            int r, n;
            SmbComReadAndXResponse response = new SmbComReadAndXResponse( b, off );
            do {
                r = len > readSize ? readSize : len;
                file.send( new SmbComReadAndX( file.fid, fp, r, null ), response );
                if(( n = response.dataLength ) <= 0 ) {
                    return (int)((fp - start) > 0L ? fp - start : -1);
                }
                fp += n;
                len -= n;
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 10.9K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb1/smb1/SmbFile.java

                    }
                    notify();
                }
            }
        }
        void copyTo0( SmbFile dest, byte[][] b, int bsize, WriterThread w,
                SmbComReadAndX req, SmbComReadAndXResponse resp ) throws SmbException {
            int i;
    
            if( attrExpiration < System.currentTimeMillis() ) {
                attributes = ATTR_READONLY | ATTR_DIRECTORY;
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Mon Mar 13 12:00:57 UTC 2023
    - 107.9K bytes
    - Viewed (0)
Back to top