Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 43 for mathml (0.17 sec)

  1. src/main/java/jcifs/pac/PacMac.java

            byte[] enc = constant;
            int klen = keybytes.length;
            byte[] dk = new byte[klen];
            for ( int n = 0; n < klen; ) {
                byte[] block = cipher.doFinal(enc);
                int len = Math.min(klen - n, block.length);
                System.arraycopy(block, 0, dk, n, len);
                n += len;
                enc = block;
            }
            return dk;
        }
    
    
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 7K bytes
    - Viewed (0)
  2. 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)
  3. src/main/java/jcifs/internal/smb2/info/Smb2QueryInfoRequest.java

    
        /**
         * @param config
         * @param fileId
         */
        public Smb2QueryInfoRequest ( Configuration config, byte[] fileId ) {
            super(config, SMB2_QUERY_INFO);
            this.outputBufferLength = ( Math.min(config.getMaximumBufferSize(),  config.getListSize()) - Smb2QueryInfoResponse.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
    - 5.6K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/smb1/SmbConstants.java

        // open function
        static final int OPEN_FUNCTION_FAIL_IF_EXISTS      = 0x0000;
        static final int OPEN_FUNCTION_OVERWRITE_IF_EXISTS = 0x0020;
    
        static final int PID = (int)( Math.random() * 65536d );
    
        static final int SECURITY_SHARE = 0x00;
        static final int SECURITY_USER  = 0x01;
    
        static final int CMD_OFFSET        = 4;
        static final int ERROR_CODE_OFFSET = 5;
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 8.4K bytes
    - Viewed (0)
  5. src/main/java/jcifs/internal/smb1/trans/SmbComTransaction.java

                end = Math.max(end, this.headerStart + this.parameterOffset + this.parameterCount + this.pad2);
            }
    
            if ( this.dataCount > 0 ) {
                System.arraycopy(this.txn_buf, this.bufDataOffset, dst, this.headerStart + this.dataOffset, this.dataCount);
                this.bufDataOffset += this.dataCount;
                end = Math.max(end, this.headerStart + this.dataOffset + this.dataCount);
    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)
  6. src/main/java/jcifs/config/BaseConfiguration.java

                throw new CIFSException(
                    "The default OEM encoding " + SmbConstants.DEFAULT_OEM_ENCODING + " does not appear to be supported by this JRE.");
            }
    
            this.localPid = (int) ( Math.random() * 65536d );
            this.localTimeZone = TimeZone.getDefault();
            this.random = new SecureRandom();
    
            if ( this.machineId == null ) {
                byte[] mid = new byte[32];
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Thu Jan 05 13:06:39 GMT 2023
    - 20.4K bytes
    - Viewed (1)
  7. src/main/java/jcifs/smb1/netbios/NbtAddress.java

                localHostname = "JCIFS" +
                        ( addr[2] & 0xFF ) + "_" +
                        ( addr[3] & 0xFF ) + "_" +
                        Hexdump.toHexString( (int)( Math.random() * (double)0xFF ), 2 );
            }
    
            /* Create an NbtAddress for the local interface with
             * the name deduced above possibly with scope applied and
             * cache it forever.
             */
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 20:39:42 GMT 2019
    - 30.1K bytes
    - Viewed (0)
  8. src/main/java/jcifs/pac/kerberos/KerberosApRequest.java

     * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
     */
    package jcifs.pac.kerberos;
    
    
    import java.io.ByteArrayInputStream;
    import java.io.IOException;
    import java.math.BigInteger;
    import java.util.Enumeration;
    
    import javax.security.auth.kerberos.KerberosKey;
    
    import org.bouncycastle.asn1.*;
    
    import jcifs.pac.ASN1Util;
    import jcifs.pac.PACDecodingException;
    
    
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Mon Oct 02 12:02:06 GMT 2023
    - 3.9K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb1/util/Base64.java

         */
        public static String encode(byte[] bytes) {
            int length = bytes.length;
            if (length == 0) return "";
            StringBuffer buffer =
                    new StringBuffer((int) Math.ceil((double) length / 3d) * 4);
            int remainder = length % 3;
            length -= remainder;
            int block;
            int i = 0;
            while (i < length) {
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 20:39:42 GMT 2019
    - 3.7K bytes
    - Viewed (0)
  10. 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)
Back to top