Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 70 for equals (0.23 sec)

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

         */
        public SID(String textual) throws SmbException {
            StringTokenizer st = new StringTokenizer(textual, "-");
            if (st.countTokens() < 3 || !st.nextToken().equals("S"))
                // need S-N-M
                throw new SmbException("Bad textual SID format: " + textual);
    
            this.revision = Byte.parseByte(st.nextToken());
            String tmp = st.nextToken();
    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)
  2. src/main/java/jcifs/smb/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 insensitively and lexographically equal.
         * <br>
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Mon Mar 13 12:00:57 GMT 2023
    - 81.6K bytes
    - Viewed (0)
  3. src/main/java/jcifs/SmbResourceLocator.java

    
        /**
         * Returns the full uncanonicalized URL of this SMB resource. An
         * <code>SmbFile</code> constructed with the result of this method will
         * result in an <code>SmbFile</code> that is equal to the original.
         *
         * @return The uncanonicalized full URL of this SMB resource.
         */
    
        String getPath ();
    
    
        /**
         * Returns the full URL of this SMB resource with '.' and '..' components
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 5.6K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb/SmbResourceLocatorImpl.java

            }
            return hash + getURLPath().toUpperCase().hashCode();
        }
    
    
        /**
         * {@inheritDoc}
         *
         * @see java.lang.Object#equals(java.lang.Object)
         */
        @Override
        public boolean equals ( Object obj ) {
            if ( ! ( obj instanceof SmbResourceLocatorImpl ) ) {
                return false;
            }
    
            SmbResourceLocatorImpl o = (SmbResourceLocatorImpl) obj;
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sat Jul 20 08:24:53 GMT 2019
    - 23.9K bytes
    - Viewed (0)
  5. src/main/java/jcifs/netbios/Name.java

        }
    
    
        @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)
  6. src/main/java/jcifs/smb1/smb1/TestLocking.java

            for (int ai = 0; ai < args.length; ai++) {
                if (args[ai].equals("-t")) {
                    ai++;
                    t.numThreads = Integer.parseInt(args[ai]);
                } else if (args[ai].equals("-i")) {
                    ai++;
                    t.numIter = Integer.parseInt(args[ai]);
                } else if (args[ai].equals("-d")) {
                    ai++;
                    t.delay = Long.parseLong(args[ai]);
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 3.4K bytes
    - Viewed (0)
  7. src/main/java/jcifs/internal/smb2/nego/Smb2NegotiateResponse.java

         *
         * @see jcifs.internal.SmbNegotiationResponse#canReuse(jcifs.CIFSContext, boolean)
         */
        @Override
        public boolean canReuse ( CIFSContext tc, boolean forceSigning ) {
            return getConfig().equals(tc.getConfig());
        }
    
    
        @Override
        public boolean isValid ( CIFSContext tc, SmbNegotiationRequest req ) {
            if ( !isReceived() || getStatus() != 0 ) {
                return false;
            }
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Mar 22 10:09:46 GMT 2020
    - 17.6K bytes
    - Viewed (0)
  8. 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)
  9. src/main/java/jcifs/pac/kerberos/KerberosApRequest.java

                    if ( !pvno.getValue().equals(new BigInteger(KerberosConstants.KERBEROS_VERSION)) ) {
                        throw new PACDecodingException("Invalid kerberos version");
                    }
                    break;
                case 1:
                    ASN1Integer msgType = ASN1Util.as(ASN1Integer.class, tagged);
                    if ( !msgType.getValue().equals(new BigInteger(KerberosConstants.KERBEROS_AP_REQ)) )
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Mon Oct 02 12:02:06 GMT 2023
    - 3.9K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb1/smb1/SmbTree.java

            return this.share.equalsIgnoreCase( share ) &&
                    ( 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;
        }
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 8K bytes
    - Viewed (0)
Back to top