- Sort Score
- Num 10 results
- Language All
Results 1 - 6 of 6 for regionMatches (0.09 seconds)
-
okhttp/src/commonJvmAndroid/kotlin/okhttp3/CertificatePinner.kt
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] == '.') }Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Jan 27 09:00:39 GMT 2026 - 14.2K bytes - Click Count (1) -
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) */ @OverrideCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 23.6K bytes - Click Count (0) -
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;Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Wed Jul 23 17:27:08 GMT 2025 - 13.4K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/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.
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Jan 27 09:00:39 GMT 2026 - 8.6K bytes - Click Count (0) -
src/main/java/jcifs/smb1/smb1/Dfs.java
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 14.2K bytes - Click Count (0) -
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) {}Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 112.2K bytes - Click Count (0)