Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1711 - 1720 of 2,878 for int3 (0.02 sec)

  1. docs_src/schema_extra_example/tutorial001_py310.py

                        "price": 35.4,
                        "tax": 3.2,
                    }
                ]
            }
        }
    
    
    @app.put("/items/{item_id}")
    async def update_item(item_id: int, item: Item):
        results = {"item_id": item_id, "item": item}
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Jul 07 17:12:13 UTC 2023
    - 646 bytes
    - Viewed (0)
  2. docs/fr/docs/python-types.md

    C'est le même fonctionnement pour déclarer un `tuple` ou un `set` :
    
    {*../../docs_src/python_types/tutorial007.py hl[1,4] *}
    
    Dans cet exemple :
    
    * La variable `items_t` est un `tuple` avec 3 éléments, un `int`, un deuxième `int`, et un `str`.
    * La variable `items_s` est un `set`, et chacun de ses éléments est de type `bytes`.
    
    #### `Dict`
    
    Pour définir un `dict`, il faut lui passer 2 paramètres, séparés par une virgule (`,`).
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 27 15:21:34 UTC 2024
    - 10K bytes
    - Viewed (0)
  3. docs/zh/docs/tutorial/body-nested-models.md

    ## 任意 `dict` 构成的请求体
    
    你也可以将请求体声明为使用某类型的键和其他类型值的 `dict`。
    
    无需事先知道有效的字段/属性(在使用 Pydantic 模型的场景)名称是什么。
    
    如果你想接收一些尚且未知的键,这将很有用。
    
    ---
    
    其他有用的场景是当你想要接收其他类型的键时,例如 `int`。
    
    这也是我们在接下来将看到的。
    
    在下面的例子中,你将接受任意键为 `int` 类型并且值为 `float` 类型的 `dict`:
    
    //// tab | Python 3.9+
    
    ```Python hl_lines="7"
    {!> ../../docs_src/body_nested_models/tutorial009_py39.py!}
    ```
    
    ////
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  4. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/smb1/SmbClient.java

                }
            }
    
            LogStream.setInstance(new PrintStream(new OutputStream() {
                private static final int MAX_LEN = 1000;
    
                private final ByteArrayOutputStream buf = new ByteArrayOutputStream(MAX_LEN);
    
                @Override
                public void write(final int b) throws IOException {
                    if (b == '\n' || b == '\r' || buf.size() >= MAX_LEN) {
                        try {
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:47:32 UTC 2024
    - 18.9K bytes
    - Viewed (0)
  5. guava-testlib/src/com/google/common/collect/testing/google/TestBiMapGenerator.java

    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    public interface TestBiMapGenerator<K extends @Nullable Object, V extends @Nullable Object>
        extends TestContainerGenerator<BiMap<K, V>, Entry<K, V>> {
      K[] createKeyArray(int length);
    
      V[] createValueArray(int length);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Feb 21 16:49:06 UTC 2024
    - 1.2K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb1/dcerpc/ndr/NdrLong.java

     * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
     */
    
    package jcifs.smb1.dcerpc.ndr;
    
    public class NdrLong extends NdrObject {
    
        public int value;
    
        public NdrLong(int value) {
            this.value = value;
        }
    
        public void encode(NdrBuffer dst) throws NdrException {
            dst.enc_ndr_long(value);
        }
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 20:39:42 UTC 2019
    - 1.3K bytes
    - Viewed (0)
  7. docs_src/dependency_testing/tutorial001_an_py39.py

    from typing import Annotated, Union
    
    from fastapi import Depends, FastAPI
    from fastapi.testclient import TestClient
    
    app = FastAPI()
    
    
    async def common_parameters(
        q: Union[str, None] = None, skip: int = 0, limit: int = 100
    ):
        return {"q": q, "skip": skip, "limit": limit}
    
    
    @app.get("/items/")
    async def read_items(commons: Annotated[dict, Depends(common_parameters)]):
        return {"message": "Hello Items!", "params": commons}
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Mar 18 12:29:59 UTC 2023
    - 1.5K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/app/web/search/SearchAction.java

                });
                return redirectToRoot();
            }
        }
    
        protected HtmlResponse doMove(final SearchForm form, final int move) {
            int start = fessConfig.getPagingSearchPageStartAsInteger();
            if (form.pn != null) {
                int pageNumber = form.pn;
                if (pageNumber > 0) {
                    pageNumber = pageNumber + move;
                    if (pageNumber < 1) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 12.3K bytes
    - Viewed (0)
  9. okhttp/src/test/java/okhttp3/internal/idn/IdnaMappingTableTest.kt

            assertThat(codePoint and 0x7f).isEqualTo(codePoint)
          }
        }
    
        // Confirm the sections are increasing.
        val rangesIndices = mutableListOf<Int>()
        val rangesOffsets = mutableListOf<Int>()
        for (i in 0 until compactTable.sections.length step 4) {
          rangesIndices += compactTable.sections.read14BitInt(i)
          rangesOffsets += compactTable.sections.read14BitInt(i + 2)
        }
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  10. build-logic/binary-compatibility/src/main/kotlin/gradlebuild/binarycompatibility/sources/KotlinSourceQueries.kt

            "boolean" to "Boolean",
            "java.lang.Byte" to "Byte",
            "byte" to "Byte",
            "java.lang.Short" to "Short",
            "short" to "Short",
            "java.lang.Integer" to "Int",
            "int" to "Int",
            "java.lang.Long" to "Long",
            "long" to "Long",
            "java.lang.Float" to "Float",
            "float" to "Float",
            "java.lang.Double" to "Double",
            "double" to "Double"
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Thu Jul 04 08:05:22 UTC 2024
    - 11.2K bytes
    - Viewed (0)
Back to top