Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for readFile (0.14 sec)

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

                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 );
                if(( n = response.dataLength ) <= 0 ) {
                    return (int)((fp - start) > 0L ? fp - start : -1);
                }
    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)
  2. src/main/java/jcifs/smb/SmbRandomAccessFile.java

                }
    
                try ( SmbFileHandle h = ensureOpen() ) {}
                this.readSize = th.getReceiveBufferSize() - 70;
                this.writeSize = th.getSendBufferSize() - 70;
    
                if ( th.hasCapability(SmbConstants.CAP_LARGE_READX) ) {
                    this.largeReadX = true;
                    this.readSize = Math.min(th.getConfig().getReceiveBufferSize() - 70, th.areSignaturesActive() ? 0xFFFF - 70 : 0xFFFFFF - 70);
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Wed Jan 08 12:01:33 GMT 2020
    - 18.5K bytes
    - Viewed (0)
Back to top