Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 15 of 15 for equals (0.26 sec)

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

    /**
     * Tests to see if two <code>SmbFile</code> objects are equal. Two
     * SmbFile objects are equal when they reference the same SMB
     * resource. More specifically, two <code>SmbFile</code> objects are
     * equals if their server IP addresses are equal and the canonicalized
     * representation of their URLs, minus authentication parameters, are
     * case insensitivly and lexographically equal.
     * <p/>
    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)
  2. src/main/java/jcifs/smb/SmbTransportImpl.java

            return ( this.tconHostName == null || hostName.equalsIgnoreCase(this.tconHostName) ) && addr.equals(this.address)
                    && ( prt == 0 || prt == this.port ||
                    /* port 139 is ok if 445 was requested */
                            ( prt == 445 && this.port == 139 ) )
                    && ( laddr == this.localAddr || ( laddr != null && laddr.equals(this.localAddr) ) ) && lprt == this.localPort;
        }
    
    
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Wed Jan 18 23:47:00 GMT 2023
    - 67K bytes
    - Viewed (0)
  3. src/main/java/jcifs/pac/kerberos/KerberosToken.java

            }
    
            try ( ASN1InputStream stream = new ASN1InputStream(content) ) {
    
                ASN1ObjectIdentifier kerberosOid = (ASN1ObjectIdentifier) stream.readObject();
                if ( !kerberosOid.getId().equals(KerberosConstants.KERBEROS_OID) )
                    throw new PACDecodingException("Not a kerberos token");
    
    
                // yes, there really is non ASN.1/DER data inside the tagged object
                int read = 0;
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Mon Oct 02 12:02:06 GMT 2023
    - 3K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb/SmbSessionImpl.java

         * @param thost
         * @return
         */
        protected boolean matches ( CIFSContext tf, String thost, String tdom ) {
            return Objects.equals(this.getCredentials(), tf.getCredentials()) && Objects.equals(this.targetHost, thost)
                    && Objects.equals(this.targetDomain, tdom);
        }
    
    
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Nov 14 17:41:04 GMT 2021
    - 49K bytes
    - Viewed (0)
  5. src/main/java/jcifs/netbios/NameServiceClientImpl.java

    
        /**
         *
         * @param svr
         * @return whether the given address is the configured broadcast address
         */
        private boolean isBroadcastAddress(InetAddress svr) {
            return svr.equals(this.baddr) || svr.getAddress()[3] == (byte) 0xFF;
        }
    
    
        protected InetAddress switchWINS () {
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Aug 14 14:26:22 GMT 2022
    - 38.2K bytes
    - Viewed (0)
Back to top