- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 31 for tempdir (2.32 sec)
-
src/test/java/jcifs/smb/SmbFileIntegrationTest.java
Files.createDirectories(tempDir.resolve("public")); Files.createDirectories(tempDir.resolve("shared")); // Create some initial files Files.writeString(tempDir.resolve("public/readme.txt"), "This is a public share for testing"); Files.writeString(tempDir.resolve("shared/initial.txt"), "Initial file in shared directory");
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 56K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/client/smb/SmbClientTest.java
super.setUp(); Path tempDir = Files.createTempDirectory("smbdata"); Path publicDir = tempDir.resolve("public"); Files.createDirectory(publicDir); Path usersDir = tempDir.resolve("users"); Files.createDirectory(usersDir); Path testuser1Dir = tempDir.resolve("testuser1"); Files.createDirectory(testuser1Dir); Path testuser2Dir = tempDir.resolve("testuser2");
Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Tue Sep 23 06:42:59 UTC 2025 - 31.9K bytes - Viewed (0) -
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) -
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) -
src/test/java/jcifs/internal/smb1/com/SmbComCreateDirectoryTest.java
SmbComCreateDirectory smbCom = new SmbComCreateDirectory(mockConfig, "testDir"); byte[] dst = new byte[10]; int result = smbCom.writeParameterWordsWireFormat(dst, 0); assertEquals(0, result); } @Test void testWriteBytesWireFormat() { // Test the byte format written by the class String directoryName = "\testDir";
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 4.2K 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/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/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) -
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)