Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 791 - 800 of 3,011 for note (0.03 seconds)

  1. guava-tests/test/com/google/common/util/concurrent/RateLimiterTest.java

        assertTrue("Should acquire initial permit", rateLimiter.tryAcquire());
        assertFalse("Should not acquire additional permit", rateLimiter.tryAcquire());
        stopwatch.sleepMillis(5000);
        assertFalse(
            "Should not acquire additional permit even after sleeping", rateLimiter.tryAcquire());
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 17:47:10 GMT 2026
    - 22K bytes
    - Click Count (0)
  2. guava-tests/test/com/google/common/util/concurrent/AggregateFutureStateFallbackAtomicHelperTest.java

                    AggregateFutureStateFallbackAtomicHelperTest.class, method.getName()));
          }
        }
        return suite;
      }
    
      @Override
      public void runTest() throws Exception {
        /*
         * Note that we do not run this test under Android at the moment. For Android testing, see
         * AggregateFutureStateDefaultAtomicHelperTest.
         */
    
        // First, ensure that our classloaders are initializing the correct helper versions:
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 17:47:10 GMT 2026
    - 6.7K bytes
    - Click Count (0)
  3. compat/maven-model-builder/src/main/java/org/apache/maven/model/interpolation/AbstractStringBasedModelInterpolator.java

            if (config.getValidationLevel() >= ModelBuildingRequest.VALIDATION_LEVEL_MAVEN_2_0) {
                modelValueSource2 = new ProblemDetectingValueSource(modelValueSource2, "", "project.", problems);
            }
    
            // NOTE: Order counts here!
            List<ValueSource> valueSources = new ArrayList<>(9);
    
            if (projectDir != null) {
                ValueSource basedirValueSource = new PrefixedValueSourceWrapper(
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Sat Apr 05 11:52:05 GMT 2025
    - 7.9K bytes
    - Click Count (0)
  4. docs/pt/docs/deployment/manually.md

    ```console
    $ uvicorn main:app --host 0.0.0.0 --port 80
    
    <span style="color: green;">INFO</span>:     Uvicorn running on http://0.0.0.0:80 (Press CTRL+C to quit)
    ```
    
    </div>
    
    /// note | Nota
    
    O comando `uvicorn main:app` refere-se a:
    
    * `main`: o arquivo `main.py` (o "módulo" Python).
    * `app`: o objeto criado dentro de `main.py` com a linha `app = FastAPI()`.
    
    É equivalente a:
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:20:43 GMT 2026
    - 7.1K bytes
    - Click Count (0)
  5. docs/zh/docs/tutorial/index.md

    第一个步骤是安装 FastAPI.
    
    请确保您创建并激活一个[虚拟环境](../virtual-environments.md),然后**安装 FastAPI**:
    
    <div class="termy">
    
    ```console
    $ pip install "fastapi[standard]"
    
    ---> 100%
    ```
    
    </div>
    
    /// note | 注意
    
    当您使用 `pip install "fastapi[standard]"` 安装时,它会附带一些默认的可选标准依赖项,其中包括 `fastapi-cloud-cli`,它可以让您部署到 [FastAPI Cloud](https://fastapicloud.com)。
    
    如果您不想安装这些可选依赖,可以选择安装 `pip install fastapi`。
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:06:37 GMT 2026
    - 5.2K bytes
    - Click Count (0)
  6. docs/zh-hant/docs/advanced/stream-data.md

    ### 模擬檔案 { #simulate-a-file }
    
    此範例中我們用 `io.BytesIO` 模擬檔案。它是只存在於記憶體中的類檔案物件,但提供相同的介面。
    
    例如,我們可以像讀取一般檔案一樣,透過迭代來消耗其內容。
    
    {* ../../docs_src/stream_data/tutorial002_py310.py ln[1:27] hl[3,12:13,25] *}
    
    /// note | 技術細節
    
    另外兩個變數 `image_base64` 與 `binary_image`,分別是先將影像以 Base64 編碼,接著轉成位元組,最後再傳給 `io.BytesIO`。
    
    這只是為了讓範例能放在同一個檔案中,方便你直接複製並執行。 🥚
    
    ///
    
    使用 `with` 區塊可確保在產生器函式(包含 `yield` 的函式)完成後關閉該類檔案物件,也就是在送完回應之後。
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:33:04 GMT 2026
    - 4.9K bytes
    - Click Count (0)
  7. docs/ko/docs/deployment/manually.md

    <div class="termy">
    
    ```console
    $ uvicorn main:app --host 0.0.0.0 --port 80
    
    <span style="color: green;">INFO</span>:     Uvicorn running on http://0.0.0.0:80 (Press CTRL+C to quit)
    ```
    
    </div>
    
    /// note | 참고
    
    `uvicorn main:app` 명령은 다음을 가리킵니다:
    
    * `main`: 파일 `main.py`(Python "module").
    * `app`: `main.py` 안에서 `app = FastAPI()` 라인으로 생성된 객체.
    
    이는 다음과 동일합니다:
    
    ```Python
    from main import app
    ```
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:06:26 GMT 2026
    - 7.4K bytes
    - Click Count (0)
  8. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/publicsuffix/PublicSuffixDatabase.kt

          if (rule != null) {
            exactMatch = rule
            break
          }
        }
    
        // In theory, wildcard rules are not restricted to having the wildcard in the leftmost position.
        // In practice, wildcards are always in the leftmost position. For now, this implementation
        // cheats and does not attempt every possible permutation. Instead, it only considers wildcards
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Mon Jul 28 07:33:49 GMT 2025
    - 8.5K bytes
    - Click Count (0)
  9. android/guava/src/com/google/common/io/LittleEndianDataInputStream.java

    import java.io.InputStream;
    
    /**
     * An implementation of {@link DataInput} that uses little-endian byte ordering for reading {@code
     * short}, {@code int}, {@code float}, {@code double}, and {@code long} values.
     *
     * <p><b>Note:</b> This class intentionally violates the specification of its supertype {@code
     * DataInput}, which explicitly requires big-endian byte order.
     *
     * @author Chris Nokleberg
     * @author Keith Bottner
     * @since 8.0
     */
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Feb 12 03:49:18 GMT 2025
    - 7.3K bytes
    - Click Count (0)
  10. docs/zh-hant/docs/tutorial/security/oauth2-jwt.md

    當以不存在於資料庫的使用者名稱呼叫 `authenticate_user` 時,我們仍然會拿一個假的雜湊去跑一次 `verify_password`。
    
    這可確保無論使用者名稱是否有效,端點的回應時間都大致相同,避免可用來枚舉既有使用者名稱的「計時攻擊」(timing attacks)。
    
    /// note | 注意
    
    如果你查看新的(假)資料庫 `fake_users_db`,你會看到雜湊後的密碼現在長這樣:`"$argon2id$v=19$m=65536,t=3,p=4$wagCPXjifgvUFBzq4hqe3w$CYaIb8sB+wtD+Vu/P4uod1+Qof8h+1g7bbDlBID48Rc"`。
    
    ///
    
    ## 處理 JWT 權杖 { #handle-jwt-tokens }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:05:38 GMT 2026
    - 10.1K bytes
    - Click Count (0)
Back to Top