Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for regionMatches (0.36 sec)

  1. okhttp/src/main/kotlin/okhttp3/CertificatePinner.kt

          return when {
            pattern.startsWith("**.") -> {
              // With ** empty prefixes match so exclude the dot from regionMatches().
              val suffixLength = pattern.length - 3
              val prefixLength = hostname.length - suffixLength
              hostname.regionMatches(hostname.length - suffixLength, pattern, 3, suffixLength) &&
                (prefixLength == 0 || hostname[prefixLength - 1] == '.')
            }
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 14.2K bytes
    - Viewed (0)
  2. compat/maven-model-builder/src/main/java/org/apache/maven/model/inheritance/DefaultInheritanceAssembler.java

                }
    
                for (String module : parent.getModules()) {
                    module = module.replace('\\', '/');
    
                    if (module.regionMatches(true, module.length() - 4, ".xml", 0, 4)) {
                        module = module.substring(0, module.lastIndexOf('/') + 1);
                    }
    
                    String moduleName = module;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 13.9K bytes
    - Viewed (0)
  3. 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);
                }
            }
    
            return dr;
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 11.7K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb/SmbResourceLocatorImpl.java

            if ( l1 > 1 && path1.charAt(p1 + 1) == '.' )
                return true;
            if ( 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 Nov 03 00:10:13 UTC 2024
    - Last Modified: Sat Jul 20 08:24:53 UTC 2019
    - 23.9K bytes
    - Viewed (0)
  5. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/DefaultWagonManager.java

                expectedChecksum = expectedChecksum.trim();
    
                // check for 'ALGO (name) = CHECKSUM' like used by openssl
                if (expectedChecksum.regionMatches(true, 0, "MD", 0, 2)
                        || expectedChecksum.regionMatches(true, 0, "SHA", 0, 3)) {
                    int lastSpacePos = expectedChecksum.lastIndexOf(' ');
                    expectedChecksum = expectedChecksum.substring(lastSpacePos + 1);
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 29.9K bytes
    - Viewed (0)
Back to top