- Sort Score
- Result 10 results
- Languages All
Results 101 - 110 of 182 for endswith (0.4 sec)
-
okhttp/src/commonJvmAndroid/kotlin/okhttp3/MediaType.kt
// Value is "double-quoted". That's valid and our regex group already strips the quotes. parameter.groups[3]!!.value } token.startsWith('\'') && token.endsWith('\'') && token.length > 2 -> { // If the token is 'single-quoted' it's invalid! But we're lenient and strip the quotes. token.substring(1, token.length - 1) } else -> token
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Tue May 27 14:51:08 UTC 2025 - 5.9K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/com/SmbComCloseTest.java
// Then assertTrue(result.startsWith("SmbComClose[")); assertTrue(result.contains("fid=" + fid)); assertTrue(result.contains("lastWriteTime=" + lastWriteTime)); assertTrue(result.endsWith("]")); } /** * Test method for {@link jcifs.internal.smb1.com.SmbComClose#getResponse()}. */ @Test public void testGetResponse() { // GivenRegistered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 6.4K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/service/FileConfigService.java
if (fileConfigPager.description.startsWith("*")) { cb.query().setDescription_Wildcard(fileConfigPager.description); } else if (fileConfigPager.description.endsWith("*")) { cb.query().setDescription_Prefix(fileConfigPager.description.replaceAll("\\*$", StringUtil.EMPTY)); } else { cb.query().setDescription_MatchPhrase(fileConfigPager.description);
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 7.4K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/Trans2FindNext2Test.java
assertTrue(s.contains(",resumeKey=0x0304"), "toString should include lower 16-bit resumeKey hex"); assertTrue(s.contains(",flags=0x00"), "toString should include flags in hex"); assertTrue(s.endsWith("]"), "toString should end with closing bracket"); }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 6.9K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbResourceLocatorImpl.java
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 23.6K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/Trans2FindFirst2ResponseTest.java
assertTrue(actual.contains("searchCount=5")); assertTrue(actual.contains("isEndOfSearch=true")); assertTrue(actual.contains("lastName=file5.txt")); assertTrue(actual.endsWith("]")); } @Test void testToString_FindNext2() { response.subCommand = SmbComTransaction.TRANS2_FIND_NEXT2; String actual = response.toString();
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.3K bytes - Viewed (0) -
src/test/java/jcifs/SmbResourceLocatorTest.java
public String getName() { if (path == null || path.isEmpty() || path.equals("/")) { return host + "/"; // mimic the JVM behaviour for root or server } if (path.endsWith("/")) { return path.substring(0, path.length()); // keep trailing slash } String[] parts = path.split("/"); return parts[parts.length - 1]; }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 8K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/timer/MonitorTargetTest.java
StringBuilder buf = new StringBuilder(); monitorTarget.appendTimestamp(buf); String result = buf.toString(); assertTrue(result.startsWith("\"timestamp\":\"")); assertTrue(result.endsWith("\"")); // Verify a timestamp was properly formatted assertNotNull(result); assertTrue(result.length() > "\"timestamp\":\"\"".length()); }
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 11K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/reflect/ClassPathTest.java
assertThat(urls.get(0).getPath()).endsWith("/relative/path/to/some.jar"); assertThat(urls.get(1)).isEqualTo(new URL("file:///absolute/path/to/some.jar")); assertThat(urls.get(2).getProtocol()).isEqualTo("file"); assertThat(urls.get(2).getAuthority()).isNull(); assertThat(urls.get(2).getPath()).endsWith("/relative/path/to/class/root");
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Aug 11 20:58:01 UTC 2025 - 23K bytes - Viewed (0) -
src/test/java/jcifs/internal/fscc/FileEndOfFileInformationTest.java
String str1 = fileInfo.toString(); assertNotNull(str1); assertTrue(str1.startsWith("EndOfFileInformation[")); assertTrue(str1.contains("endOfFile=")); assertTrue(str1.endsWith("]")); // Test with specific value FileEndOfFileInformation info = new FileEndOfFileInformation(12345L); String str2 = info.toString();
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.9K bytes - Viewed (0)