Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 2,591 for file3 (0.36 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. docs/en/docs/tutorial/request-files.md

    ```
    
    This is because uploaded files are sent as "form data".
    
    ///
    
    ## Import `File` { #import-file }
    
    Import `File` and `UploadFile` from `fastapi`:
    
    {* ../../docs_src/request_files/tutorial001_an_py39.py hl[3] *}
    
    ## Define `File` Parameters { #define-file-parameters }
    
    Create file parameters the same way you would for `Body` or `Form`:
    
    {* ../../docs_src/request_files/tutorial001_an_py39.py hl[9] *}
    
    /// info
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 7.3K bytes
    - Viewed (0)
  9. docs/en/docs/tutorial/static-files.md

    # Static Files { #static-files }
    
    You can serve static files automatically from a directory using `StaticFiles`.
    
    ## Use `StaticFiles` { #use-staticfiles }
    
    * Import `StaticFiles`.
    * "Mount" a `StaticFiles()` instance in a specific path.
    
    {* ../../docs_src/static_files/tutorial001.py hl[2,6] *}
    
    /// note | Technical Details
    
    You could also use `from starlette.staticfiles import StaticFiles`.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 1.7K bytes
    - Viewed (0)
  10. docs/en/docs/tutorial/request-forms-and-files.md

    ```
    
    ///
    
    ## Import `File` and `Form` { #import-file-and-form }
    
    {* ../../docs_src/request_forms_and_files/tutorial001_an_py39.py hl[3] *}
    
    ## Define `File` and `Form` parameters { #define-file-and-form-parameters }
    
    Create file and form parameters the same way you would for `Body` or `Query`:
    
    {* ../../docs_src/request_forms_and_files/tutorial001_an_py39.py hl[10:12] *}
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 1.5K bytes
    - Viewed (0)
Back to top