- Sort Score
- Result 10 results
- Languages All
Results 81 - 90 of 182 for endswith (0.14 sec)
-
src/test/java/jcifs/netbios/NameQueryRequestTest.java
String expectedStringPrefix = "NameQueryRequest["; String actualString = request.toString(); assertTrue(actualString.startsWith(expectedStringPrefix)); assertTrue(actualString.endsWith("]")); // Further verification could involve mocking super.toString() if needed }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 3.8K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/CacheCorruptionTest.kt
assertThat(cache.hitCount()).isEqualTo(0) } private fun corruptMetadata(corruptor: (String) -> String) { val metadataFile = fileSystem.allPaths.find { it.name.endsWith(".0") } if (metadataFile != null) { val contents = fileSystem.read(metadataFile) { readUtf8() } fileSystem.write(metadataFile) {
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Jun 18 12:28:21 UTC 2025 - 6K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbFileFilterTest.java
// Arrange: filter that accepts non-empty names ending with .txt SmbFileFilter filter = f -> { String n = f.getName(); return n != null && !n.isEmpty() && n.endsWith(".txt"); }; when(smbFile.getName()).thenReturn(name); // Act boolean result = filter.accept(smbFile); // Assert assertEquals(expected, result);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.4K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/Cookie.kt
urlHost: String, domain: String, ): Boolean { if (urlHost == domain) { return true // As in 'example.com' matching 'example.com'. } return urlHost.endsWith(domain) && urlHost[urlHost.length - domain.length - 1] == '.' && !urlHost.canParseAsIpAddress() } private fun pathMatch( url: HttpUrl, path: String, ): Boolean {
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Mon May 05 16:01:00 UTC 2025 - 23.1K bytes - Viewed (0) -
src/test/java/org/codelibs/core/io/TraverserUtilTest.java
final List<String> list = new ArrayList<String>(); traverser.forEach((ResourceHandler) (path, is) -> list.add(path)); assertThat(list.size(), is(1)); assertThat(list.get(0).endsWith("DummyTest.class"), is(true)); } /** * @throws Exception */ @Test public void testFromDir_JarFile() throws Exception {
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Sat May 10 01:32:17 UTC 2025 - 6.4K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/lease/Smb2LeaseKeyTest.java
Smb2LeaseKey key = new Smb2LeaseKey(testBytes); String str = key.toString(); assertTrue(str.startsWith("LeaseKey[")); assertTrue(str.endsWith("]")); assertTrue(str.contains("00 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F")); }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 21 00:16:17 UTC 2025 - 6K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/entity/GeoInfo.java
final Map<String, List<QueryBuilder>> geoMap = new HashMap<>(); StreamUtil.stream(request.getParameterMap()) .of(stream -> stream.filter(e -> e.getKey().startsWith("geo.") && e.getKey().endsWith(".point")).forEach(e -> { final String key = e.getKey(); for (final String geoField : geoFields) { if (key.startsWith("geo." + geoField + ".")) {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 5.7K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/SmbComQueryInformationResponseTest.java
assertTrue(result.contains("fileAttributes=0x0000")); assertTrue(result.contains("lastWriteTime=" + new Date(0L))); assertTrue(result.contains("fileSize=0")); assertTrue(result.endsWith("]")); }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.5K bytes - Viewed (0) -
.teamcity/src/main/kotlin/projects/StageProject.kt
"${performanceTestCoverage.asConfigurationId(model)}_Trigger" (performanceTests + previousPerformanceTestPasses).first { it.id.toString().endsWith( targetPerformanceTestPassBuildTypeId, ) } }, ), ) } }
Registered: Wed Sep 10 11:36:15 UTC 2025 - Last Modified: Tue Jul 29 03:24:58 UTC 2025 - 11.9K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/admin/maintenance/AdminMaintenanceAction.java
* @param name the filename to check * @return true if the file is a log file (.log or .log.gz), false otherwise */ protected boolean isLogFilename(final String name) { return name.endsWith(".log") || name.endsWith(".log.gz"); } /** * Starts a reindex operation with the specified parameters. * * @param replaceAliases whether to replace aliases after reindexing
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 18K bytes - Viewed (0)