Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for SmbComReadAndXResponse (0.14 sec)

  1. src/main/java/jcifs/internal/smb1/com/SmbComReadAndXResponse.java

    import jcifs.internal.util.SMBUtil;
    
    
    /**
     *
     */
    public class SmbComReadAndXResponse extends AndXServerMessageBlock {
    
        private byte[] data;
        private int offset, dataCompactionMode, dataLength, dataOffset;
    
    
        /**
         * 
         * @param config
         */
        public SmbComReadAndXResponse ( Configuration config ) {
            super(config);
        }
    
    
        /**
         * 
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 3.4K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb1/smb1/SmbComReadAndXResponse.java

     * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
     */
    
    package jcifs.smb1.smb1;
    
    class SmbComReadAndXResponse extends AndXServerMessageBlock {
    
        byte[] b;
        int off, dataCompactionMode, dataLength, dataOffset;
    
        SmbComReadAndXResponse() {
        }
        SmbComReadAndXResponse( byte[] b, int off ) {
            this.b = b;
            this.off = off;
        }
    
        void setParam( byte[] b, int off ) {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 2.2K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/smb1/SMB1SigningDigest.java

            index += 8;
            if ( msg.getCommand() == ServerMessageBlock.SMB_COM_READ_ANDX ) {
                /*
                 * SmbComReadAndXResponse reads directly from the stream into separate byte[] b.
                 */
                SmbComReadAndXResponse raxr = (SmbComReadAndXResponse) msg;
                int length = msg.getLength() - raxr.getDataLength();
                update(data, index, length - SmbConstants.SIGNATURE_OFFSET - 8);
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Aug 05 09:45:59 UTC 2018
    - 10.6K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/smb1/SigningDigest.java

            index += 8;
            if( response.command == ServerMessageBlock.SMB_COM_READ_ANDX ) {
                /* SmbComReadAndXResponse reads directly from the stream into separate byte[] b.
                 */
                SmbComReadAndXResponse raxr = (SmbComReadAndXResponse)response;
                int length = response.length - raxr.dataLength;
                update(data, index, length - ServerMessageBlock.SIGNATURE_OFFSET - 8);
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 7K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb/SmbRandomAccessFile.java

            }
            long start = this.fp;
    
            try ( SmbFileHandleImpl fh = ensureOpen();
                  SmbTreeHandleImpl th = fh.getTree() ) {
    
                int r, n;
                SmbComReadAndXResponse response = new SmbComReadAndXResponse(th.getConfig(), b, off);
                do {
                    r = len > this.readSize ? this.readSize : len;
    
                    if ( th.isSMB2() ) {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Wed Jan 08 12:01:33 UTC 2020
    - 18.5K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb1/smb1/SmbFileInputStream.java

             * Read AndX Request / Response
             */
    
            if( file.log.level >= 4 )
                file.log.println( "read: fid=" + file.fid + ",off=" + off + ",len=" + len );
    
            SmbComReadAndXResponse response = new SmbComReadAndXResponse( b, off );
    
            if( file.type == SmbFile.TYPE_NAMED_PIPE ) {
                response.responseTimeout = 0;
            }
    
            int r, n;
            do {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 7.9K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb1/smb1/SmbRandomAccessFile.java

            // ensure file is open
            if( file.isOpen() == false ) {
                file.open( openFlags, 0, SmbFile.ATTR_NORMAL, options );
            }
    
            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 );
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 10.9K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb/SmbFileInputStream.java

                 */
    
                if ( log.isTraceEnabled() ) {
                    log.trace("read: fid=" + fd + ",off=" + off + ",len=" + len);
                }
    
                SmbComReadAndXResponse response = new SmbComReadAndXResponse(th.getConfig(), b, off);
    
                int type = this.file.getType();
                int r, n;
                int blockSize = ( type == SmbConstants.TYPE_FILESYSTEM ) ? this.readSizeFile : this.readSize;
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun May 17 08:55:14 UTC 2020
    - 13.2K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb1/smb1/SmbTransport.java

                            (errorCode == 0 ||
                            errorCode == 0x80000005)) { // overflow indicator normal for pipe
                    SmbComReadAndXResponse r = (SmbComReadAndXResponse)resp;
                    int off = HEADER_LENGTH;
                                        /* WordCount thru dataOffset always 27 */
                    readn( in, BUF, 4 + off, 27 ); off += 27;
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 31.2K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb/SmbTransportImpl.java

                        && ( errorCode == 0 || errorCode == NtStatus.NT_STATUS_BUFFER_OVERFLOW ) ) {
                    // overflow indicator normal for pipe
                    SmbComReadAndXResponse r = (SmbComReadAndXResponse) resp;
                    int off = SMB1_HEADER_LENGTH;
                    /* WordCount thru dataOffset always 27 */
                    readn(this.in, buffer, 4 + off, 27);
                    off += 27;
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Wed Jan 18 23:47:00 UTC 2023
    - 67K bytes
    - Viewed (0)
Back to top