Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 14 for obj (0.13 sec)

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

                hcode += 65599 * this.sub_authority[ i ];
            }
            return hcode;
        }
    
    
        @Override
        public boolean equals ( Object obj ) {
            if ( obj instanceof SID ) {
                SID sid = (SID) obj;
                if ( sid == this )
                    return true;
                if ( sid.sub_authority_count == this.sub_authority_count ) {
                    int i = this.sub_authority_count;
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 14.9K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb1/smb1/NtlmPasswordAuthentication.java

     */
        public boolean equals( Object obj ) {
            if( obj instanceof NtlmPasswordAuthentication ) {
                NtlmPasswordAuthentication ntlm = (NtlmPasswordAuthentication)obj;
                if( ntlm.domain.toUpperCase().equals( domain.toUpperCase() ) &&
    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)
  3. src/main/java/jcifs/smb1/netbios/NbtAddress.java

     * is based on the integer IP address and not the string representation.
     */ 
    
        public boolean equals( Object obj ) {
            return ( obj != null ) && ( obj instanceof NbtAddress ) &&
                                            ( ((NbtAddress)obj).address == address );
        }
    
    /** 
     * Returns the {@link java.lang.String} representaion of this address.
     */ 
    
        public String toString() {
    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/internal/dfs/DfsReferralDataImpl.java

         * {@inheritDoc}
         *
         * @see java.lang.Object#equals(java.lang.Object)
         */
        @Override
        public boolean equals ( Object obj ) {
            if ( ! ( obj instanceof DfsReferralData ) ) {
                return false;
            }
            DfsReferralData other = (DfsReferralData) obj;
    
            return Objects.equals(getServer(), other.getServer()) && Objects.equals(getShare(), other.getShare())
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sat Nov 13 15:13:49 GMT 2021
    - 11K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb/NtlmPasswordAuthenticator.java

         *
         * @see java.lang.Object#equals(java.lang.Object)
         */
        @Override
        public boolean equals ( Object obj ) {
            if ( obj instanceof NtlmPasswordAuthenticator ) {
                NtlmPasswordAuthenticator ntlm = (NtlmPasswordAuthenticator) obj;
                String domA = ntlm.getUserDomain() != null ? ntlm.getUserDomain().toUpperCase() : null;
    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)
  6. src/main/java/jcifs/internal/smb2/ServerMessageBlock2.java

    
        @Override
        public int hashCode () {
            return (int) this.mid;
        }
    
    
        @Override
        public boolean equals ( Object obj ) {
            return obj instanceof ServerMessageBlock2 && ( (ServerMessageBlock2) obj ).mid == this.mid;
        }
    
    
        @Override
        public String toString () {
            String c;
            switch ( this.command ) {
    
            case SMB2_NEGOTIATE:
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Sep 30 10:47:31 GMT 2018
    - 19.9K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb1/smb1/ServerMessageBlock.java

        abstract int readBytesWireFormat( byte[] buffer, int bufferIndex );
    
        public int hashCode() {
            return mid;
        }
        public boolean equals( Object obj ) {
            return obj instanceof ServerMessageBlock && ((ServerMessageBlock)obj).mid == mid;
        }
        public String toString() {
            String c;
            switch( command ) {
                case SMB_COM_NEGOTIATE:
                    c = "SMB_COM_NEGOTIATE";
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 21K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb/SmbTreeImpl.java

        }
    
    
        @Override
        public boolean equals ( Object obj ) {
            if ( obj instanceof SmbTreeImpl ) {
                SmbTreeImpl tree = (SmbTreeImpl) obj;
                return matches(tree.share, tree.service);
            }
            return false;
        }
    
    
        public SmbTreeImpl acquire () {
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Thu Jan 05 13:06:39 GMT 2023
    - 29.6K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb1/smb1/SID.java

            for (int i = 0; i < sub_authority_count; i++) {
                hcode += 65599 * sub_authority[i];
            }
            return hcode;
        }
        public boolean equals(Object obj) {
            if (obj instanceof SID) {
                SID sid = (SID)obj;
                if (sid == this)
                    return true;
                if (sid.sub_authority_count == sub_authority_count) {
                    int i = sub_authority_count;
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 26.6K bytes
    - Viewed (0)
  10. src/main/java/jcifs/internal/smb1/ServerMessageBlock.java

    
        @Override
        public int hashCode () {
            return this.mid;
        }
    
    
        @Override
        public boolean equals ( Object obj ) {
            return obj instanceof ServerMessageBlock && ( (ServerMessageBlock) obj ).mid == this.mid;
        }
    
    
        @Override
        public String toString () {
            String c;
            switch ( this.command ) {
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Aug 05 09:45:59 GMT 2018
    - 32.7K bytes
    - Viewed (0)
Back to top