Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 2,979 for file2 (0.02 sec)

  1. okhttp/src/jvmTest/kotlin/okhttp3/MultipartBodyTest.kt

          |--AaB03x
          |Content-Disposition: form-data; name="files"
          |Content-Type: multipart/mixed; boundary=BbC04y
          |
          |--BbC04y
          |Content-Disposition: file; filename="file1.txt"
          |Content-Type: text/plain; charset=utf-8
          |
          |... contents of file1.txt ...
          |--BbC04y
          |Content-Disposition: file; filename="file2.gif"
          |Content-Transfer-Encoding: binary
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 10.5K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/core/io/ResourceUtilTest.java

        /**
         * @throws Exception
         */
        public void testGetBuildDir() throws Exception {
            final File file = ResourceUtil.getBuildDir(getClass());
            System.out.println(file);
            final File file2 = ResourceUtil.getBuildDir("org/codelibs/core/io");
            assertEquals(file, file2);
            final File junitJar = ResourceUtil.getBuildDir(TestCase.class);
            assertTrue(junitJar.exists());
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 4.3K bytes
    - Viewed (0)
  3. guava/src/com/google/common/io/Files.java

      public static boolean equal(File file1, File file2) throws IOException {
        checkNotNull(file1);
        checkNotNull(file2);
        if (file1 == file2 || file1.equals(file2)) {
          return true;
        }
    
        /*
         * Some operating systems may return zero as the length for files denoting system-dependent
         * entities such as devices or pipes, in which case we must fall back on comparing the bytes
         * directly.
         */
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 32.9K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/io/Files.java

      public static boolean equal(File file1, File file2) throws IOException {
        checkNotNull(file1);
        checkNotNull(file2);
        if (file1 == file2 || file1.equals(file2)) {
          return true;
        }
    
        /*
         * Some operating systems may return zero as the length for files denoting system-dependent
         * entities such as devices or pipes, in which case we must fall back on comparing the bytes
         * directly.
         */
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 32.9K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/exec/CrawlerTest.java

            Crawler.Options options = new Crawler.Options();
            options.fileConfigIds = "file1,file2";
    
            List<String> result = options.getFileConfigIdList();
            assertNotNull(result);
            assertEquals(2, result.size());
            assertTrue(result.contains("file1"));
            assertTrue(result.contains("file2"));
        }
    
        public void test_Options_getFileConfigIdList_withSingleId() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 30.5K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/job/CrawlJobTest.java

            crawlJob.fileConfigIds(new String[] { "file1" });
            crawlJob.dataConfigIds(new String[] { "data1", "data2", "data3" });
    
            String result = crawlJob.execute();
    
            assertNotNull(result);
            assertTrue(result.contains("Web  Config Id: web1 web2"));
            assertTrue(result.contains("File Config Id: file1"));
            assertTrue(result.contains("Data Config Id: data1 data2 data3"));
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 25K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/dict/DictionaryManagerTest.java

            super.setUp();
            testDir = File.createTempFile("synonymtest", "_dir");
            testDir.delete();
            testDir.mkdirs();
            file1 = new File(testDir, "synonym.txt");
            FileUtil.writeBytes(file1.getAbsolutePath(), "abc=>123\nxyz,890".getBytes(Constants.UTF_8));
        }
    
        @Override
        public void tearDown() throws Exception {
            super.tearDown();
            FileUtils.deleteDirectory(testDir);
        }
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Mar 15 06:53:53 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/util/ThreadDumpUtilTest.java

            // Create a temporary file for testing
            Path tempFile = Files.createTempFile("test-thread-dump", ".txt");
    
            try {
                ThreadDumpUtil.writeThreadDump(tempFile.toString());
    
                // Verify the file was created and contains content
                assertTrue("Thread dump file should exist", Files.exists(tempFile));
                assertTrue("Thread dump file should not be empty", Files.size(tempFile) > 0);
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 07:34:10 UTC 2025
    - 15.5K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/dict/DictionaryManager.java

         * This method checks for concurrent modifications by comparing timestamps
         * and uploads the file content to the ConfigSync API.
         *
         * @param dictFile the dictionary file metadata to store
         * @param file the actual file containing the dictionary content
         * @throws DictionaryException if the file was updated by another process,
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 7.7K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/ds/DataStoreFactory.java

     * governing permissions and limitations under the License.
     */
    package org.codelibs.fess.ds;
    
    import java.io.File;
    import java.io.InputStream;
    import java.nio.file.FileSystem;
    import java.nio.file.FileSystems;
    import java.nio.file.Files;
    import java.nio.file.Path;
    import java.util.HashSet;
    import java.util.LinkedHashMap;
    import java.util.List;
    import java.util.Locale;
    import java.util.Map;
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 8.4K bytes
    - Viewed (0)
Back to top