Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 53 for 0xffffff (0.21 sec)

  1. src/main/java/jcifs/smb/SmbFileInputStream.java

            if ( th.hasCapability(SmbConstants.CAP_LARGE_READX) ) {
                this.largeReadX = true;
                this.readSizeFile = Math.min(th.getConfig().getReceiveBufferSize() - 70, th.areSignaturesActive() ? 0xFFFF - 70 : 0xFFFFFF - 70);
                log.debug("Enabling LARGE_READX with " + this.readSizeFile);
            }
            else {
                log.debug("LARGE_READX disabled");
                this.readSizeFile = this.readSize;
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun May 17 08:55:14 GMT 2020
    - 13.2K bytes
    - Viewed (0)
  2. src/main/java/jcifs/internal/smb1/com/SmbComReadAndX.java

        int maxCount, minCount, remaining;
    
    
        /**
         * 
         * @param config
         */
        public SmbComReadAndX ( Configuration config ) {
            super(config, SMB_COM_READ_ANDX);
            this.openTimeout = 0xFFFFFFFF;
        }
    
    
        /**
         * 
         * @param config
         * @param fid
         * @param offset
         * @param maxCount
         * @param andx
         */
    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)
  3. src/main/java/jcifs/dcerpc/rpc.java

                int _nodes = 6;
                int _nodei = _src.index;
                _src.advance(1 * _nodes);
    
                if ( this.node == null ) {
                    if ( _nodes < 0 || _nodes > 0xFFFF )
                        throw new NdrException(NdrException.INVALID_CONFORMANCE);
                    this.node = new byte[_nodes];
                }
                _src = _src.derive(_nodei);
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 20:40:13 GMT 2019
    - 8.8K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb/SmbRandomAccessFile.java

                }
    
                // there seems to be a bug with some servers that causes corruption if using signatures + CAP_LARGE_WRITE
                if ( th.hasCapability(SmbConstants.CAP_LARGE_WRITEX) && !th.areSignaturesActive() ) {
                    this.writeSize = Math.min(th.getConfig().getSendBufferSize() - 70, 0xFFFF - 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)
  5. src/main/java/jcifs/internal/smb1/com/SmbComNegotiateResponse.java

                    this.negotiatedFlags2 |= SmbConstants.FLAGS2_SECURITY_REQUIRE_SIGNATURES;
                }
            }
            else {
                this.negotiatedFlags2 &= 0xFFFF ^ SmbConstants.FLAGS2_SECURITY_SIGNATURES;
                this.negotiatedFlags2 &= 0xFFFF ^ SmbConstants.FLAGS2_SECURITY_REQUIRE_SIGNATURES;
            }
    
            if ( log.isDebugEnabled() ) {
                log.debug(
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Tue Jul 07 10:52:42 GMT 2020
    - 15.4K bytes
    - Viewed (0)
  6. src/main/java/jcifs/SmbConstants.java

        static final int DEFAULT_MAX_MPX_COUNT = 10;
        static final int DEFAULT_RESPONSE_TIMEOUT = 30000;
        static final int DEFAULT_SO_TIMEOUT = 35000;
        static final int DEFAULT_RCV_BUF_SIZE = 0xFFFF;
        static final int DEFAULT_SND_BUF_SIZE = 0xFFFF;
        static final int DEFAULT_NOTIFY_BUF_SIZE = 1024;
    
        static final int DEFAULT_SSN_LIMIT = 250;
        static final int DEFAULT_CONN_TIMEOUT = 35000;
    
        static final int FLAGS_NONE = 0x00;
    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)
  7. src/main/java/jcifs/smb/SmbPipeHandleImpl.java

            this.call = ( pipe.getPipeType() & SmbPipeResource.PIPE_TYPE_CALL ) == SmbPipeResource.PIPE_TYPE_CALL;
            this.openFlags = ( pipe.getPipeType() & 0xFFFF00FF ) | SmbConstants.O_EXCL;
            this.access = ( pipe.getPipeType() & 7 ) | 0x20000;
            this.uncPath = this.pipe.getUncPath();
        }
    
    
        /**
         * {@inheritDoc}
         *
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Mon Apr 13 17:05:22 GMT 2020
    - 10.3K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb1/dcerpc/ndr/NdrBuffer.java

            int len = Encdec.dec_uint32le(buf, i);
            i += 12;
            if (len != 0) {
                len--;
                int size = len * 2;
                try {
                    if (size < 0 || size > 0xFFFF) throw new NdrException( NdrException.INVALID_CONFORMANCE );
                    val = new String(buf, i, size, "UTF-16LE");
                    i += size + 2;
                } catch( UnsupportedEncodingException uee ) {
                }
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 20:39:42 GMT 2019
    - 6.1K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb1/smb1/SmbFileOutputStream.java

            this.file = file;
            this.append = append;
            this.openFlags = openFlags;
            this.access = (openFlags >>> 16) & 0xFFFF;
            if( append ) {
                try {
                    fp = file.length();
                } catch( SmbAuthException sae ) {
                    throw sae;
                } catch( SmbException se ) {
    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)
  10. src/main/java/jcifs/smb/SmbFileOutputStream.java

            // CAP_LARGE_WRITE
            if ( th.hasCapability(SmbConstants.CAP_LARGE_WRITEX) && !th.areSignaturesActive() ) {
                this.writeSizeFile = Math.min(th.getConfig().getSendBufferSize() - 70, 0xFFFF - 70);
            }
            else {
                log.debug("No support or SMB signing is enabled, not enabling large writes");
                this.writeSizeFile = this.writeSize;
            }
    
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sat Nov 13 15:14:04 GMT 2021
    - 11.9K bytes
    - Viewed (0)
Back to top