Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 3,011 for file1 (0.02 sec)

  1. 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)
  2. 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)
  3. 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)
  4. src/test/java/jcifs/http/NetworkExplorerTest.java

            // Mock directory listing
            SmbFile file1 = mock(SmbFile.class);
            when(file1.getName()).thenReturn("document.pdf");
            when(file1.isDirectory()).thenReturn(false);
            when(file1.length()).thenReturn(2048L);
            when(file1.lastModified()).thenReturn(System.currentTimeMillis());
    
            SmbFile dir1 = mock(SmbFile.class);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 04:51:33 UTC 2025
    - 21.2K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb2/lease/LeaseManagerTest.java

            assertEquals(path, entryByPath.getPath());
        }
    
        @Test
        @DisplayName("Should release all leases")
        void testReleaseAll() {
            String path1 = "/share/file1.txt";
            String path2 = "/share/file2.txt";
    
            Smb2LeaseKey key1 = leaseManager.requestLease(path1, Smb2LeaseState.SMB2_LEASE_READ_CACHING);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 00:16:17 UTC 2025
    - 13.2K bytes
    - Viewed (0)
  6. 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)
  7. src/test/java/jcifs/internal/smb2/info/Smb2QueryDirectoryResponseTest.java

                buffer[i] = 0;
            }
            SMBUtil.writeInt4(8, buffer, 68); // FileNameLength at offset 60 from start
            byte[] file1 = "file1".getBytes(StandardCharsets.UTF_16LE);
            System.arraycopy(file1, 0, buffer, 102, file1.length);
    
            // Write second FileBothDirectoryInfo at 8 + 104 = 112
            int secondOffset = 112;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 23.5K bytes
    - Viewed (0)
  8. src/test/java/jcifs/smb/DirFileEntryEnumIterator2Test.java

            // Arrange: initial page with two entries, then one more entry, then no more files
            FileEntry fe1 = mock(FileEntry.class);
            lenient().when(fe1.getName()).thenReturn("file1");
            lenient().when(fe1.getFileIndex()).thenReturn(1);
    
            FileEntry fe2 = mock(FileEntry.class);
            lenient().when(fe2.getName()).thenReturn("file2");
            when(fe2.getFileIndex()).thenReturn(2);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.7K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/smb1/trans/nt/NtTransNotifyChangeResponseTest.java

            buffer.order(ByteOrder.LITTLE_ENDIAN);
    
            // Calculate offsets (must be 4-byte aligned)
            String fileName1 = "file1.txt";
            String fileName2 = "file2.txt";
            String fileName3 = "file3.txt";
    
            byte[] fileNameBytes1 = fileName1.getBytes("UTF-16LE");
            byte[] fileNameBytes2 = fileName2.getBytes("UTF-16LE");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.7K bytes
    - Viewed (0)
  10. src/test/java/jcifs/tests/persistent/PersistentHandleManagerTest.java

            // Clean up temp directory
            if (tempDir != null && Files.exists(tempDir)) {
                Files.walk(tempDir)
                        .sorted((a, b) -> b.compareTo(a)) // Delete files before directories
                        .forEach(path -> {
                            try {
                                Files.delete(path);
                            } catch (IOException e) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 04:51:33 UTC 2025
    - 6.6K bytes
    - Viewed (0)
Back to top