Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 321 - 330 of 501 for flat (0.07 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. guava/src/com/google/common/graph/GraphConstants.java

      static final int DEFAULT_NODE_COUNT = 10;
      static final int DEFAULT_EDGE_COUNT = DEFAULT_NODE_COUNT * EXPECTED_DEGREE;
    
      // Load factor and capacity for "inner" (i.e. per node/edge element) hash sets or maps
      static final float INNER_LOAD_FACTOR = 1.0f;
      static final int INNER_CAPACITY = 2; // ceiling(EXPECTED_DEGREE / INNER_LOAD_FACTOR)
    
      // Error messages
      static final String NODE_NOT_IN_GRAPH = "Node %s is not an element of this graph.";
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sat Jan 18 02:54:30 GMT 2025
    - 3.1K bytes
    - Click Count (0)
  2. tests/test_serialize_response_dataclass.py

    from typing import Optional
    
    from fastapi import FastAPI
    from fastapi.testclient import TestClient
    
    app = FastAPI()
    
    
    @dataclass
    class Item:
        name: str
        date: datetime
        price: Optional[float] = None
        owner_ids: Optional[list[int]] = None
    
    
    @app.get("/items/valid", response_model=Item)
    def get_valid():
        return {"name": "valid", "date": datetime(2021, 7, 26), "price": 1.0}
    
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 21:25:59 GMT 2025
    - 4.9K bytes
    - Click Count (0)
  3. tests/test_serialize_response_model.py

    from fastapi import FastAPI
    from pydantic import BaseModel, Field
    from starlette.testclient import TestClient
    
    app = FastAPI()
    
    
    class Item(BaseModel):
        name: str = Field(alias="aliased_name")
        price: Optional[float] = None
        owner_ids: Optional[list[int]] = None
    
    
    @app.get("/items/valid", response_model=Item)
    def get_valid():
        return Item(aliased_name="valid", price=1.0)
    
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 21:25:59 GMT 2025
    - 4.2K bytes
    - Click Count (0)
  4. docs/en/docs/tutorial/path-params.md

          "input": "foo"
        }
      ]
    }
    ```
    
    because the path parameter `item_id` had a value of `"foo"`, which is not an `int`.
    
    The same error would appear if you provided a `float` instead of an `int`, as in: <a href="http://127.0.0.1:8000/items/4.2" class="external-link" target="_blank">http://127.0.0.1:8000/items/4.2</a>
    
    /// check
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 9.2K bytes
    - Click Count (0)
  5. docs/es/docs/tutorial/path-params.md

          "input": "foo"
        }
      ]
    }
    ```
    
    porque el parámetro de path `item_id` tenía un valor de `"foo"`, que no es un `int`.
    
    El mismo error aparecería si proporcionaras un `float` en lugar de un `int`, como en: <a href="http://127.0.0.1:8000/items/4.2" class="external-link" target="_blank">http://127.0.0.1:8000/items/4.2</a>
    
    /// check | Revisa
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 9.8K bytes
    - Click Count (0)
  6. guava-testlib/src/com/google/common/testing/GcFinalization.java

     * finalization to happen. However, a call to {@code System.gc()} is specified to be no more than a
     * hint, so this technique may fail at the whim of the JDK implementation, for example if a user
     * specified the JVM flag {@code -XX:+DisableExplicitGC}. But in practice, it works very well for
     * ordinary tests.
     *
     * <p>Failure of the expected event to occur within an implementation-defined "reasonable" time
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Mar 17 20:26:29 GMT 2025
    - 11.5K bytes
    - Click Count (0)
  7. CHANGELOG/CHANGELOG-1.25.md

    - Kubeadm: perform additional dockershim cleanup. Treat all container runtimes as remote by using the flag "--container-runtime=remote", given dockershim was removed in 1.24 and given...
    Created: Fri Dec 26 09:05:12 GMT 2025
    - Last Modified: Mon May 06 09:23:20 GMT 2024
    - 419.1K bytes
    - Click Count (0)
  8. docs/zh/docs/index.md

    ```Python hl_lines="4  9-12  25-27"
    from typing import Union
    
    from fastapi import FastAPI
    from pydantic import BaseModel
    
    app = FastAPI()
    
    
    class Item(BaseModel):
        name: str
        price: float
        is_offer: Union[bool, None] = None
    
    
    @app.get("/")
    def read_root():
        return {"Hello": "World"}
    
    
    @app.get("/items/{item_id}")
    def read_item(item_id: int, q: Union[str, None] = None):
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Oct 11 17:48:49 GMT 2025
    - 18.2K bytes
    - Click Count (0)
  9. lib/fips140/v1.0.0-c2097c7c.zip

    _p224B } // p224Polynomial sets y2 to x³ - 3x + b, and returns y2. func p224Polynomial(y2, x *fiat.P224Element) *fiat.P224Element { y2.Square(x) y2.Mul(y2, x) threeX := new(fiat.P224Element).Add(x, x) threeX.Add(threeX, x) y2.Sub(y2, threeX) return y2.Add(y2, p224B()) } func p224CheckOnCurve(x, y *fiat.P224Element) error { // y² = x³ - 3x + b rhs := p224Polynomial(new(fiat.P224Element), x) lhs := new(fiat.P224Element).Square(y) if rhs.Equal(lhs) != 1 { return errors.New("P224 point not on curve")...
    Created: Tue Dec 30 11:13:12 GMT 2025
    - Last Modified: Thu Sep 25 19:53:19 GMT 2025
    - 642.7K bytes
    - Click Count (0)
  10. CHANGELOG/CHANGELOG-1.12.md

    ## Action Required
    
    - etcd2 as a backend is deprecated and support will be removed in Kubernetes 1.13.
    Created: Fri Dec 26 09:05:12 GMT 2025
    - Last Modified: Thu Feb 06 06:04:15 GMT 2020
    - 293.8K bytes
    - Click Count (0)
Back to Top