- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 1,487 for file2 (0.06 sec)
-
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) -
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) -
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) -
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) -
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) -
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) -
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) -
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) -
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) -
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)