Search Options

Results per page
Sort
Preferred Languages
Advance

Results 141 - 150 of 822 for 3000 (0.02 sec)

  1. docs_src/path_params_numeric_validations/tutorial005_an_py39.py

    from typing import Annotated
    
    from fastapi import FastAPI, Path
    
    app = FastAPI()
    
    
    @app.get("/items/{item_id}")
    async def read_items(
        item_id: Annotated[int, Path(title="The ID of the item to get", gt=0, le=1000)],
        q: str,
    ):
        results = {"item_id": item_id}
        if q:
            results.update({"q": q})
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Mar 18 12:29:59 UTC 2023
    - 331 bytes
    - Viewed (0)
  2. cmd/local-locker_test.go

    	"fmt"
    	"math/rand"
    	"testing"
    	"time"
    
    	"github.com/google/uuid"
    	"github.com/minio/minio/internal/dsync"
    )
    
    func TestLocalLockerExpire(t *testing.T) {
    	wResources := make([]string, 1000)
    	rResources := make([]string, 1000)
    	quorum := 0
    	l := newLocker()
    	ctx := t.Context()
    	for i := range wResources {
    		arg := dsync.LockArgs{
    			UID:       mustGetUUID(),
    			Resources: []string{mustGetUUID()},
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 11.8K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/app/web/admin/dataconfig/CreateForm.java

        /** Configuration name for identifying this data source */
        @Required
        @Size(max = 200)
        public String name;
    
        /** Optional description of this data configuration */
        @Size(max = 1000)
        public String description;
    
        /** Handler class name for processing this data source */
        @Required
        @CustomSize(maxKey = "form.admin.max.input.size")
        public String handlerName;
    
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 3.5K bytes
    - Viewed (0)
  4. src/main/webapp/WEB-INF/view/common/help.jsp

    		Queries can be inclusive or exclusive of the upper and lower bounds.
    		If you want to find documents whose content_length fields have values
    		between 1000 and 10000, inclusive, you can enter:
    		<pre>content_length:[1000 TO 10000]</pre>
    		If you want to exclude the upper and lower bounds, use "{}".
    	</dd>
    	<dt>Boost</dt>
    	<dd>
    		To boost a term use the "^" symbol with a boost factor (a number) at
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Mon Feb 26 14:01:31 UTC 2018
    - 2.4K bytes
    - Viewed (0)
  5. docs/en/docs/tutorial/debugging.md

    ```
    
    </div>
    
    then the internal variable `__name__` in your file, created automatically by Python, will have as value the string `"__main__"`.
    
    So, the section:
    
    ```Python
        uvicorn.run(app, host="0.0.0.0", port=8000)
    ```
    
    will run.
    
    ---
    
    This won't happen if you import that module (file).
    
    So, if you have another file `importer.py` with:
    
    ```Python
    from myapp import app
    
    # Some more code
    ```
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  6. docs_src/path_params_numeric_validations/tutorial005_py39.py

    from fastapi import FastAPI, Path
    
    app = FastAPI()
    
    
    @app.get("/items/{item_id}")
    async def read_items(
        *,
        item_id: int = Path(title="The ID of the item to get", gt=0, le=1000),
        q: str,
    ):
        results = {"item_id": item_id}
        if q:
            results.update({"q": q})
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 298 bytes
    - Viewed (0)
  7. docs_src/path_params_numeric_validations/tutorial006_py39.py

    from fastapi import FastAPI, Path, Query
    
    app = FastAPI()
    
    
    @app.get("/items/{item_id}")
    async def read_items(
        *,
        item_id: int = Path(title="The ID of the item to get", ge=0, le=1000),
        q: str,
        size: float = Query(gt=0, lt=10.5),
    ):
        results = {"item_id": item_id}
        if q:
            results.update({"q": q})
        if size:
            results.update({"size": size})
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 397 bytes
    - Viewed (0)
  8. docs/zh/docs/tutorial/debugging.md

    所以,下面这部分代码才会运行:
    
    ```Python
        uvicorn.run(app, host="0.0.0.0", port=8000)
    ```
    
    ---
    
    如果你是导入这个模块(文件)就不会这样。
    
    因此,如果你的另一个文件 `importer.py` 像这样:
    
    ```Python
    from myapp import app
    
    # Some more code
    ```
    
    在这种情况下,`myapp.py` 内部的自动变量不会有值为 `"__main__"` 的变量 `__name__`。
    
    所以,下面这一行不会被执行:
    
    ```Python
        uvicorn.run(app, host="0.0.0.0", port=8000)
    ```
    
    /// info
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  9. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/UpgradeResultTest.java

                // Performance assertion - should complete within reasonable time
                long duration = endTime - startTime;
                assertTrue(duration < 1000, "UpgradeResult creation should complete within 1 second for 1000 POMs");
    
                // Verify correctness
                assertTrue(result.success(), "Result should be successful");
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Sat Jun 07 06:22:47 UTC 2025
    - 9.4K bytes
    - Viewed (0)
  10. src/test/java/jcifs/util/transport/TransportTest.java

                assertTrue(transport.connect(1000));
            }
    
            @Test
            @DisplayName("connect should throw TransportException on connection failure")
            void shouldThrowOnConnectionFailure() {
                transport.setState(0); // Not connected
                transport.setConnectFails(true);
                assertThrows(TransportException.class, () -> transport.connect(1000));
            }
    
            @Test
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.5K bytes
    - Viewed (0)
Back to top