- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 219 for endsWith (0.06 sec)
-
samples/static-server/src/main/java/okhttp3/sample/SampleServer.java
return result; } private String contentType(String path) { if (path.endsWith(".png")) return "image/png"; if (path.endsWith(".jpg")) return "image/jpeg"; if (path.endsWith(".jpeg")) return "image/jpeg"; if (path.endsWith(".gif")) return "image/gif"; if (path.endsWith(".html")) return "text/html; charset=utf-8"; if (path.endsWith(".txt")) return "text/plain; charset=utf-8"; return "application/octet-stream"; }
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Wed Jan 02 02:50:44 UTC 2019 - 4.7K bytes - Viewed (0) -
mockwebserver/src/test/java/mockwebserver3/internal/http2/Http2Server.kt
when { file.name.endsWith(".css") -> "text/css" file.name.endsWith(".gif") -> "image/gif" file.name.endsWith(".html") -> "text/html" file.name.endsWith(".jpeg") -> "image/jpeg" file.name.endsWith(".jpg") -> "image/jpeg" file.name.endsWith(".js") -> "application/javascript" file.name.endsWith(".png") -> "image/png" else -> "text/plain" }Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Thu Jul 31 04:18:40 UTC 2025 - 6.4K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/api/engine/SearchEngineApiManager.java
if (lowerPath.endsWith(".html")) { response.setContentType("text/html;charset=utf-8"); } else if (lowerPath.endsWith(".css")) { response.setContentType("text/css"); } else if (lowerPath.endsWith(".eot")) { response.setContentType("application/vnd.ms-fontobject"); } else if (lowerPath.endsWith(".ico")) {
Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Fri Nov 28 16:29:12 UTC 2025 - 12.9K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/thumbnail/ThumbnailAction.java
Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 4.4K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/tls/OkHostnameVerifier.kt
var pattern = pattern if (hostname.isNullOrEmpty() || hostname.startsWith(".") || hostname.endsWith("..") ) { // Invalid domain name. return false } if (pattern.isNullOrEmpty() || pattern.startsWith(".") || pattern.endsWith("..") ) { // Invalid pattern. return false }Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 7.6K bytes - Viewed (0) -
src/main/webapp/WEB-INF/view/admin/searchlog/admin_searchlog.jsp
Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Thu Nov 13 05:54:52 UTC 2025 - 16.2K bytes - Viewed (0) -
build-logic-commons/basics/src/main/kotlin/gradlebuild/basics/classanalysis/AnalyzeAndShade.kt
FileVisitResult.CONTINUE private fun Path.isClassFilePath() = toString().endsWith(".class") private fun Path.isBuildReceipt() = toString() == "/org/gradle/build-receipt.properties" privateRegistered: Wed Dec 31 11:36:14 UTC 2025 - Last Modified: Sat Mar 22 03:48:38 UTC 2025 - 7.3K bytes - Viewed (0) -
build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/source/ExtractDslMetaDataTask.groovy
Registered: Wed Dec 31 11:36:14 UTC 2025 - Last Modified: Mon Jan 08 12:45:57 UTC 2024 - 4.4K bytes - Viewed (0) -
impl/maven-core/src/test/java/org/apache/maven/project/ResourceIncludeTest.java
// Find the resource with the custom directory Resource customResource = resources.stream() .filter(r -> r.getDirectory().endsWith("custom")) .findFirst() .orElseThrow(() -> new AssertionError("Custom resource not found")); // Verify targetPath was preserved through conversion chain assertEquals(Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Nov 07 13:11:07 UTC 2025 - 12.6K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/admin/backup/AdminBackupAction.java
if (fileName.startsWith("system") && fileName.endsWith(".properties")) { fileType = 1; } else if (fileName.startsWith("gsa") && fileName.endsWith(".xml")) { fileType = 2; } else if (fileName.endsWith(".bulk")) { fileType = 3; } else if (fileName.startsWith("fess") && fileName.endsWith(".json")) { fileType = 4;
Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Mon Nov 24 02:07:40 UTC 2025 - 32.1K bytes - Viewed (0)