Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for min (4.69 sec)

  1. doc/go_spec.html

    var s []string
    _ = min(s...)               // invalid: slice arguments are not permitted
    t := max("", "foo", "bar")  // t == "foo" (string kind)
    </pre>
    
    <p>
    For numeric arguments, assuming all NaNs are equal, <code>min</code> and <code>max</code> are
    commutative and associative:
    </p>
    
    <pre>
    min(x, y)    == min(y, x)
    min(x, y, z) == min(min(x, y), z) == min(x, min(y, z))
    </pre>
    
    HTML
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Thu May 02 22:43:51 GMT 2024
    - 279.6K bytes
    - Viewed (0)
  2. docs/en/docs/release-notes.md

    app = FastAPI()
    
    
    @app.get("/items/{item_id}")
    def main(
        item_id: int = Path(default=..., gt=0),
        query: str = Query(default=..., max_length=10),
        session: str = Cookie(default=..., min_length=3),
        x_trace: str = Header(default=..., title="Tracing header"),
    ):
        return {"message": "Hello World"}
    ```
    
    ...all these parameters are required because the default value is `...` (Ellipsis).
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri May 03 23:25:42 GMT 2024
    - 388.1K bytes
    - Viewed (1)
Back to top