Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 30 for tempdir (0.26 sec)

  1. 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)
  2. 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());
        }
    
        @Test
    Registered: Sat Dec 20 09:13:53 UTC 2025
    - Last Modified: Thu Nov 20 13:34:13 UTC 2025
    - 16.3K bytes
    - Viewed (0)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top