- Sort Score
- Num 10 results
- Language All
Results 361 - 370 of 489 for startswith (0.05 seconds)
-
fess-crawler/src/main/java/org/codelibs/fess/crawler/client/http/conn/Hc5IdnDnsResolver.java
*/ @Override public InetAddress[] resolve(final String host) throws UnknownHostException { // Handle IPv6 addresses in bracket notation if (host != null && host.length() > 2 && host.startsWith("[") && host.endsWith("]")) { // Remove brackets for IPv6 address resolution final String ipv6Address = host.substring(1, host.length() - 1); return InetAddress.getAllByName(ipv6Address);Created: Sun Apr 12 03:50:13 GMT 2026 - Last Modified: Sun Jan 04 13:09:59 GMT 2026 - 4.5K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/helper/PathMappingHelper.java
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Nov 28 16:29:12 GMT 2025 - 9.5K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb1/trans/TransTransactNamedPipeResponseTest.java
} @Test void testToString() { // Test toString method String result = response.toString(); assertNotNull(result); assertTrue(result.startsWith("TransTransactNamedPipeResponse[")); assertTrue(result.endsWith("]")); } @Test void testGetResponseLength() throws Exception { // Test getResponseLength methodCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 9.5K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/query/WildcardQueryCommand.java
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Nov 28 16:29:12 GMT 2025 - 5.7K bytes - Click Count (0) -
samples/static-server/src/main/java/okhttp3/sample/SampleServer.java
server.setDispatcher(this); server.start(port); } @Override public MockResponse dispatch(RecordedRequest request) { String path = request.getPath(); try { if (!path.startsWith("/") || path.contains("..")) throw new FileNotFoundException(); File file = new File(root + path); return file.isDirectory() ? directoryToResponse(path, file) : fileToResponse(path, file);
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Wed Mar 11 02:37:00 GMT 2026 - 5.3K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb1/com/SmbComNTCreateAndXTest.java
@DisplayName("toString representation contains expected fields") void toStringContainsKeyData() { SmbComNTCreateAndX req = createRequest(0, 0); String str = req.toString(); assertTrue(str.startsWith("SmbComNTCreateAndX["), "toString should start with class name"); assertTrue(str.contains("name=test.txt"), "The file name should appear"); // securityFlags are set to 0x03 – verify hex sequenceCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 5.6K bytes - Click Count (0) -
compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/LegacyRepositorySystem.java
ArtifactRepositoryPolicy.CHECKSUM_POLICY_IGNORE); } private String canonicalFileUrl(String url) throws IOException { if (!url.startsWith("file:")) { url = "file://" + url; } else if (url.startsWith("file:") && !url.startsWith("file://")) { url = "file://" + url.substring("file:".length()); } // So now we have an url of the form file://<path>Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Jun 06 14:28:57 GMT 2025 - 31.2K bytes - Click Count (0) -
docs/es/docs/tutorial/query-params-str-validations.md
--- Pero si te da curiosidad este ejemplo de código específico y sigues entretenido, aquí tienes algunos detalles extra. #### String con `value.startswith()` { #string-with-value-startswith } ¿Lo notaste? un string usando `value.startswith()` puede recibir una tupla, y comprobará cada valor en la tupla: {* ../../docs_src/query_params_str_validations/tutorial015_an_py310.py ln[16:19] hl[17] *}Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 18:15:55 GMT 2026 - 17.4K bytes - Click Count (0) -
build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/JavadocConverter.java
if (!elementName.equals("a") || !attributes.containsKey("href")) { return false; } String href = attributes.get("href"); if (!href.startsWith("#")) { return false; } Element element = document.createElement("link"); String targetId = String.format("%s.%s", classMetaData.getClassName(), href.substring(1));
Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Wed May 21 06:20:45 GMT 2025 - 29.3K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/mylasta/direction/sponsor/FessApiFailureHookTest.java
@Test public void test_errorCodeGeneration() { long timestamp = System.currentTimeMillis(); String errorCode = "error_code:" + Long.toHexString(timestamp); assertTrue(errorCode.startsWith("error_code:")); assertTrue(errorCode.length() > 11); // "error_code:" is 11 chars } // Test with different exception types @Test public void test_exceptionTypes() {Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Wed Jan 14 14:29:07 GMT 2026 - 7.2K bytes - Click Count (0)