Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 740 for file2 (0.03 sec)

  1. fess-crawler/src/test/java/org/codelibs/fess/crawler/client/smb/SmbClientTest.java

            Files.createDirectory(testuser2Dir);
    
            Files.writeString(usersDir.resolve("file1.txt"), "file1");
            Path dir1 = usersDir.resolve("dir1");
            Files.createDirectory(dir1);
            Files.writeString(dir1.resolve("file2.txt"), "file2");
            Path dir2 = dir1.resolve("dir2");
            Files.createDirectory(dir2);
            Files.writeString(dir2.resolve("file3.txt"), "file3");
            Path dir3 = usersDir.resolve("dir3");
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sat Sep 06 04:15:37 UTC 2025
    - 13.7K bytes
    - Viewed (0)
  2. fess-crawler/src/test/java/org/codelibs/fess/crawler/client/storage/StorageClientTest.java

                    .object("file1.txt")
                    .stream(new ByteArrayInputStream("file1".getBytes()), 5, -1)
                    .contentType("application/octet-stream")
                    .build());
            minioClient.putObject(PutObjectArgs.builder()
                    .bucket(bucketName)
                    .object("dir1/file2.txt")
                    .stream(new ByteArrayInputStream("file2".getBytes()), 5, -1)
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Thu Aug 07 02:55:08 UTC 2025
    - 13.8K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb2/lease/DirectoryLeaseManagerTest.java

            entry.updateChild("file1.txt", 1024L, 1000L, false, 0x20, 500L, 800L);
            entry.markComplete();
    
            // Test FILE_REMOVED
            directoryLeaseManager.handleDirectoryChange(directoryPath, "file1.txt", DirectoryChangeNotifier.DirectoryChangeType.FILE_REMOVED);
            assertFalse(entry.hasChild("file1.txt"));
    
            // Test FILE_MODIFIED
            entry.updateChild("file2.txt", 2048L, 2000L, false, 0x20, 600L, 900L);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 01:47:47 UTC 2025
    - 15.9K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb/DirFileEntryAdapterIteratorTest.java

            lenient().when(mockFileEntry2.getName()).thenReturn("file2.txt");
            lenient().when(mockFileEntry3.getName()).thenReturn("file3.txt");
    
            lenient().when(mockResource1.getName()).thenReturn("file1.txt");
            lenient().when(mockResource2.getName()).thenReturn("file2.txt");
            lenient().when(mockResource3.getName()).thenReturn("file3.txt");
        }
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 14.4K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb2/lease/DirectoryCacheEntryTest.java

            assertTrue(children.stream().anyMatch(f -> "file1.txt".equals(f.getName())));
            assertTrue(children.stream().anyMatch(f -> "file2.txt".equals(f.getName())));
            assertTrue(children.stream().anyMatch(f -> "dir1".equals(f.getName())));
        }
    
        @Test
        public void testMarkComplete() {
            entry.updateChild("file1.txt", 1024L, 1000L, false, 0x20, 500L, 800L);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 01:47:47 UTC 2025
    - 8.4K bytes
    - Viewed (0)
  6. 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)
  7. src/test/java/jcifs/internal/smb2/info/Smb2QueryDirectoryResponseTest.java

                buffer[secondOffset + i] = 0;
            }
            SMBUtil.writeInt4(8, buffer, secondOffset + 60); // FileNameLength
            byte[] file2 = "file2".getBytes(StandardCharsets.UTF_16LE);
            System.arraycopy(file2, 0, buffer, secondOffset + 94, file2.length);
    
            int result = response.readBytesWireFormat(buffer, bufferIndex);
    
            assertNotNull(response.getResults());
    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/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)
  9. 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)
  10. src/test/java/jcifs/smb/SmbFileIntegrationTest.java

            }
    
            // Test basic properties
            assertTrue(file.exists(), "File should exist");
            assertTrue(file.canRead(), "File should be readable");
            assertTrue(file.canWrite(), "File should be writable");
            assertEquals(content.length(), file.length(), "File length should match");
    
            // Test timestamps
            long lastModified = file.lastModified();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 56K bytes
    - Viewed (0)
Back to top