Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 32 for Min (0.15 sec)

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

                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)
  2. src/main/java/jcifs/smb1/smb1/SmbComTransaction.java

                bufDataOffset = totalParameterCount; // data comes right after data
    
                int available = maxBufferSize - parameterOffset;
                parameterCount = Math.min( totalParameterCount, available );
                available -= parameterCount;
    
                dataOffset = parameterOffset + parameterCount;
                pad1 = dataOffset % PADDING_SIZE;
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 10.5K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/smb1/SmbTransport.java

            } else {
                flags2 &= 0xFFFF ^ ServerMessageBlock.FLAGS2_SECURITY_SIGNATURES;
            }
            maxMpxCount = Math.min( maxMpxCount, server.maxMpxCount );
            if (maxMpxCount < 1) maxMpxCount = 1;
            snd_buf_size = Math.min( snd_buf_size, server.maxBufferSize );
            capabilities &= server.capabilities;
            if ((server.capabilities & CAP_EXTENDED_SECURITY) == CAP_EXTENDED_SECURITY)
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 31.2K bytes
    - Viewed (0)
  4. src/main/java/jcifs/internal/smb1/trans/SmbComTransaction.java

                this.bufDataOffset = this.totalParameterCount; // data comes right after data
    
                int available = this.maxBufferSize - this.parameterOffset;
                this.parameterCount = Math.min(this.totalParameterCount, available);
                available -= this.parameterCount;
    
                this.dataOffset = this.parameterOffset + this.parameterCount;
                this.pad2 = this.pad(this.dataOffset);
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun May 17 13:43:42 GMT 2020
    - 13.2K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/netbios/SocketInputStream.java

            if( len == 0 ) {
                return 0;
            }
            tot = 0;
    
            while( true ) {
                while( bip > 0 ) {
                    n = in.read( b, off, Math.min( len, bip ));
                    if( n == -1 ) {
                        return tot > 0 ? tot : -1;
                    }
                    tot += n;
                    off += n;
                    len -= n;
                    bip -= n;
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 20:39:42 GMT 2019
    - 3.3K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/smb2/info/Smb2QueryDirectoryRequest.java

         * @param config
         * @param fileId
         */
        public Smb2QueryDirectoryRequest ( Configuration config, byte[] fileId ) {
            super(config, SMB2_QUERY_DIRECTORY);
            this.outputBufferLength = ( Math.min(config.getMaximumBufferSize(), config.getListSize()) - Smb2QueryDirectoryResponse.OVERHEAD ) & ~0x7;
            this.fileId = fileId;
        }
    
    
        /**
         * {@inheritDoc}
         *
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Nov 14 10:41:31 GMT 2021
    - 6K bytes
    - Viewed (0)
  7. src/main/java/jcifs/internal/smb1/SMB1SigningDigest.java

            if ( log.isTraceEnabled() ) {
                log.trace("update: " + this.updates + " " + offset + ":" + len);
                log.trace(Hexdump.toHexString(input, offset, Math.min(len, 256)));
            }
            if ( len == 0 ) {
                return; /* CRITICAL */
            }
            this.digest.update(input, offset, len);
            this.updates++;
        }
    
    
        /**
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Aug 05 09:45:59 GMT 2018
    - 10.6K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb/SmbTransportImpl.java

                System.arraycopy(this.sbuf, 0, buffer, 0, 4 + SMB1_HEADER_LENGTH);
                int size = ( Encdec.dec_uint16be(buffer, 2) & 0xFFFF );
                if ( size < ( SMB1_HEADER_LENGTH + 1 ) || ( 4 + size ) > Math.min(0xFFFF, getContext().getConfig().getMaximumBufferSize()) ) {
                    throw new IOException("Invalid payload size: " + size);
                }
                int errorCode = Encdec.dec_uint32le(buffer, 9) & 0xFFFFFFFF;
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Wed Jan 18 23:47:00 GMT 2023
    - 67K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb/SmbFile.java

                w.setDaemon(true);
    
                try {
                    w.start();
                    // use commonly acceptable buffer size
                    int bsize = Math.min(sh.getReceiveBufferSize() - 70, dh.getSendBufferSize() - 70);
                    byte[][] b = new byte[2][bsize];
                    copyRecursive(dest, b, bsize, w, sh, dh);
                }
                finally {
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Mon Mar 13 12:00:57 GMT 2023
    - 81.6K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb/SmbResourceLocatorImpl.java

            String tp = getCanonicalURL();
            String op = other.getCanonicalURL();
            return getAddress().equals(other.getAddress()) && tp.regionMatches(true, 0, op, 0, Math.min(tp.length(), op.length()));
        }
    
    
        /**
         * @param dr
         * @param reqPath
         * @return UNC path the redirect leads to
         */
        @Override
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sat Jul 20 08:24:53 GMT 2019
    - 23.9K bytes
    - Viewed (0)
Back to top