- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 103 for tmpdir (0.03 sec)
-
src/test/java/org/codelibs/curl/CurlTest.java
// ## Act ## final File tmpDir = Curl.tmpDir; // ## Assert ## assertNotNull(tmpDir); assertTrue(tmpDir.exists()); assertTrue(tmpDir.isDirectory()); assertTrue(tmpDir.canRead()); assertTrue(tmpDir.canWrite()); assertEquals(new File(System.getProperty("java.io.tmpdir")).getAbsolutePath(), tmpDir.getAbsolutePath()); } @TestRegistered: Sat Dec 20 09:13:53 UTC 2025 - Last Modified: Thu Nov 20 13:34:13 UTC 2025 - 16.3K bytes - Viewed (0) -
src/test/java/org/codelibs/curl/io/ContentOutputStreamTest.java
ContentOutputStream cos = new ContentOutputStream(10, Curl.tmpDir); cos.write(new byte[] { 0, 1, 2, 3, 4 }); assertFalse(cos.done); assertTrue(cos.isInMemory()); cos.close(); assertFalse(cos.done); } @Test public void inFile() throws IOException { ContentOutputStream cos = new ContentOutputStream(10, Curl.tmpDir);
Registered: Sat Dec 20 09:13:53 UTC 2025 - Last Modified: Wed Nov 12 14:01:04 UTC 2025 - 9.9K bytes - Viewed (0) -
misc/ios/go_ios_exec.go
} os.Exit(exitCode) } func runMain() (int, error) { var err error tmpdir, err = os.MkdirTemp("", "go_ios_exec_") if err != nil { return 1, err } if !debug { defer os.RemoveAll(tmpdir) } appdir := filepath.Join(tmpdir, "gotest.app") os.RemoveAll(appdir) if err := assembleApp(appdir, os.Args[1]); err != nil { return 1, err }
Registered: Tue Dec 30 11:13:12 UTC 2025 - Last Modified: Tue Sep 16 00:34:45 UTC 2025 - 8.7K bytes - Viewed (0) -
src/main/java/org/codelibs/curl/Curl.java
* * <p>The temporary directory used by Curl is defined by the {@code tmpDir} field, which is initialized * to the system's temporary directory.</p> */ public class Curl { /** * The temporary directory used by Curl. It is initialized to the system's temporary directory. */ public static final File tmpDir = new File(System.getProperty("java.io.tmpdir")); /**Registered: Sat Dec 20 09:13:53 UTC 2025 - Last Modified: Thu Nov 20 13:34:13 UTC 2025 - 5.9K bytes - Viewed (0) -
impl/maven-core/src/test/java/org/apache/maven/project/MavenProjectTest.java
childModel.setArtifactId("artifact"); MavenProject childProject = new MavenProject(childModel); File childFile = new File( System.getProperty("java.io.tmpdir"), "maven-project-tests" + System.currentTimeMillis() + "/child/pom.xml"); childProject.setFile(childFile); String adjustment = parentProject.getModulePathAdjustment(childProject);
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Nov 28 09:44:37 UTC 2025 - 9.3K bytes - Viewed (0) -
src/test/java/org/codelibs/curl/io/ContentCacheTest.java
assertArrayEquals(originalData, result); } } @Test public void testFileBasedCacheConstructor() throws IOException { tempFile = File.createTempFile("test", ".tmp", Curl.tmpDir); ContentCache cache = new ContentCache(tempFile); assertNotNull(cache); } @Test public void testFileBasedCacheConstructorWithNull() { try {
Registered: Sat Dec 20 09:13:53 UTC 2025 - Last Modified: Thu Nov 20 13:34:13 UTC 2025 - 11.2K bytes - Viewed (0) -
src/main/java/org/codelibs/curl/io/ContentOutputStream.java
* * @param threshold the threshold in bytes for writing to memory before writing to a file * @param tmpDir the temporary directory to create the file in */ public ContentOutputStream(final int threshold, final File tmpDir) { super(threshold, PREFIX, SUFFIX, tmpDir); } @Override public File getFile() { done = true; return super.getFile(); }Registered: Sat Dec 20 09:13:53 UTC 2025 - Last Modified: Thu Nov 20 13:34:13 UTC 2025 - 3.9K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/job/CrawlJob.java
File ownTmpDir = null; final String tmpDir = System.getProperty("java.io.tmpdir"); if (fessConfig.isUseOwnTmpDir() && StringUtil.isNotBlank(tmpDir)) { ownTmpDir = new File(tmpDir, "fessTmpDir_" + sessionId); if (ownTmpDir.mkdirs()) { cmdList.add("-Djava.io.tmpdir=" + ownTmpDir.getAbsolutePath());Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Fri Nov 28 16:29:12 UTC 2025 - 19.6K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/job/SuggestJob.java
File ownTmpDir = null; final String tmpDir = System.getProperty("java.io.tmpdir"); if (fessConfig.isUseOwnTmpDir() && StringUtil.isNotBlank(tmpDir)) { ownTmpDir = new File(tmpDir, "fessTmpDir_" + sessionId); if (ownTmpDir.mkdirs()) { cmdList.add("-Djava.io.tmpdir=" + ownTmpDir.getAbsolutePath()); } else { ownTmpDir = null;Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Fri Nov 28 16:29:12 UTC 2025 - 10.5K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/job/GenerateThumbnailJob.java
File ownTmpDir = null; final String tmpDir = System.getProperty("java.io.tmpdir"); if (fessConfig.isUseOwnTmpDir() && StringUtil.isNotBlank(tmpDir)) { ownTmpDir = new File(tmpDir, "fessTmpDir_" + sessionId); if (ownTmpDir.mkdirs()) { cmdList.add("-Djava.io.tmpdir=" + ownTmpDir.getAbsolutePath()); } else { ownTmpDir = null;Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Fri Nov 28 16:29:12 UTC 2025 - 11.7K bytes - Viewed (0)