Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 26 for obj1 (0.12 sec)

  1. src/main/java/jcifs/smb1/dcerpc/ndr/NdrBuffer.java

        }
        private int getDceReferent(Object obj) {
            Entry e;
    
            if (referents == null) {
                referents = new HashMap();
                referent = 1;
            }
    
            if ((e = (Entry)referents.get(obj)) == null) {
                e = new Entry();
                e.referent = referent++;
                e.obj = obj;
                referents.put(obj, e);
            }
    
            return e.referent;
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 20:39:42 GMT 2019
    - 6.1K bytes
    - Viewed (0)
  2. 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)
  3. 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)
  4. src/main/java/jcifs/internal/smb1/net/SmbShareInfo.java

        }
    
    
        @Override
        public long length () {
            return 0L;
        }
    
    
        @Override
        public boolean equals ( Object obj ) {
            if ( obj instanceof SmbShareInfo ) {
                SmbShareInfo si = (SmbShareInfo) obj;
                return Objects.equals(this.netName, si.netName);
            }
            return false;
        }
    
    
        @Override
        public int hashCode () {
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Feb 17 09:30:57 GMT 2019
    - 3.1K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/netbios/Name.java

                result += scope.hashCode();
            }
            return result;
        }
        public boolean equals( Object obj ) {
            Name n;
    
            if( !( obj instanceof Name )) {
                return false;
            }
            n = (Name)obj;
            if( scope == null && n.scope == null ) {
                return name.equals( n.name ) && hexCode == n.hexCode;
            }
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 20:39:42 GMT 2019
    - 6.6K bytes
    - Viewed (0)
  6. 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)
  7. 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)
  8. src/main/java/jcifs/dcerpc/ndr/NdrBuffer.java

        private Map<Object, Entry> referents;
    
        private static class Entry {
    
            public Entry ( int referent, Object obj ) {
                this.referent = referent;
                this.obj = obj;
            }
    
            final int referent;
    
            @SuppressWarnings ( "unused" )
            private final Object obj;
        }
    
        public byte[] buf;
        public int start;
        public int index;
        public int length;
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 6.6K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb/NtlmPasswordAuthentication.java

         */
        @Override
        public boolean equals ( Object obj ) {
            if ( super.equals(obj) ) {
                if ( ! ( obj instanceof NtlmPasswordAuthentication ) ) {
                    return !this.areHashesExternal();
                }
                NtlmPasswordAuthentication ntlm = (NtlmPasswordAuthentication) obj;
                if ( this.areHashesExternal() && ntlm.areHashesExternal() ) {
    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)
  10. 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)
Back to top