- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 182 for endswith (0.09 sec)
-
src/main/java/org/codelibs/fess/app/web/thumbnail/ThumbnailAction.java
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 4.4K 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 Sep 05 11:42:10 UTC 2025 - Last Modified: Thu Jul 31 04:18:40 UTC 2025 - 6.4K bytes - Viewed (0) -
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 Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Jan 02 02:50:44 UTC 2019 - 4.7K bytes - Viewed (0) -
src/main/webapp/WEB-INF/view/admin/searchlog/admin_searchlog.jsp
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Feb 13 07:47:04 UTC 2020 - 16K 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: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 12.9K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/job/AggregateLogJobTest.java
String result = aggregateLogJob.execute(); // Verify result contains error message assertNotNull(result); assertTrue(result.contains(errorMessage)); assertTrue(result.endsWith("\n")); } public void test_execute_withNullPointerException() { // Setup mock SearchLogHelper that throws NullPointerException SearchLogHelper mockSearchLogHelper = new SearchLogHelper() {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 12.1K 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 Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 7.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: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 29.8K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/helper/NotificationHelperTest.java
assertNotNull(result); assertTrue(result.contains("Test Subject")); assertTrue(result.contains("Test Content")); assertTrue(result.startsWith("{\"text\":\"")); assertTrue(result.endsWith("\"}")); assertTrue(result.contains("```")); } public void test_toSlackMessage_withEmptyContent() { MockSMailPostingDiscloser discloser = new MockSMailPostingDiscloser();
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 10 13:41:04 UTC 2025 - 19.6K bytes - Viewed (0) -
src/main/java/jcifs/util/PathValidator.java
} // Check for trailing spaces or periods (Windows doesn't handle well) if (component.endsWith(" ") || component.endsWith(".")) { throw new SmbException("Path component has trailing space or period: " + component); } } } /** * Validate host name */
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 14.5K bytes - Viewed (0)