- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 5,790 for file3 (0.03 sec)
-
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) -
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/internal/smb1/trans/nt/NtTransNotifyChangeResponseTest.java
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14.7K 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) -
src/test/java/jcifs/internal/smb2/notify/Smb2ChangeNotifyResponseTest.java
assertEquals(1, notifications.get(0).getAction()); assertEquals("file1", notifications.get(0).getFileName()); assertEquals(2, notifications.get(1).getAction()); assertEquals("file2", notifications.get(1).getFileName()); assertEquals(3, notifications.get(2).getAction()); assertEquals("file3", notifications.get(2).getFileName()); }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 18.8K bytes - Viewed (0) -
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) -
docs/resiliency/resiliency-tests.sh
induce_bitrot_for_xlmeta "1" "/data"$((DATA_DRIVE)) $FILE induce_bitrot_for_xlmeta "1" "/data"$((DATA_DRIVE + 1)) $FILE induce_bitrot_for_xlmeta "1" "/data"$((DATA_DRIVE + 2)) $FILE induce_bitrot_for_xlmeta "1" "/data"$((DATA_DRIVE + 3)) $FILE WANT='{ "before": { "color": "red", "missing": 0, "corrupted": 4 }, "after": { "color": "green", "missing": 0, "corrupted": 0 }, "args": {"file": "'${FILE}'", "dir": "'${DIR}'"} }'
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Sat Dec 21 04:24:45 UTC 2024 - 20.5K bytes - Viewed (0) -
cmd/xl-storage_test.go
t.Fatalf("Unable to create a file \"as-file\", %s", err) } if err = xlStorage.AppendFile(t.Context(), "exists", "as-file-parent/xl.meta", xlMeta); err != nil { t.Fatalf("Unable to create a file \"as-file-parent\", %s", err) } if err = xlStorage.MakeVol(t.Context(), "exists/as-file/"+fi.DataDir); err != nil {
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 66K 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) -
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)