- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 180 for isfile (0.27 sec)
-
samples/guide/src/test/kotlin/okhttp3/AllMainsTest.kt
*/ package okhttp3 import java.io.File import java.lang.reflect.InvocationTargetException import org.junit.jupiter.api.Disabled import org.junit.jupiter.api.Tag import org.junit.jupiter.params.ParameterizedTest import org.junit.jupiter.params.provider.ArgumentsSource private val prefix = if (File("samples").exists()) "" else "../../" private fun mainFiles(): List<File> { val directories = listOf(
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 2.8K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/thumbnail/impl/CommandGenerator.java
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Fri Jul 18 14:34:06 UTC 2025 - 14.7K bytes - Viewed (0) -
src/main/java/org/codelibs/core/misc/DynamicProperties.java
* If the file cannot be accessed or created. */ public DynamicProperties(final Path path) { this(path == null ? null : path.toFile()); } /** * Constructs a {@code DynamicProperties} instance with the specified {@link File}. * * @param file * The {@link File} representing the properties file. If {@code null}, a {@link FileAccessException} is thrown.Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Sat Jul 05 00:11:05 UTC 2025 - 13.1K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/thumbnail/ThumbnailManager.java
try { final File outputFile = new File(baseDir, entity.getPath()); final File noImageFile = new File(outputFile.getAbsolutePath() + NOIMAGE_FILE_SUFFIX); if (!noImageFile.isFile() || systemHelper.getCurrentTimeAsLong() - noImageFile.lastModified() > noImageExpired) { if (noImageFile.isFile() && !noImageFile.delete()) {Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 26.9K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/artifact/repository/metadata/DefaultRepositoryMetadataManager.java
e); } if (file.isFile()) { try { fixTimestamp(file, readMetadata(file), repositoryMetadata.getMetadata()); } catch (RepositoryMetadataReadException e) { // will be reported via storeInlocalRepository } } } else {Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Fri Jun 06 14:28:57 UTC 2025 - 18.9K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/helper/OsddHelper.java
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 4.7K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbFileTest.java
// Arrange & Act SmbFile file = new SmbFile(url, mockCifsContext); // Assert assertNotNull(file); assertEquals(mockCifsContext, file.getContext()); } @Test void testConstructorWithStringURL() throws MalformedURLException { // Arrange & Act SmbFile file = new SmbFile("smb://localhost/share/test.txt", mockCifsContext);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 20.8K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbFileIntegrationTest.java
SmbFile file = new SmbFile(baseUrl + "shared/zerobyte_" + timestamp + ".txt", context); // Create empty file file.createNewFile(); // Verify properties assertTrue(file.exists(), "Empty file should exist"); assertEquals(0, file.length(), "Empty file should have zero length"); assertTrue(file.isFile(), "Should be identified as file");
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 56K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/SmbRandomAccessFileTest.java
smbFile = mock(SmbFile.class); smbFile.tree = smbTree; smbFile.fid = 1; smbFile.tree_num = 1; when(smbFile.isFile()).thenReturn(true); when(smbFile.getUncPath()).thenReturn("\\\\server\\share\\file.txt"); when(smbFile.isOpen()).thenReturn(true); // Mock the open method to do nothing
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.3K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/client/fs/FileSystemClient.java
} else if (file.isFile()) { // check file size responseData.setContentLength(file.length()); checkMaxContentLength(responseData); parseFileOwnerAttribute(responseData, file); responseData.setHttpStatusCode(Constants.OK_STATUS_CODE); responseData.setCharSet(getCharSet(file));
Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Sun Jul 06 02:13:03 UTC 2025 - 13.8K bytes - Viewed (0)