Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 48 for 24 (0.16 sec)

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

        static final int CMD_OFFSET        = 4;
        static final int ERROR_CODE_OFFSET = 5;
        static final int FLAGS_OFFSET      = 9;
        static final int SIGNATURE_OFFSET  = 14;
        static final int TID_OFFSET        = 24;
        static final int HEADER_LENGTH     = 32;
    
        static final long MILLISECONDS_BETWEEN_1970_AND_1601 = 11644473600000L;
        static final TimeZone TZ = TimeZone.getDefault();
    
    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)
  2. src/main/java/jcifs/smb1/dcerpc/DcerpcHandle.java

                    securityProvider.wrap(buf);
                }
    
                tot = buf.getLength() - 24;
                off = 0;
    
                while (off < tot) {
                    n = tot - off;
    
                    if ((24 + n) > max_xmit) {
                        msg.flags &= ~DCERPC_LAST_FRAG;
                        n = max_xmit - 24;
                    } else {
                        msg.flags |= DCERPC_LAST_FRAG;
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 8.8K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/netbios/NbtAddress.java

     *
     * @return a four byte array
     */ 
    
        public byte[] getAddress() {    
            byte[] addr = new byte[4];
    
            addr[0] = (byte)(( address >>> 24 ) & 0xFF );
            addr[1] = (byte)(( address >>> 16 ) & 0xFF );
            addr[2] = (byte)(( address >>> 8 ) & 0xFF );
            addr[3] = (byte)( address & 0xFF );
            return addr;
        }
    
    /** 
    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)
  4. src/main/java/jcifs/util/Encdec.java

            dst[ di ] = (byte) ( ( i >> 24 ) & 0xFF );
            return 4;
        }
    
    
        /*
         * Decode integers
         */
    
        public static short dec_uint16be ( byte[] src, int si ) {
            return (short) ( ( ( src[ si ] & 0xFF ) << 8 ) | ( src[ si + 1 ] & 0xFF ) );
        }
    
    
        public static int dec_uint32be ( byte[] src, int si ) {
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 11K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/netbios/SessionServicePacket.java

            dst[dstIndex++] = (byte)(( val >> 8 ) & 0xFF );
            dst[dstIndex] = (byte)( val & 0xFF );
        }
        static void writeInt4( int val, byte[] dst, int dstIndex ) {
            dst[dstIndex++] = (byte)(( val >> 24 ) & 0xFF );
            dst[dstIndex++] = (byte)(( val >> 16 ) & 0xFF );
            dst[dstIndex++] = (byte)(( val >> 8 ) & 0xFF );
            dst[dstIndex] = (byte)( val & 0xFF );
        }
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 20:39:42 GMT 2019
    - 4.8K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb1/ntlmssp/Type2Message.java

                                UNI_ENCODING : getOEMEncoding());
            }
            setTarget(target);
            for (int i = 24; i < 32; i++) {
                if (material[i] != 0) {
                    byte[] challenge = new byte[8];
                    System.arraycopy(material, 24, challenge, 0, 8);
                    setChallenge(challenge);
                    break;
                }
            }
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 20:39:42 GMT 2019
    - 12.6K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb/NtlmPasswordAuthenticator.java

         */
        public boolean isPreferredMech ( ASN1ObjectIdentifier mechanism ) {
            return NtlmContext.NTLMSSP_OID.equals(mechanism);
        }
    
    
        /**
         * Computes the 24 byte ANSI password hash given the 8 byte server challenge.
         * 
         * @param tc
         * @param chlng
         * @return the hash for the given challenge
         * @throws GeneralSecurityException
         */
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Tue Jul 07 12:07:20 GMT 2020
    - 18.8K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb1/netbios/NameServicePacket.java

            dst[dstIndex++] = (byte)(( val >> 8 ) & 0xFF );
            dst[dstIndex] = (byte)( val & 0xFF );
        }
        static void writeInt4( int val, byte[] dst, int dstIndex ) {
            dst[dstIndex++] = (byte)(( val >> 24 ) & 0xFF );
            dst[dstIndex++] = (byte)(( val >> 16 ) & 0xFF );
            dst[dstIndex++] = (byte)(( val >> 8 ) & 0xFF );
            dst[dstIndex] = (byte)( val & 0xFF );
        }
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 20:39:42 GMT 2019
    - 12.4K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb1/util/DES.java

                        pcr[j] = pc1m[l];
                    else
                        pcr[j] = pc1m[l-28];
                }
                for ( j = 0; j < 24; ++j ) {
                    if ( pcr[pc2[j]] != 0 )
                        kn[m] |= bigbyte[j];
                    if ( pcr[pc2[j+24]] != 0 )
                        kn[n] |= bigbyte[j];
                }
            }
            cookey( kn, KnL );
        }
    
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 20:39:42 GMT 2019
    - 21.4K bytes
    - Viewed (0)
  10. src/main/java/jcifs/internal/smb2/lock/Smb2OplockBreakNotification.java

            int start = bufferIndex;
            int structureSize = SMBUtil.readInt2(buffer, bufferIndex);
            if ( structureSize != 24 ) {
                throw new SMBProtocolDecodingException("Expected structureSize = 24");
            }
    
            this.oplockLevel = buffer[ bufferIndex + 2 ];
            bufferIndex += 4;
            bufferIndex += 4; // Reserved2
    
            this.fileId = new byte[16];
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 2.6K bytes
    - Viewed (0)
Back to top