Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 393 for pfiles (0.03 sec)

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

    # Request Forms and Files { #request-forms-and-files }
    
    You can define files and form fields at the same time using `File` and `Form`.
    
    /// info
    
    To receive uploaded files and/or form data, first install <a href="https://github.com/Kludex/python-multipart" class="external-link" target="_blank">`python-multipart`</a>.
    
    Make sure you create a [virtual environment](../virtual-environments.md){.internal-link target=_blank}, activate it, and then install it, for example:
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 1.5K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb2/lease/DirectoryLeasingIntegrationTest.java

            // Update first directory cache
            List<SmbFile> files1 = Arrays.asList(mockFile1);
            directoryLeaseManager.updateDirectoryCache(dir1, files1);
    
            // Update second directory cache
            List<SmbFile> files2 = Arrays.asList(mockFile2);
            directoryLeaseManager.updateDirectoryCache(dir2, files2);
    
            // Verify both caches are independent
            assertTrue(entry1.isComplete());
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 01:47:47 UTC 2025
    - 14.2K bytes
    - Viewed (0)
  7. docs/smb3-features/04-directory-leasing-design.md

            }
            
            List<SmbFile> files = new ArrayList<>();
            for (DirectoryCacheEntry.FileInfo fileInfo : entry.getChildren()) {
                // Create SmbFile objects from cached info
                SmbFile file = createSmbFileFromCache(directoryPath, fileInfo);
                files.add(file);
            }
            
            return files;
        }
        
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 36.2K bytes
    - Viewed (0)
  8. cmd/data-usage_test.go

    		if err != nil {
    			t.Fatal(err)
    		}
    	}
    }
    
    // generateUsageTestFiles create nFolders * nFiles files of size bytes each.
    func generateUsageTestFiles(t *testing.T, base, bucket string, nFolders, nFiles, size int) {
    	pl := make([]byte, size)
    	for i := range nFolders {
    		name := filepath.Join(base, bucket, fmt.Sprint(i), "0.txt")
    		err := os.MkdirAll(filepath.Dir(name), os.ModePerm)
    		if err != nil {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 14.6K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/core/net/URLUtilTest.java

        }
    
        /**
         * @throws Exception
         */
        public void testToFile() throws Exception {
            final File file = new File("Program Files/hoge.txt");
            final URL url = file.toURI().toURL();
            assertEquals(file.getAbsoluteFile(), URLUtil.toFile(url));
            assertEquals(file.getAbsoluteFile(), URLUtil.toFile(new URL("file:Program%20Files/hoge.txt")));
        }
    
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 1.9K bytes
    - Viewed (0)
  10. src/test/java/jcifs/context/SingletonContextTest.java

        @Test
        void testInitLoadsJcifsPropertiesFile(@TempDir Path tempDir) throws IOException, CIFSException {
            // Test that jcifs.properties file is loaded
            Path jcifsPropertiesPath = tempDir.resolve("jcifs.properties");
            Files.writeString(jcifsPropertiesPath, "jcifs.smb.client.nativeOs=FileOS");
            System.setProperty("jcifs.properties", jcifsPropertiesPath.toString());
    
            SingletonContext.init(null);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.9K bytes
    - Viewed (0)
Back to top