Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1221 - 1230 of 3,549 for getZ (0.02 sec)

  1. tests/test_tutorial/test_dependencies/test_tutorial010.py

    def test_get_db():
        app = FastAPI()
    
        @app.get("/")
        def read_root(c: Annotated[Any, Depends(get_db)]):
            return {"c": str(c)}
    
        client = TestClient(app)
    
        dbsession_mock = Mock()
    
        with patch(
            "docs_src.dependencies.tutorial010_py39.DBSession",
            return_value=dbsession_mock,
            create=True,
        ):
            response = client.get("/")
    
        assert response.status_code == 200
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Fri Dec 26 10:43:02 UTC 2025
    - 688 bytes
    - Viewed (0)
  2. src/main/java/jcifs/internal/smb2/nego/PreauthIntegrityNegotiateContext.java

         */
        public PreauthIntegrityNegotiateContext() {
        }
    
        /**
         * Gets the salt value used for preauth integrity.
         *
         * @return the salt
         */
        public byte[] getSalt() {
            return this.salt;
        }
    
        /**
         * Gets the supported hash algorithms for preauth integrity.
         *
         * @return the hashAlgos
         */
        public int[] getHashAlgos() {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 4.4K bytes
    - Viewed (0)
  3. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/ModelCacheTag.java

     */
    @Deprecated(since = "4.0.0")
    interface ModelCacheTag<T> {
    
        /**
         * Gets the name of the tag.
         *
         * @return The name of the tag, must not be {@code null}.
         */
        String getName();
    
        /**
         * Gets the type of data associated with this tag.
         *
         * @return The type of data, must not be {@code null}.
         */
        Class<T> getType();
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Feb 25 08:27:34 UTC 2025
    - 3.9K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/primitives/ImmutableLongArrayTest.java

        assertThat(iia.get(0)).isEqualTo(0L);
        assertThat(iia.get(2)).isEqualTo(3L);
        assertThat(iia.subArray(1, 3).get(1)).isEqualTo(3L);
      }
    
      public void testGet_bad() {
        ImmutableLongArray iia = ImmutableLongArray.of(0, 1, 3);
        assertThrows(IndexOutOfBoundsException.class, () -> iia.get(-1));
        assertThrows(IndexOutOfBoundsException.class, () -> iia.get(3));
    
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Fri Dec 12 14:49:24 UTC 2025
    - 20.9K bytes
    - Viewed (0)
  5. okhttp/src/jvmTest/kotlin/okhttp3/PublicInternalApiTest.kt

    class PublicInternalApiTest {
      @Test
      fun permitsRequestBody() {
        assertTrue(permitsRequestBody("POST"))
        assertFalse(permitsRequestBody("GET"))
      }
    
      @Test
      fun requiresRequestBody() {
        assertTrue(requiresRequestBody("PUT"))
        assertFalse(requiresRequestBody("GET"))
      }
    
      @Test
      fun hasBody() {
        val request = Request.Builder().url("http://example.com").build()
        val response =
          Response
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 1.5K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/crawler/FessCrawlerThread.java

         *
         * @param url the URL to get a client for
         * @return the crawler client instance to use for the URL
         */
        @Override
        protected CrawlerClient getClient(final String url) {
            final CrawlingConfigHelper crawlingConfigHelper = ComponentUtil.getCrawlingConfigHelper();
            final CrawlingConfig crawlingConfig = crawlingConfigHelper.get(crawlerContext.getSessionId());
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Dec 11 09:47:03 UTC 2025
    - 19.5K bytes
    - Viewed (0)
  7. docs/pt/docs/tutorial/first-steps.md

    {* ../../docs_src/first_steps/tutorial001_py39.py hl[6] *}
    
    O `@app.get("/")` diz ao **FastAPI** que a função logo abaixo é responsável por tratar as requisições que vão para:
    
    * o path `/`
    * usando uma <abbr title="um método HTTP GET">operação <code>get</code></abbr>
    
    /// info | Informações sobre `@decorator`
    
    Essa sintaxe `@alguma_coisa` em Python é chamada de "decorador".
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 13.6K bytes
    - Viewed (0)
  8. docs/es/docs/tutorial/first-steps.md

    {* ../../docs_src/first_steps/tutorial001_py39.py hl[6] *}
    
    El `@app.get("/")` le dice a **FastAPI** que la función justo debajo se encarga de manejar requests que vayan a:
    
    * el path `/`
    * usando una <abbr title="un método HTTP GET"><code>get</code> operation</abbr>
    
    /// info | Información sobre `@decorator`
    
    Esa sintaxis `@algo` en Python se llama un "decorador".
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 13.3K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/util/concurrent/Uninterruptibles.java

          while (true) {
            try {
              return future.get();
            } catch (InterruptedException e) {
              interrupted = true;
            }
          }
        } finally {
          if (interrupted) {
            Thread.currentThread().interrupt();
          }
        }
      }
    
      /**
       * Invokes {@code future.}{@link Future#get(long, TimeUnit) get(timeout, unit)} uninterruptibly.
       *
       * <p>Similar methods:
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 19.8K bytes
    - Viewed (0)
  10. docs_src/bigger_applications/app_py39/routers/items.py

        responses={404: {"description": "Not found"}},
    )
    
    
    fake_items_db = {"plumbus": {"name": "Plumbus"}, "gun": {"name": "Portal Gun"}}
    
    
    @router.get("/")
    async def read_items():
        return fake_items_db
    
    
    @router.get("/{item_id}")
    async def read_item(item_id: str):
        if item_id not in fake_items_db:
            raise HTTPException(status_code=404, detail="Item not found")
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 1011 bytes
    - Viewed (0)
Back to top