Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 15 for Compare (0.23 sec)

  1. src/main/java/jcifs/netbios/UniAddress.java

        /**
         * Return the IP address of this address as a 32 bit integer.
         */
    
        @Override
        public int hashCode () {
            return this.addr.hashCode();
        }
    
    
        /**
         * Compare two addresses for equality. Two <tt>UniAddress</tt>s are equal
         * if they are both <tt>UniAddress</tt>' and refer to the same IP address.
         */
        @Override
        public boolean equals ( Object obj ) {
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 8.3K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb1/UniAddress.java

        }
    
        /**
         * Return the IP address of this address as a 32 bit integer.
         */
    
        public int hashCode() {
            return addr.hashCode();
        }
    
        /**
         * Compare two addresses for equality. Two <tt>UniAddress</tt>s are equal
         * if they are both <tt>UniAddress</tt>' and refer to the same IP address.
         */
        public boolean equals( Object obj ) {
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 16.2K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/smb1/SmbFile.java

    /**
     * Computes a hashCode for this file based on the URL string and IP
     * address if the server. The hashing function uses the hashcode of the
     * server address, the canonical representation of the URL, and does not
     * compare authentication information. In essance, two
     * <code>SmbFile</code> objects that refer to
     * the same file should generate the same hashcode provided it is possible
     * to make such a determination.
     *
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Mon Mar 13 12:00:57 GMT 2023
    - 107.9K bytes
    - Viewed (2)
  4. src/main/java/jcifs/internal/SMBSigningDigest.java

    
        /**
         * Performs MAC signature verification. This calculates the signature
         * of the SMB and compares it to the signature field on the SMB itself.
         *
         * @param data
         *            The data.
         * @param offset
         *            The starting offset at which the SMB header begins.
         * @param length
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Aug 05 09:45:59 GMT 2018
    - 2.2K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/smb1/ACE.java

     * "The .NET Developer's Guide to Windows Security" (which is also
     * available online).
     * <p>
     * Direct ACEs are evaluated first in order. The SID of the user performing
     * the operation and the desired access bits are compared to the SID
     * and access mask of each ACE. If the SID matches, the allow/deny flags
     * and access mask are considered. If the ACE is a "deny"
     * ACE and <i>any</i> of the desired access bits match bits in the access
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 7.2K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb1/smb1/NtlmPasswordAuthentication.java

     */
        public boolean equals( Object obj ) {
            if( obj instanceof NtlmPasswordAuthentication ) {
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 22.5K bytes
    - Viewed (0)
  7. src/main/java/jcifs/internal/dtyp/ACE.java

     * "The .NET Developer's Guide to Windows Security" (which is also
     * available online).
     * <p>
     * Direct ACEs are evaluated first in order. The SID of the user performing
     * the operation and the desired access bits are compared to the SID
     * and access mask of each ACE. If the SID matches, the allow/deny flags
     * and access mask are considered. If the ACE is a "deny"
     * ACE and <i>any</i> of the desired access bits match bits in the access
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 5.4K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb1/smb1/SigningDigest.java

            } finally {
                signSequence += 2;
            }
        } 
    
        /**
         * Performs MAC signature verification.  This calculates the signature
         * of the SMB and compares it to the signature field on the SMB itself.
         *
         * @param data The data.
         * @param offset The starting offset at which the SMB header begins.
         * @param length The length of the SMB data starting at offset. 
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 7K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb/SmbTransportPoolImpl.java

                throw new UnknownHostException(name);
            }
    
            Arrays.sort(addrs, new Comparator<Address>() {
    
                @Override
                public int compare ( Address o1, Address o2 ) {
                    Integer fail1 = SmbTransportPoolImpl.this.failCounts.get(o1.getHostAddress());
                    Integer fail2 = SmbTransportPoolImpl.this.failCounts.get(o2.getHostAddress());
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Dec 20 14:09:34 GMT 2020
    - 12.5K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb/NtlmPasswordAuthentication.java

         * hashes (meaning negotiated via NTLM HTTP Authentication) and the other does not they will not be equal. This is
         * technically not correct however the server 8 byte challenge would be required to compute and compare the password
         * hashes but that it not available with this method.
         */
        @Override
        public boolean equals ( Object obj ) {
            if ( super.equals(obj) ) {
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Tue Jul 07 10:50:16 GMT 2020
    - 8.5K bytes
    - Viewed (0)
Back to top