- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 23 for createNewFile (0.08 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
build-logic/buildquality/src/test/kotlin/gradlebuild/testcleanup/TestFilesCleanupServiceTest.kt
project.layout.buildDirectory.file("tmp/teŝt files/leftover/leftover").get().asFile.apply { parentFile.mkdirs() createNewFile() } } } useJUnitPlatform() } }
Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Tue Feb 10 00:16:44 GMT 2026 - 11.6K bytes - Click Count (0) -
src/test/java/jcifs/SmbResourceTest.java
assertNotNull(clazz.getMethod("canWrite"), "Should have canWrite method"); assertNotNull(clazz.getMethod("length"), "Should have length method"); assertNotNull(clazz.getMethod("createNewFile"), "Should have createNewFile method"); assertNotNull(clazz.getMethod("mkdir"), "Should have mkdir method"); assertNotNull(clazz.getMethod("mkdirs"), "Should have mkdirs method");
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 35K bytes - Click Count (0) -
build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/docker/DockerBuildTask.java
parameters.getBuildArgs().get().forEach((k, v) -> spec.args("--build-arg", k + "=" + v)); }); try { parameters.getMarkerFile().getAsFile().get().createNewFile(); } catch (IOException e) { throw new RuntimeException("Failed to create marker file", e); } } } interface Parameters extends WorkParameters {Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Tue Jun 01 09:19:30 GMT 2021 - 6.5K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/job/ExecJobTest.java
File jar1 = new File(libDir, "test1.jar"); File jar2 = new File(libDir, "test2.JAR"); File notJar = new File(libDir, "test.txt"); assertTrue(jar1.createNewFile()); assertTrue(jar2.createNewFile()); assertTrue(notJar.createNewFile()); execJob.testAppendJarFile(":", buf, libDir, "/base/path/"); String result = buf.toString();
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 24.8K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/app/web/base/FessAdminActionTest.java
System.setProperty("fess.var.path", varDir.toString()); final File testFile = new File(varDir.toFile(), "data/test.txt"); testFile.getParentFile().mkdirs(); testFile.createNewFile(); // Should not throw action.validateFilePath(testFile.getAbsolutePath()); } @Test public void test_validateFilePath_pathOutsideVarPath() {
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Mar 26 14:36:23 GMT 2026 - 22.7K bytes - Click Count (0) -
compat/maven-compat/src/test/java/org/apache/maven/repository/legacy/DefaultUpdateCheckManagerTest.java
touchFile.delete(); assertTrue(updateCheckManager.isUpdateRequired(a, remoteRepository)); file.getParentFile().mkdirs(); file.createNewFile(); updateCheckManager.touch(a, remoteRepository, null); assertFalse(updateCheckManager.isUpdateRequired(a, remoteRepository)); assertNull(
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Tue Dec 16 13:41:14 GMT 2025 - 9K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/thumbnail/ThumbnailManagerTest.java
dir1.mkdirs(); File expiredFile = new File(dir1, "expired.png"); expiredFile.createNewFile(); expiredFile.setLastModified(System.currentTimeMillis() - 10000L); File recentFile = new File(dir1, "recent.png"); recentFile.createNewFile(); recentFile.setLastModified(System.currentTimeMillis()); // Override purge to avoid client operations
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 20.4K bytes - Click Count (0) -
src/main/java/jcifs/SmbResource.java
* existence of the file and it's creation are an atomic operation with * respect to other filesystem activities. * * @throws CIFSException if an error occurs creating the file */ void createNewFile() throws CIFSException; /** * Creates a directory with the path specified by this <code>SmbResource</code> * and any parent directories that do not exist. This method will fail
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 28K bytes - Click Count (1) -
src/test/java/jcifs/smb/SmbFileIntegrationTest.java
String dirPath = baseUrl + "shared/listdir_" + timestamp + "/"; SmbFile file1 = new SmbFile(dirPath + "file1.txt", fileContext); file1.createNewFile(); file1.close(); SmbFile file2 = new SmbFile(dirPath + "file2.txt", fileContext); file2.createNewFile(); file2.close(); SmbFile subdir = new SmbFile(dirPath + "subdir/", fileContext); subdir.mkdir();Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 56K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/io/FilesFileTraverserTest.java
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Dec 19 18:03:30 GMT 2024 - 3.4K bytes - Click Count (0)