- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for regionMatches (0.05 sec)
-
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] == '.') }
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 14.1K bytes - Viewed (1) -
src/main/java/jcifs/smb1/smb1/Dfs.java
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 14.2K bytes - Viewed (0) -
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) -
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 Sep 07 03:35:12 UTC 2025 - Last Modified: Sat Apr 05 11:52:05 UTC 2025 - 29.9K bytes - Viewed (0)