- Sort Score
- Result 10 results
- Languages All
Results 101 - 110 of 235 for getfile (0.05 sec)
-
impl/maven-core/src/test/remote-repo/org/codehaus/plexus/plexus-utils/1.1/plexus-utils-1.1.jar
public static void cleanDirectory(java.io.File) throws java.io.IOException; public static long sizeOfDirectory(String); public static long sizeOfDirectory(java.io.File); public static java.util.List getFiles(java.io.File, String, String) throws java.io.IOException; public static java.util.List getFiles(java.io.File, String, String, boolean) throws java.io.IOException; public static java.util.List getFileNames(java.io.File, String, String, boolean) throws java.io.IOException; public static java.util.List...
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 164.6K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbRandomAccessFileTest.java
void close_sharedFile_closesHandle_only() throws Exception { SmbRandomAccessFile raf = newInstance("rw", false, true, false); SmbFile file = (SmbFile) getField(raf, "file"); SmbFileHandleImpl handle = (SmbFileHandleImpl) getField(raf, "handle"); // Act raf.close(); // Assert interactions verify(handle, atLeastOnce()).close();
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 18.1K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbPipeInputStream.java
/** * @param handle * @param th * @throws SmbException */ SmbPipeInputStream(final SmbPipeHandleImpl handle, final SmbTreeHandleImpl th) throws CIFSException { super(handle.getPipe(), th, null); this.handle = handle; } /** * Ensures that the tree connection is established. * * @return the tree handle implementationRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 3.8K bytes - Viewed (0) -
compat/maven-compat/src/test/java/org/apache/maven/repository/legacy/DefaultUpdateCheckManagerTest.java
Artifact a = createArtifact("a", "0.0.1-SNAPSHOT"); File file = new File(localRepository.getBasedir(), localRepository.pathOf(a)); file.delete(); a.setFile(file); File touchFile = updateCheckManager.getTouchfile(a); touchFile.delete(); assertTrue(updateCheckManager.isUpdateRequired(a, remoteRepository)); file.getParentFile().mkdirs();Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Tue Dec 16 13:41:14 UTC 2025 - 9K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbPipeHandleInternalTest.java
}); } @Test @DisplayName("getPipeType and getPipe delegate to SmbNamedPipe") void pipeType_and_getPipe() { when(pipe.getPipeType()).thenReturn(12345); SmbPipeHandleImpl handle = new SmbPipeHandleImpl(pipe); assertEquals(12345, handle.getPipeType()); assertSame(pipe, handle.getPipe()); } @TestRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 16.7K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/project/DefaultMavenProjectHelper.java
handler = artifactHandlerManager.getArtifactHandler("jar"); } Artifact artifact = new AttachedArtifact(project.getArtifact(), artifactType, artifactClassifier, handler); artifact.setFile(artifactFile); artifact.setResolved(true); attachArtifact(project, artifact); } @Override public void attachArtifact(MavenProject project, String artifactType, File artifactFile) {
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Jun 06 14:28:57 UTC 2025 - 4.3K bytes - Viewed (0) -
src/test/java/jcifs/internal/fscc/FileFsSizeInformationTest.java
// Then long expectedFree = free * sectPerAlloc * bytesPerSect; assertEquals(expectedFree, fileFsSizeInfo.getFree()); assertEquals(2097152L, fileFsSizeInfo.getFree()); // 512 * 8 * 512 } @Test @DisplayName("Should handle overflow in capacity calculation")Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 25.9K bytes - Viewed (0) -
src/test/java/jcifs/internal/fscc/FileFsFullSizeInformationTest.java
// Then long expectedFree = callerFree * sectPerAlloc * bytesPerSect; assertEquals(expectedFree, fileFsFullSizeInfo.getFree()); assertEquals(2097152L, fileFsFullSizeInfo.getFree()); // 512 * 8 * 512 } @Test @DisplayName("Should handle overflow in capacity calculation")Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 30.5K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/net/protocol/storage/HandlerTest.java
Handler.StorageURLConnection storageConn = (Handler.StorageURLConnection) conn; // Use reflection to access private fields for testing assertEquals("mybucket", getField(storageConn, "bucketName")); assertEquals("path/to/object.txt", getField(storageConn, "objectName")); } /** * Test URL parsing with bucket only (no object path). */ public void test_urlParsing_bucketOnly() throws Exception {Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Thu Dec 11 08:38:29 UTC 2025 - 14.4K bytes - Viewed (0) -
impl/maven-core/src/test/java/org/apache/maven/graph/ProjectSelectorTest.java
final String selector = tempFile.getName(); final MavenProject mavenProject = createMavenProject("maven-core"); mavenProject.setFile(tempFile); final boolean result = sut.isMatchingProject(mavenProject, selector, tempFile.getParentFile()); tempFile.delete(); assertEquals(true, result); } @Test
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Wed Sep 17 10:01:14 UTC 2025 - 8.6K bytes - Viewed (0)