Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 843 for files (0.22 sec)

  1. 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")));
        }
    
    Java
    - Registered: Fri Apr 26 20:58:09 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 1.9K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/app/web/api/ApiResult.java

            }
        }
    
        public static class ApiLogFilesResponse extends ApiResponse {
            protected List<Map<String, Object>> files;
            protected long total = 0;
    
            public ApiLogFilesResponse files(final List<Map<String, Object>> files) {
                this.files = files;
                return this;
            }
    
            public ApiLogFilesResponse total(final long total) {
                this.total = total;
    Java
    - Registered: Mon Apr 29 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 12.2K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/io/FilesTest.java

        Files.createParentDirs(file);
      }
    
      public void testCreateParentDirs_relativePath() throws IOException {
        File file = file("nonexistent.file");
        assertNull(file.getParentFile());
        assertNotNull(file.getCanonicalFile().getParentFile());
        Files.createParentDirs(file);
      }
    
      public void testCreateParentDirs_noParentsNeeded() throws IOException {
        File file = file(getTempDir(), "nonexistent.file");
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 22.2K bytes
    - Viewed (0)
  4. docs/en/docs/how-to/custom-docs-ui-assets.md

    By default, those files are served from a <abbr title="Content Delivery Network: A service, normally composed of several servers, that provides static files, like JavaScript and CSS. It's commonly used to serve those files from the server closer to the client, improving performance.">CDN</abbr>.
    
    But it's possible to customize it, you can set a specific CDN, or serve the files yourself.
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Mon Oct 30 09:58:58 GMT 2023
    - 7.5K bytes
    - Viewed (0)
  5. tests/test_tutorial/test_request_files/test_tutorial001_an.py

            }
        )
    
    
    def test_post_file(tmp_path):
        path = tmp_path / "test.txt"
        path.write_bytes(b"<file content>")
    
        client = TestClient(app)
        with path.open("rb") as file:
            response = client.post("/files/", files={"file": file})
        assert response.status_code == 200, response.text
        assert response.json() == {"file_size": 14}
    
    
    def test_post_large_file(tmp_path):
        default_pydantic_max_size = 2**16
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 19:40:57 GMT 2024
    - 7.5K bytes
    - Viewed (0)
  6. scripts/mkdocs_hooks.py

            resolve_file(item=config.theme["logo"], files=files, config=config)
        if "favicon" in config.theme:
            resolve_file(item=config.theme["favicon"], files=files, config=config)
        resolve_files(items=config.extra_css, files=files, config=config)
        resolve_files(items=config.extra_javascript, files=files, config=config)
        return files
    
    
    def generate_renamed_section_items(
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Tue Oct 24 20:26:06 GMT 2023
    - 5.1K bytes
    - Viewed (0)
  7. build-logic-commons/basics/src/test/kotlin/gradlebuild/basics/tasks/PackageListGeneratorIntegrationTest.kt

    import org.junit.jupiter.api.Assertions.assertEquals
    import org.junit.jupiter.api.Test
    import org.junit.jupiter.api.io.TempDir
    import java.nio.file.FileVisitResult
    import java.nio.file.Files
    import java.nio.file.Path
    import java.nio.file.SimpleFileVisitor
    import java.nio.file.attribute.BasicFileAttributes
    import java.util.jar.JarEntry
    import java.util.jar.JarOutputStream
    
    
    class PackageListGeneratorIntegrationTest {
    
    Plain Text
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Sat Sep 30 16:17:28 GMT 2023
    - 4.8K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/io/FilesTest.java

        Files.createParentDirs(file);
      }
    
      public void testCreateParentDirs_relativePath() throws IOException {
        File file = file("nonexistent.file");
        assertNull(file.getParentFile());
        assertNotNull(file.getCanonicalFile().getParentFile());
        Files.createParentDirs(file);
      }
    
      public void testCreateParentDirs_noParentsNeeded() throws IOException {
        File file = file(getTempDir(), "nonexistent.file");
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 22.2K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/io/MoreFilesTest.java

    import java.nio.file.FileSystems;
    import java.nio.file.FileVisitResult;
    import java.nio.file.Files;
    import java.nio.file.NoSuchFileException;
    import java.nio.file.Path;
    import java.nio.file.SimpleFileVisitor;
    import java.nio.file.attribute.BasicFileAttributes;
    import java.nio.file.attribute.FileTime;
    import java.util.EnumSet;
    import java.util.concurrent.ExecutorService;
    import java.util.concurrent.Executors;
    import java.util.concurrent.Future;
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Jan 29 22:57:05 GMT 2024
    - 27.2K bytes
    - Viewed (0)
  10. tests/test_tutorial/test_request_files/test_tutorial001_02_an_py310.py

        assert response.json() == {"message": "No upload file sent"}
    
    
    @needs_py310
    def test_post_file(tmp_path: Path, client: TestClient):
        path = tmp_path / "test.txt"
        path.write_bytes(b"<file content>")
    
        with path.open("rb") as file:
            response = client.post("/files/", files={"file": file})
        assert response.status_code == 200, response.text
        assert response.json() == {"file_size": 14}
    
    
    @needs_py310
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Fri Jul 07 17:12:13 GMT 2023
    - 8.5K bytes
    - Viewed (0)
Back to top