Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for regionMatches (0.08 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. compat/maven-artifact/src/main/java/org/apache/maven/artifact/ArtifactUtils.java

    /**
     * ArtifactUtils
     */
    public final class ArtifactUtils {
    
        public static boolean isSnapshot(String version) {
            if (version != null) {
                if (version.regionMatches(
                        true,
                        version.length() - Artifact.SNAPSHOT_VERSION.length(),
                        Artifact.SNAPSHOT_VERSION,
                        0,
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  4. okhttp/src/main/kotlin/okhttp3/internal/idn/Punycode.kt

       *     Otherwise, the decode failed.
       */
      private fun decodeLabel(
        string: String,
        pos: Int,
        limit: Int,
        result: Buffer,
      ): Boolean {
        if (!string.regionMatches(pos, PREFIX_STRING, 0, 4, ignoreCase = true)) {
          result.writeUtf8(string, pos, limit)
          return true
        }
    
        var pos = pos + 4 // 'xn--'.size.
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Wed Apr 03 03:04:50 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. 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)
  8. 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." );
                }
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Mon Mar 13 12:00:57 UTC 2023
    - 107.9K bytes
    - Viewed (0)
  9. okhttp-android/src/main/baseline-prof.txt

    HSPLkotlin/text/StringsKt__StringsJVMKt;->endsWith(Ljava/lang/String;Ljava/lang/String;Z)Z
    HSPLkotlin/text/StringsKt__StringsJVMKt;->equals(Ljava/lang/String;Ljava/lang/String;Z)Z
    HSPLkotlin/text/StringsKt__StringsJVMKt;->regionMatches(Ljava/lang/String;ILjava/lang/String;IIZ)Z
    HSPLkotlin/text/StringsKt__StringsJVMKt;->replace$default(Ljava/lang/String;CCZI)Ljava/lang/String;
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Mar 21 11:22:00 UTC 2022
    - 127.9K bytes
    - Viewed (0)
Back to top