Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 161 - 170 of 9,647 for zile (0.08 seconds)

  1. 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)
  2. tests/test_form_default.py

    from fastapi import FastAPI, File, Form
    from starlette.testclient import TestClient
    
    app = FastAPI()
    
    
    @app.post("/urlencoded")
    async def post_url_encoded(age: Annotated[int | None, Form()] = None):
        return age
    
    
    @app.post("/multipart")
    async def post_multi_part(
        age: Annotated[int | None, Form()] = None,
        file: Annotated[bytes | None, File()] = None,
    ):
        return {"file": file, "age": age}
    
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Tue Feb 17 09:59:14 GMT 2026
    - 829 bytes
    - Click Count (0)
  3. src/test/java/jcifs/tests/persistent/HandleInfoTest.java

            }
            testLeaseKey = new Smb2LeaseKey();
        }
    
        @Test
        public void testHandleInfoCreation() {
            HandleInfo info = new HandleInfo("/test/file.txt", testGuid, testFileId, HandleType.DURABLE_V2, 120000, testLeaseKey);
    
            assertEquals("/test/file.txt", info.getPath());
            assertEquals(testGuid, info.getCreateGuid());
            assertArrayEquals(testFileId, info.getFileId());
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 21 04:51:33 GMT 2025
    - 4.6K bytes
    - Click Count (0)
  4. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/RelocatedArtifact.java

        }
    
        @Override
        public Artifact setFile(File file) {
            File current = getFile();
            if (Objects.equals(current, file)) {
                return this;
            }
            return new RelocatedArtifact(
                    artifact.setFile(file), groupId, artifactId, classifier, extension, version, message);
        }
    
        @Override
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jan 10 07:09:12 GMT 2025
    - 4.7K 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. compat/maven-settings-builder/src/main/java/org/apache/maven/settings/building/DefaultSettingsBuilder.java

            if (localRepository != null && !localRepository.isEmpty()) {
                File file = new File(localRepository);
                if (!file.isAbsolute() && file.getPath().startsWith(File.separator)) {
                    userSettings.setLocalRepository(file.getAbsolutePath());
                }
            }
    
            if (hasErrors(problems.getProblems())) {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Jul 23 17:27:08 GMT 2025
    - 9.5K bytes
    - Click Count (0)
  7. docs/tr/docs/deployment/docker.md

    Örneğin:
    
    * Tek bir server'da **Docker Compose** ile
    * Bir **Kubernetes** clusterile
    * Docker Swarm Mode clusterile
    * Nomad gibi başka bir araçla
    * Container image'ınızı alıp deploy eden bir cloud servisiyle
    
    ## `uv` ile Docker Image { #docker-image-with-uv }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 07:53:17 GMT 2026
    - 29.6K 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. internal/lock/lock_test.go

    	if isClosed {
    		t.Fatal("File ref count shouldn't be zero")
    	}
    
    	// Decrease reference count by 1.
    	if err = rlk.Close(); err != nil {
    		t.Fatal(err)
    	}
    
    	// Now file should be closed.
    	isClosed = rlk.IsClosed()
    	if !isClosed {
    		t.Fatal("File ref count should be zero")
    	}
    
    	// Closing a file again should result in invalid argument.
    	if err = rlk.Close(); err != os.ErrInvalid {
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Tue Feb 18 16:25:55 GMT 2025
    - 3.7K bytes
    - Click Count (0)
  10. src/main/java/org/codelibs/fess/app/web/admin/fileauth/AdminFileauthAction.java

        /** Service for file authentication operations. */
        @Resource
        private FileAuthenticationService fileAuthenticationService;
    
        /** Pager for file authentication list pagination. */
        @Resource
        private FileAuthPager fileAuthenticationPager;
    
        /** Service for file configuration operations. */
        @Resource
        protected FileConfigService fileConfigService;
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Nov 20 13:56:35 GMT 2025
    - 18.7K bytes
    - Click Count (0)
Back to Top