Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 121 - 130 of 9,688 for _file (0.02 seconds)

  1. src/main/java/org/codelibs/core/jar/JarFileUtil.java

         * Creates and returns a <code>JarFile</code> to read the specified JAR file.
         *
         * @param file the file (must not be {@literal null})
         * @return a <code>JarFile</code> to read the specified JAR file
         */
        public static JarFile create(final File file) {
            assertArgumentNotNull("file", file);
    
            try {
                return new JarFile(file);
            } catch (final IOException e) {
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Thu Jul 31 08:16:49 GMT 2025
    - 4.9K bytes
    - Click Count (0)
  2. 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 {
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 66K bytes
    - Click Count (0)
  3. tests/test_custom_middleware_exception.py

        with client:
            with open(path, "rb") as file:
                response = client.post("/middleware", files={"file": file})
            assert response.status_code == 422, response.text
            assert response.json() == {
                "detail": {
                    "name": "ContentSizeLimitExceeded",
                    "code": 999,
                    "message": "File limit exceeded",
                }
            }
    
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Tue Feb 17 09:59:14 GMT 2026
    - 2.8K bytes
    - Click Count (0)
  4. build-conventions/src/main/java/org/elasticsearch/gradle/internal/conventions/info/GitInfo.java

    import java.nio.file.Path;
    import java.nio.file.Paths;
    import java.util.Arrays;
    import java.util.HashMap;
    import java.util.Iterator;
    import java.util.Map;
    import java.util.regex.Matcher;
    import java.util.regex.Pattern;
    import java.util.stream.Collectors;
    import java.util.stream.Stream;
    
    public class GitInfo {
        private static final Pattern GIT_PATTERN = Pattern.compile("git@([^:]+):([^\\.]+)\\.git");
    
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 01 09:19:30 GMT 2021
    - 7.8K bytes
    - Click Count (0)
  5. docs_src/request_files/tutorial001_03_py310.py

    from fastapi import FastAPI, File, UploadFile
    
    app = FastAPI()
    
    
    @app.post("/files/")
    async def create_file(file: bytes = File(description="A file read as bytes")):
        return {"file_size": len(file)}
    
    
    @app.post("/uploadfile/")
    async def create_upload_file(
        file: UploadFile = File(description="A file read as UploadFile"),
    ):
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Feb 12 13:19:43 GMT 2026
    - 371 bytes
    - Click Count (0)
  6. api/README

    The next/ directory contains the only files intended to be mutated.
    Each file in that directory contains a list of features that may be added
    to the next release of Go. The files in this directory only affect the
    warning output from the go api tool. Each file should be named
    nnnnn.txt, after the issue number for the accepted proposal.
    (The #nnnnn suffix must also appear at the end of each line in the file;
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Wed Jan 31 19:22:50 GMT 2024
    - 1.2K bytes
    - Click Count (0)
  7. src/test/java/org/codelibs/fess/app/web/go/GoActionTest.java

        public void test_isFileSystemPath_file_protocol() {
            assertTrue(goAction.isFileSystemPath("file:///path/to/file.txt"));
            assertTrue(goAction.isFileSystemPath("file://localhost/path/to/file.txt"));
            assertTrue(goAction.isFileSystemPath("file:/path/to/file.txt"));
            assertTrue(goAction.isFileSystemPath("file:C:/Users/test/file.txt"));
        }
    
        @Test
        public void test_isFileSystemPath_smb_protocol() {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 8.3K bytes
    - Click Count (0)
  8. src/main/java/org/codelibs/core/io/FileUtil.java

         * Reads text from a file using the default encoding.
         *
         * @param file
         *            The file. Must not be {@literal null}.
         * @return The text read from the file.
         */
        public static String readText(final File file) {
            assertArgumentNotNull("file", file);
            return readText(file, Charset.defaultCharset().name());
        }
    
        /**
         * Reads text from a file with the specified encoding.
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Thu Feb 12 12:10:45 GMT 2026
    - 13.2K bytes
    - Click Count (0)
  9. compat/maven-settings/src/main/java/org/apache/maven/settings/RuntimeInfo.java

        public static final File DEFAULT_USER_SETTINGS_FILE = new File(userMavenConfigurationHome, "settings.xml");
    
        private File settings;
    
        public RuntimeInfo() {
            this.settings = DEFAULT_USER_SETTINGS_FILE;
        }
    
        public RuntimeInfo(File settings) {
            this.settings = settings;
        }
    
        public File getFile() {
            return settings;
        }
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jan 10 07:09:12 GMT 2025
    - 1.6K bytes
    - Click Count (0)
  10. build-tools-internal/src/integTest/groovy/org/elasticsearch/gradle/internal/test/rest/RestResourcesPluginFuncTest.groovy

            file("/build/restResources/yamlSpecs/rest-api-spec/api/" + apiCore1).exists()
            file("/build/restResources/yamlSpecs/rest-api-spec/api/" + apiCore2).exists()
            file("/build/restResources/yamlSpecs/rest-api-spec/api/" + apiXpack).exists()
            file("/build/restResources/yamlTests/rest-api-spec/test/" + coreTest).exists()
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jul 20 21:05:16 GMT 2021
    - 7K bytes
    - Click Count (0)
Back to Top