Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 26 for tozero (0.17 sec)

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

            byte[] keybytes = key.getEncoded();
            Cipher cipher = Cipher.getInstance("AES/CBC/NoPadding");
            cipher.init(Cipher.ENCRYPT_MODE, new SecretKeySpec(keybytes, "AES"), new IvParameterSpec(ZERO_IV, 0, ZERO_IV.length));
            if ( constant.length != cipher.getBlockSize() ) {
                constant = expandNFold(constant, cipher.getBlockSize());
            }
            byte[] enc = constant;
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 7K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb1/smb1/Trans2QueryFSInformation.java

            int start = dstIndex;
    
            writeInt2( informationLevel, dst, dstIndex );
            dstIndex += 2;
    
            /* windows98 has what appears to be another 4 0's followed by the share
             * name as a zero terminated ascii string "\TMP" + '\0'
             *
             * As is this works, but it deviates from the spec section 4.1.6.6 but
             * maybe I should put it in. Wonder what NT does?
             */
    
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 2.5K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/smb1/trans2/Trans2QueryFSInformation.java

            SMBUtil.writeInt2(mapInformationLevel(this.informationLevel), dst, dstIndex);
            dstIndex += 2;
    
            /*
             * windows98 has what appears to be another 4 0's followed by the share
             * name as a zero terminated ascii string "\TMP" + '\0'
             *
             * As is this works, but it deviates from the spec section 4.1.6.6 but
             * maybe I should put it in. Wonder what NT does?
             */
    
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 3.5K bytes
    - Viewed (0)
  4. src/main/java/jcifs/util/transport/Transport.java

            }
    
            if ( usage == 0 ) {
                if ( log.isTraceEnabled() ) {
                    log.trace("Transport usage dropped to zero " + this);
                }
            }
            else if ( usage < 0 ) {
                throw new RuntimeCIFSException("Usage count dropped below zero");
            }
        }
    
    
        /**
         * {@inheritDoc}
         *
         * @see java.lang.Object#finalize()
         */
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Sun Nov 01 18:12:21 GMT 2020
    - 24.1K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb/SID.java

         */
        public boolean isEmpty () {
            return this.sub_authority_count == 0;
        }
    
    
        /**
         * 
         * @return whether the SID is blank (all sub-authorities zero)
         */
        public boolean isBlank () {
            boolean blank = true;
            for ( int sub : this.sub_authority )
                blank = blank && ( sub == 0 );
            return blank;
        }
    
    
        /**
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 14.9K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/smb1/trans2/Trans2QueryPathInformationResponse.java

            return 0;
        }
    
    
        @Override
        protected int readParametersWireFormat ( byte[] buffer, int bufferIndex, int len ) {
            // observed two zero bytes here with at least win98
            return 2;
        }
    
    
        @Override
        protected int readDataWireFormat ( byte[] buffer, int bufferIndex, int len ) throws SMBProtocolDecodingException {
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 4K bytes
    - Viewed (0)
  7. src/main/java/jcifs/internal/smb1/SMB1SigningDigest.java

         */
        public SMB1SigningDigest ( byte[] macSigningKey ) {
            this.digest = Crypto.getMD5();
            this.macSigningKey = macSigningKey;
        }
    
    
        /**
         * Construct a digest with a non-zero starting sequence number
         * 
         * @param macSigningKey
         * @param initialSequence
         */
        public SMB1SigningDigest ( byte[] macSigningKey, int initialSequence ) {
            this.digest = Crypto.getMD5();
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Sun Aug 05 09:45:59 GMT 2018
    - 10.6K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb1/smb1/ServerMessageBlock.java

        static final byte SMB_COM_NT_CREATE_ANDX     = (byte)0xA2;
    
        /*
         * Some fields specify the offset from the beginning of the header. This
         * field should be used for calculating that. This would likely be zero
         * but an implemantation that encorporates the transport header(for
         * efficiency) might use a different initial bufferIndex. For example,
         * to eliminate copying data when writing NbtSession data one might
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 21K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb/SmbTreeImpl.java

                synchronized ( this ) {
                    log.debug("Usage dropped to zero, release session");
                    if ( this.sessionAcquired.compareAndSet(true, false) ) {
                        this.session.release();
                    }
                }
            }
            else if ( usage < 0 ) {
                log.error("Usage count dropped below zero " + this);
                dumpResource();
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Thu Jan 05 13:06:39 GMT 2023
    - 29.6K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb1/smb1/SmbComTransactionResponse.java

            bufferIndex += 2;
            setupCount = buffer[bufferIndex] & 0xFF;
            bufferIndex += 2;
            if( setupCount != 0 ) {
                if( log.level > 2 )
                    log.println( "setupCount is not zero: " + setupCount );
            }
    
            return bufferIndex - start;
        }
        int readBytesWireFormat( byte[] buffer, int bufferIndex ) {
            pad = pad1 = 0;
            int n;
    
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 6K bytes
    - Viewed (0)
Back to top