Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for obj1 (0.13 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/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)
  3. 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)
  4. 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)
  5. 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)
  6. src/main/java/jcifs/smb1/smb1/SmbShareInfo.java

        }
        public long lastModified() {
            return 0L;
        }
        public long length() {
            return 0L;
        }
    
        public boolean equals(Object obj) {
            if (obj instanceof SmbShareInfo) {
                SmbShareInfo si = (SmbShareInfo)obj;
                return netName.equals(si.netName);
            }
            return false;
        }
        public int hashCode() {
            int hashCode = netName.hashCode();
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 2.4K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb1/smb1/SmbTree.java

                    ( service == null || service.startsWith( "??" ) ||
                    this.service.equalsIgnoreCase( service ));
        }
        public boolean equals(Object obj) {
            if (obj instanceof SmbTree) {
                SmbTree tree = (SmbTree)obj;
                return matches(tree.share, tree.service);
            }
            return false;
        }
        void send( ServerMessageBlock request,
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 8K bytes
    - Viewed (0)
  8. src/main/java/jcifs/netbios/UniAddress.java

         * if they are both <tt>UniAddress</tt>' and refer to the same IP address.
         */
        @Override
        public boolean equals ( Object obj ) {
            return obj instanceof UniAddress && this.addr.equals( ( (UniAddress) obj ).addr);
        }
    
    
        /**
         * Guess first called name to try for session establishment. This
         * method is used exclusively by the <tt>jcifs.smb</tt> package.
    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)
  9. src/main/java/jcifs/netbios/Name.java

                result += this.scope.hashCode();
            }
            return result;
        }
    
    
        @Override
        public boolean equals ( Object obj ) {
            Name n;
    
            if ( ! ( obj instanceof Name ) ) {
                return false;
            }
            n = (Name) obj;
            if ( this.scope == null && n.scope == null ) {
                return this.name.equals(n.name) && this.hexCode == n.hexCode;
            }
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 7.7K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb/SmbFileHandleImpl.java

         *
         * @see java.lang.Object#equals(java.lang.Object)
         */
        @Override
        public boolean equals ( Object obj ) {
            if ( ! ( obj instanceof SmbFileHandleImpl ) ) {
                return false;
            }
            SmbFileHandleImpl o = (SmbFileHandleImpl) obj;
    
            if ( this.fileId != null ) {
                return Arrays.equals(this.fileId, o.fileId) && this.tree_num == o.tree_num;
            }
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 8.6K bytes
    - Viewed (0)
Back to top