Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 141 - 150 of 457 for Counter (0.1 seconds)

  1. docs/es/docs/tutorial/bigger-applications.md

    Estamos importando el submódulo `items` directamente, en lugar de importar solo su variable `router`.
    
    Esto se debe a que también tenemos otra variable llamada `router` en el submódulo `users`.
    
    Si hubiéramos importado uno después del otro, como:
    
    ```Python
    from .routers.items import router
    from .routers.users import router
    ```
    
    el `router` de `users` sobrescribiría el de `items` y no podríamos usarlos al mismo tiempo.
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Tue Dec 16 16:33:45 GMT 2025
    - 19.6K bytes
    - Click Count (0)
  2. tests/test_custom_route_class.py

    
    @router_b.get("/")
    def get_b():
        return {"msg": "B"}
    
    
    @router_c.get("/")
    def get_c():
        return {"msg": "C"}
    
    
    router_b.include_router(router=router_c, prefix="/c")
    router_a.include_router(router=router_b, prefix="/b")
    app.include_router(router=router_a, prefix="/a")
    
    
    client = TestClient(app)
    
    
    @pytest.mark.parametrize(
        "path,expected_status,expected_response",
        [
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Fri Jun 30 18:25:16 GMT 2023
    - 3.1K bytes
    - Click Count (0)
  3. misc/cgo/gmp/gmp.go

    allocated by C.  The most important consideration is not to
    constrain future implementations, so the rule is that Go code can
    hand a Go pointer to C code but must separately arrange for
    Go to hang on to a reference to the pointer until C is done with it.
    */
    package gmp
    
    /*
    #cgo LDFLAGS: -lgmp
    #include <gmp.h>
    #include <stdlib.h>
    
    Created: Tue Dec 30 11:13:12 GMT 2025
    - Last Modified: Mon Apr 11 16:34:30 GMT 2022
    - 9.5K bytes
    - Click Count (0)
  4. android/guava/src/com/google/common/collect/ObjectCountHashMap.java

       *
       * <p>Currently, the UNSET value means "null pointer", and any non negative value x is the actual
       * index.
       *
       * <p>Its size must be a power of two.
       */
      private transient int[] table;
    
      /**
       * Contains the logical entries, in the range of [0, size()). The high 32 bits of each long is the
       * smeared hash of the element, whereas the low 32 bits is the "next" pointer (pointing to the
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sat Aug 09 01:14:59 GMT 2025
    - 14.5K bytes
    - Click Count (0)
  5. src/test/java/jcifs/pac/PacLogonInfoTest.java

        }
    
        @Test
        @DisplayName("Test PacUnicodeString check method with null pointer")
        void testPacUnicodeStringCheckWithNullPointer() throws Exception {
            // When pointer is 0, the string should be null
            PacUnicodeString unicodeString = new PacUnicodeString((short) 0, (short) 0, 0);
    
            // check() expects null when pointer is 0 but doesn't accept empty string
            assertThrows(PACDecodingException.class, () -> {
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 12.3K bytes
    - Click Count (0)
  6. docs/en/docs/advanced/sub-applications.md

    This sub-application is just another standard FastAPI application, but this is the one that will be "mounted":
    
    {* ../../docs_src/sub_applications/tutorial001_py39.py hl[11, 14:16] *}
    
    ### Mount the sub-application { #mount-the-sub-application }
    
    In your top-level application, `app`, mount the sub-application, `subapi`.
    
    In this case, it will be mounted at the path `/subapi`:
    
    {* ../../docs_src/sub_applications/tutorial001_py39.py hl[11, 19] *}
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 3K bytes
    - Click Count (0)
  7. docs/de/docs/advanced/wsgi.md

    Wrappen Sie dann die WSGI-Anwendung (z. B. Flask) mit der Middleware.
    
    Und dann mounten Sie das auf einem Pfad.
    
    {* ../../docs_src/wsgi/tutorial001_py39.py hl[2:3,3] *}
    
    ## Es testen { #check-it }
    
    Jetzt wird jeder <abbr title="Request – Anfrage: Daten, die der Client zum Server sendet">Request</abbr> unter dem Pfad `/v1/` von der Flask-Anwendung verarbeitet.
    
    Und der Rest wird von **FastAPI** gehandhabt.
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 1.4K bytes
    - Click Count (0)
  8. impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultLifecycleRegistry.java

            }
            phase.links().forEach(link -> {
                if (link.pointer().type() == Lifecycle.Pointer.Type.PROJECT) {
                    if (link.kind() == Lifecycle.Link.Kind.AFTER) {
                        graph.addEdge(graph.addVertex(link.pointer().phase()), ep0);
                    } else {
                        graph.addEdge(ep3, graph.addVertex(BEFORE + link.pointer().phase()));
                    }
                }
            });
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Mon Sep 29 14:45:25 GMT 2025
    - 20.1K bytes
    - Click Count (0)
  9. docs_src/bigger_applications/app_py39/internal/admin.py

    from fastapi import APIRouter
    
    router = APIRouter()
    
    
    @router.post("/")
    async def update_admin():
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 147 bytes
    - Click Count (0)
  10. docs/pt/docs/tutorial/bigger-applications.md

    Estamos importando o submódulo `items` diretamente, em vez de importar apenas sua variável `router`.
    
    Isso ocorre porque também temos outra variável chamada `router` no submódulo `users`.
    
    Se tivéssemos importado um após o outro, como:
    
    ```Python
    from .routers.items import router
    from .routers.users import router
    ```
    
    o `router` de `users` sobrescreveria o de `items` e não poderíamos usá-los ao mesmo tempo.
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Tue Dec 16 20:32:40 GMT 2025
    - 19.7K bytes
    - Click Count (0)
Back to Top