Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 857 for file2 (0.47 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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. 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)
  6. 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)
  7. 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)
  8. docs/smb3-features/02-persistent-handles-design.md

                        file.getTree().send(createReq);
                    
                    if (response.isSuccess()) {
                        // Update file with new handle
                        file.setFileId(response.getFileId());
                        handleManager.completeReconnect(info.path, true);
                        return file;
                    } else {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 31.6K bytes
    - Viewed (0)
  9. 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)
  10. 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)
Back to top