- Sort Score
- Result 10 results
- Languages All
Results 161 - 170 of 273 for SUBSTRING (0.06 sec)
-
okhttp/src/androidMain/kotlin/okhttp3/internal/platform/android/AndroidLog.kt
var newline = logMessage.indexOf('\n', i) newline = if (newline != -1) newline else length do { val end = minOf(newline, i + MAX_LOG_LENGTH) Log.println(logLevel, tag, logMessage.substring(i, end)) i = end } while (i < newline) i++ } } } private fun loggerTag(loggerName: String): String { // We need to handle long logger names before they hit Log.
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Sat Oct 25 11:16:17 UTC 2025 - 4.3K bytes - Viewed (0) -
src/main/java/org/codelibs/core/io/ResourceUtil.java
*/ public static String getExtension(final String path) { assertArgumentNotNull("path", path); final int extPos = path.lastIndexOf("."); if (extPos >= 0) { return path.substring(extPos + 1); } return null; } /** * Removes the extension from the path. * * @param path * The path. Must not be {@literal null}.Registered: Sat Dec 20 08:55:33 UTC 2025 - Last Modified: Thu Jul 31 08:16:49 UTC 2025 - 14.7K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/CertificatePinner.kt
pin.startsWith("sha1/") -> { this.hashAlgorithm = "sha1" this.hash = pin.substring("sha1/".length).decodeBase64() ?: throw IllegalArgumentException("Invalid pin hash: $pin") } pin.startsWith("sha256/") -> { this.hashAlgorithm = "sha256" this.hash = pin.substring("sha256/".length).decodeBase64() ?: throw IllegalArgumentException("Invalid pin hash: $pin") }
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 14.1K bytes - Viewed (1) -
src/main/java/org/codelibs/fess/helper/CrawlingConfigHelper.java
*/ public ConfigType getConfigType(final String configId) { if (configId == null || configId.length() < 2) { return null; } final String configType = configId.substring(0, 1); if (ConfigType.WEB.getTypePrefix().equals(configType)) { return ConfigType.WEB; } if (ConfigType.FILE.getTypePrefix().equals(configType)) { return ConfigType.FILE;Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Fri Nov 28 16:29:12 UTC 2025 - 19.5K bytes - Viewed (1) -
src/main/java/org/codelibs/fess/suggest/converter/KatakanaConverter.java
Registered: Sat Dec 20 13:04:59 UTC 2025 - Last Modified: Fri Jul 04 14:00:23 UTC 2025 - 6.1K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/cache/DiskLruCache.kt
val secondSpace = line.indexOf(' ', keyBegin) val key: String if (secondSpace == -1) { key = line.substring(keyBegin) if (firstSpace == REMOVE.length && line.startsWith(REMOVE)) { lruEntries.remove(key) return } } else { key = line.substring(keyBegin, secondSpace) } var entry: Entry? = lruEntries[key] if (entry == null) {
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Wed May 28 23:28:25 UTC 2025 - 34.7K bytes - Viewed (0) -
src/main/java/org/codelibs/core/zip/ZipFileUtil.java
assertArgumentNotNull("zipUrl", zipUrl); final String urlString = zipUrl.getPath(); final int pos = urlString.lastIndexOf('!'); final String zipFilePath = urlString.substring(0, pos); final File zipFile = new File(URLUtil.decode(zipFilePath, "UTF8")); return FileUtil.getCanonicalPath(zipFile); } /** * Closes the Zip file. * <p>
Registered: Sat Dec 20 08:55:33 UTC 2025 - Last Modified: Thu Jul 31 08:16:49 UTC 2025 - 4.7K bytes - Viewed (0) -
android/guava/src/com/google/common/net/InetAddresses.java
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Wed Feb 19 21:24:11 UTC 2025 - 47.4K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/create/Smb2CreateRequest.java
public void setPath(String path) { if (path.length() > 0 && path.charAt(0) == '\\') { path = path.substring(1); } // win8.1 returns ACCESS_DENIED if the trailing backslash is included if (path.length() > 1 && path.charAt(path.length() - 1) == '\\') { path = path.substring(0, path.length() - 1); } this.name = path; } /** * {@inheritDoc}
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 23 02:21:31 UTC 2025 - 22.9K bytes - Viewed (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/BaseParser.java
boolean snapshot = mavenVersion.endsWith("SNAPSHOT"); if (snapshot) { mavenVersion = mavenVersion.substring(0, mavenVersion.length() - "SNAPSHOT".length()); if (mavenVersion.endsWith("-")) { mavenVersion = mavenVersion.substring(0, mavenVersion.length() - 1); } } String[] versionElements = mavenVersion.split("\\.");Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Oct 10 07:39:11 UTC 2025 - 25.5K bytes - Viewed (0)