Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 681 - 690 of 1,311 for carl (0.02 seconds)

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

  1. docs/zh-hant/docs/tutorial/debugging.md

    # 偵錯 { #debugging }
    
    你可以在編輯器中連接偵錯器,例如 Visual Studio Code 或 PyCharm。
    
    ## 呼叫 `uvicorn` { #call-uvicorn }
    
    在你的 FastAPI 應用程式中,直接匯入並執行 `uvicorn`:
    
    {* ../../docs_src/debugging/tutorial001_py310.py hl[1,15] *}
    
    ### 關於 `__name__ == "__main__"` { #about-name-main }
    
    `__name__ == "__main__"` 的主要目的是,當你的檔案以以下方式呼叫時,執行某些程式碼:
    
    <div class="termy">
    
    ```console
    $ python myapp.py
    ```
    
    </div>
    
    但當其他檔案匯入它時不會執行,例如:
    
    ```Python
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:05:38 GMT 2026
    - 2.4K bytes
    - Click Count (0)
  2. docs/zh/docs/how-to/conditional-openapi.md

    接着,你可以通过把环境变量 `OPENAPI_URL` 设为空字符串来禁用 OpenAPI(包括文档 UI),例如:
    
    <div class="termy">
    
    ```console
    $ OPENAPI_URL= uvicorn main:app
    
    <span style="color: green;">INFO</span>:     Uvicorn running on http://127.0.0.1:8000 (Press CTRL+C to quit)
    ```
    
    </div>
    
    然后如果你访问 `/openapi.json`、`/docs` 或 `/redoc`,就会得到一个 `404 Not Found` 错误,例如:
    
    ```JSON
    {
        "detail": "Not Found"
    }
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:06:37 GMT 2026
    - 2.2K bytes
    - Click Count (0)
  3. buildscripts/rewrite-old-new.sh

    if [ ! -x "$PWD/minio" ]; then
    	echo "minio executable binary not found in current directory"
    	exit 1
    fi
    
    function download_old_release() {
    	if [ ! -f minio.RELEASE.2020-10-28T08-16-50Z ]; then
    		curl --silent -O https://dl.minio.io/server/minio/release/linux-amd64/archive/minio.RELEASE.2020-10-28T08-16-50Z
    		chmod a+x minio.RELEASE.2020-10-28T08-16-50Z
    	fi
    }
    
    function verify_rewrite() {
    	start_port=$1
    
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Mon May 27 19:17:46 GMT 2024
    - 3.4K bytes
    - Click Count (0)
  4. guava/src/com/google/common/cache/CacheBuilder.java

       * this still yields higher concurrency than full synchronization.
       *
       * <p>Defaults to 4. <b>Note:</b>The default may change in the future. If you care about this
       * value, you should always choose it explicitly.
       *
       * <p>The current implementation uses the concurrency level to create a fixed number of hashtable
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Feb 23 13:13:59 GMT 2026
    - 51.7K bytes
    - Click Count (0)
  5. guava/src/com/google/common/collect/Sets.java

       * href="https://docs.oracle.com/javase/tutorial/java/generics/genTypeInference.html#type-inference-instantiation">"diamond"
       * syntax</a>.
       */
      @SuppressWarnings("NonApiType") // acts as a direct substitute for a constructor call
      public static <E extends @Nullable Object> HashSet<E> newHashSet() {
        return new HashSet<>();
      }
    
      /**
       * Creates a <i>mutable</i> {@code HashSet} instance initially containing the given elements.
       *
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Feb 23 19:19:10 GMT 2026
    - 83K bytes
    - Click Count (0)
  6. android/guava/src/com/google/common/collect/HashBiMap.java

      private final class KeySet extends View<K, V, K> {
        KeySet() {
          super(HashBiMap.this);
        }
    
        @Override
        @ParametricNullness
        K forEntry(int entry) {
          // The cast is safe because we call forEntry only for indexes that contain entries.
          return uncheckedCastNullableTToT(keys[entry]);
        }
    
        @Override
        public boolean contains(@Nullable Object o) {
          return HashBiMap.this.containsKey(o);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Mar 08 16:16:42 GMT 2026
    - 37K bytes
    - Click Count (0)
  7. okhttp-testing-support/src/main/kotlin/okhttp3/internal/duplex/MockSocketHandler.kt

        }
      }
    
      /** Returns once all stream actions complete successfully. */
      fun awaitSuccess() {
        val futureTask =
          results.poll(5, TimeUnit.SECONDS)
            ?: throw AssertionError("no onRequest call received")
        futureTask.get(5, TimeUnit.SECONDS)
      }
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Thu Jul 31 04:18:40 GMT 2025
    - 3.3K bytes
    - Click Count (0)
  8. android/guava-testlib/src/com/google/common/util/concurrent/testing/MockFutureListener.java

        // Verify that the listener executed in a reasonable amount of time.
        Assert.assertTrue(countDownLatch.await(1L, SECONDS));
    
        try {
          future.get();
          Assert.fail("This call was supposed to throw an ExecutionException");
        } catch (ExecutionException expected) {
          Assert.assertSame(expectedCause, expected.getCause());
        }
      }
    
      public void assertTimeout() throws Exception {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri May 12 18:12:42 GMT 2023
    - 3K bytes
    - Click Count (0)
  9. android/guava-testlib/src/com/google/common/collect/testing/testers/SetHashCodeTester.java

                + "a null element counting as having a hash of zero).",
            expectedHashCode,
            getSet().hashCode());
      }
    
      /**
       * Returns the {@link Method} instances for the test methods in this class which call {@code
       * hashCode()} on the set values so that set tests on unhashable objects can suppress it with
       * {@code FeatureSpecificTestSuiteBuilder.suppressing()}.
       */
      @J2ktIncompatible
      @GwtIncompatible // reflection
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Aug 11 19:31:30 GMT 2025
    - 3.1K bytes
    - Click Count (0)
  10. docs/de/docs/tutorial/debugging.md

    # Debugging { #debugging }
    
    Sie können den Debugger in Ihrem Editor verbinden, zum Beispiel mit Visual Studio Code oder PyCharm.
    
    ## `uvicorn` aufrufen { #call-uvicorn }
    
    Importieren und führen Sie `uvicorn` direkt in Ihrer FastAPI-Anwendung aus:
    
    {* ../../docs_src/debugging/tutorial001_py310.py hl[1,15] *}
    
    ### Über `__name__ == "__main__"` { #about-name-main }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 17:58:09 GMT 2026
    - 2.7K bytes
    - Click Count (0)
Back to Top