Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 1,039 for 100 (0.01 sec)

  1. internal/bucket/lifecycle/filter_test.go

    func TestObjectSizeFilters(t *testing.T) {
    	f1 := Filter{
    		set: true,
    		Prefix: Prefix{
    			string: "doc/",
    			set:    true,
    			Unused: struct{}{},
    		},
    		ObjectSizeGreaterThan: 100 * humanize.MiByte,
    		ObjectSizeLessThan:    100 * humanize.GiByte,
    	}
    	b, err := xml.Marshal(f1)
    	if err != nil {
    		t.Fatalf("Failed to marshal %v", f1)
    	}
    	var f2 Filter
    	err = xml.Unmarshal(b, &f2)
    	if err != nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Feb 27 00:01:20 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  2. docs/zh/docs/deployment/versions.md

    你不应该固定`starlette`的版本。
    
    不同版本的 **FastAPI** 将使用特定的较新版本的 Starlette。
    
    因此,**FastAPI** 自己可以使用正确的 Starlette 版本。
    
    ## 关于 Pydantic
    
    Pydantic 包含针对 **FastAPI** 的测试及其自己的测试,因此 Pydantic 的新版本(`1.0.0`以上)始终与 FastAPI 兼容。
    
    你可以将 Pydantic 固定到适合你的`1.0.0`以上和`2.0.0`以下的任何版本。
    
    例如:
    
    ````txt
    pydantic>=1.2.0,<2.0.0
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Aug 06 04:48:30 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  3. docs/en/docs/img/tutorial/bigger-applications/package.drawio

                        <mxGeometry x="140" y="430" width="360" height="100" as="geometry"/>
                    </mxCell>
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu May 12 00:06:16 UTC 2022
    - 6.1K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/hash/Crc32cHashFunctionTest.java

      }
    
      public void testZeros100() {
        // Test 100 byte array of 0x00.
        byte[] zeros = new byte[100];
        assertCrc(0x07cb9ff6, zeros);
      }
    
      public void testFull() {
        // Test 32 byte array of 0xFF.
        byte[] fulls = new byte[32];
        Arrays.fill(fulls, (byte) 0xFF);
        assertCrc(0x62a8ab43, fulls);
      }
    
      public void testFull100() {
        // Test 100 byte array of 0xFF.
        byte[] fulls = new byte[100];
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 23 14:22:54 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/app/web/api/admin/plugin/InstallBody.java

    import org.lastaflute.web.validation.Required;
    
    import jakarta.validation.constraints.Size;
    
    public class InstallBody {
        @Required
        @Size(max = 100)
        public String name;
    
        @Required
        @Size(max = 100)
        public String version;
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 918 bytes
    - Viewed (0)
  6. docs_src/dependency_testing/tutorial001_py310.py

    from fastapi import Depends, FastAPI
    from fastapi.testclient import TestClient
    
    app = FastAPI()
    
    
    async def common_parameters(q: str | None = None, skip: int = 0, limit: int = 100):
        return {"q": q, "skip": skip, "limit": limit}
    
    
    @app.get("/items/")
    async def read_items(commons: dict = Depends(common_parameters)):
        return {"message": "Hello Items!", "params": commons}
    
    
    @app.get("/users/")
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Mar 18 12:29:59 UTC 2023
    - 1.4K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/io/FileBackedOutputStreamAndroidIncompatibleTest.java

      public void testFinalizeDeletesFile() throws Exception {
        byte[] data = newPreFilledByteArray(100);
        FileBackedOutputStream out = new FileBackedOutputStream(0, true);
    
        write(out, data, 0, 100, true);
        final File file = out.getFile();
        assertEquals(100, file.length());
        assertTrue(file.exists());
        out.close();
    
        // Make sure that finalize deletes the file
        out = null;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Jun 08 21:20:23 UTC 2023
    - 1.7K bytes
    - Viewed (0)
  8. docs/ko/docs/deployment/versions.md

    서로다른 버전의 **FastAPI**가 구체적이고 새로운 버전의 Starlette을 사용할 것입니다.
    
    그러므로 **FastAPI**가 알맞은 Starlette 버전을 사용하도록 하십시오.
    
    ## Pydantic에 대해
    
    Pydantic은 **FastAPI** 를 위한 검사를 포함하고 있습니다. 따라서, 새로운 버전의 Pydantic(`1.0.0`이상)은 항상 FastAPI와 호환됩니다.
    
    작업을 하고 있는 `1.0.0` 이상의 모든 버전과 `2.0.0` 이하의 Pydantic 버전을 표시할 수 있습니다.
    
    예를 들어 다음과 같습니다:
    
    ```txt
    pydantic>=1.2.0,<2.0.0
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Aug 06 04:48:30 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  9. tests/test_tutorial/test_testing_dependencies/test_tutorial001_py310.py

        app.dependency_overrides = None
        response = client.get("/items/?q=foo&skip=100&limit=200")
        assert response.status_code == 200, response.text
        assert response.json() == {
            "message": "Hello Items!",
            "params": {"q": "foo", "skip": 100, "limit": 200},
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Mar 18 12:29:59 UTC 2023
    - 2K bytes
    - Viewed (1)
  10. internal/store/store_test.go

    				Name:      "01894394-d046-4783-ba0d-f1c6885790dc",
    				Compress:  true,
    				Extension: ".event",
    				ItemCount: 100,
    			},
    			expectedString: "100:01894394-d046-4783-ba0d-f1c6885790dc.event.snappy",
    		},
    		{
    			key: Key{
    				Name:      "01894394-d046-4783-ba0d-f1c6885790dc",
    				Extension: ".event",
    				ItemCount: 100,
    			},
    			expectedString: "100:01894394-d046-4783-ba0d-f1c6885790dc.event",
    		},
    		{
    			key: Key{
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Sep 06 23:06:30 UTC 2024
    - 4K bytes
    - Viewed (0)
Back to top