- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 38 for TMPDIR (0.07 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) -
compat/maven-compat/src/test/java/org/apache/maven/project/path/DefaultPathTranslatorTest.java
String aligned = new DefaultPathTranslator().alignToBaseDirectory("${basedir}", basedir); assertEquals(basedir.getAbsolutePath(), aligned); } @Test void testAlignToBasedirWhereBasedirExpressionIsTheValuePrefix() { File basedir = new File(System.getProperty("java.io.tmpdir"), "test").getAbsoluteFile();Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 2K 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) -
lib/wasm/wasm_exec_node.js
globalThis.performance ??= require("performance"); globalThis.crypto ??= require("crypto"); require("./wasm_exec"); const go = new Go(); go.argv = process.argv.slice(2); go.env = Object.assign({ TMPDIR: require("os").tmpdir() }, process.env); go.exit = process.exit; WebAssembly.instantiate(fs.readFileSync(process.argv[2]), go.importObject).then((result) => { process.on("exit", (code) => { // Node.js exits if no event handler is pending
Registered: Tue Dec 30 11:13:12 UTC 2025 - Last Modified: Fri Aug 30 19:15:21 UTC 2024 - 1.2K bytes - Viewed (0) -
build-logic/build-update-utils/src/test/groovy/gradlebuild/buildutils/tasks/UpdateReleasedVersionsIntegrationTest.groovy
def format = new SimpleDateFormat('yyyyMMddHHmmssZ') @TempDir File tmpDir def setup() { format.timeZone = TimeZone.getTimeZone("UTC") } def "updated released version file has expected format"() { given: def releasedVersionsFile = new File(tmpDir, "released-versions.json") releasedVersionsFile << '''{ "latestReleaseSnapshot": {Registered: Wed Dec 31 11:36:14 UTC 2025 - Last Modified: Tue Aug 17 08:32:56 UTC 2021 - 2.4K 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/cmd/addr2line/addr2line_test.go
} } // This is line 101. The test depends on that. func TestAddr2Line(t *testing.T) { testenv.MustHaveGoBuild(t) tmpDir := t.TempDir() // Build copy of test binary with debug symbols, // since the one running now may not have them. exepath := filepath.Join(tmpDir, "testaddr2line_test.exe") out, err := testenv.Command(t, testenv.GoToolPath(t), "test", "-c", "-o", exepath, "cmd/addr2line").CombinedOutput()
Registered: Tue Dec 30 11:13:12 UTC 2025 - Last Modified: Fri Sep 06 13:23:48 UTC 2024 - 3.2K 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/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)