Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for regionMatches (0.08 sec)

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

                    boolean match = false;
    
                    if (_klen == key.length()) {
                        match = _key.equals(key);
                    } else if (_klen < key.length()) {
                        match = _key.regionMatches(0, key, 0, _klen) && key.charAt(_klen) == '\\';
                    }
    
                    if (match) {
                        dr = (DfsReferral) referrals.map.get(_key);
                    }
                }
            }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 14.2K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb/SmbResourceLocatorImpl.java

            // anything with dots voids comparison
            if ((l1 > 1 && path1.charAt(p1 + 1) == '.') || (l2 > 1 && path2.charAt(p2 + 1) == '.')) {
                return true;
            }
    
            return l1 == l2 && path1.regionMatches(true, p1, path2, p2, l1);
        }
    
        /**
         *
         * {@inheritDoc}
         *
         * @see jcifs.smb.SmbResourceLocatorInternal#overlaps(jcifs.SmbResourceLocator)
         */
        @Override
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 23.6K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/smb1/SmbFile.java

             * path or visa versa.
             */
            try {
                if (getAddress().equals(dest.getAddress())
                        && canon.regionMatches(true, 0, dest.canon, 0, Math.min(canon.length(), dest.canon.length()))) {
                    throw new SmbException("Source and destination paths overlap.");
                }
            } catch (final UnknownHostException uhe) {}
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 112.2K bytes
    - Viewed (0)
Back to top