Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 241 - 250 of 552 for _score (0.18 seconds)

  1. docs/zh-hant/docs/advanced/advanced-dependencies.md

    含有 `yield` 的相依隨著時間演進,以涵蓋不同的使用情境並修正一些問題。以下是變更摘要。
    
    ### 含有 `yield` 與 `scope` 的相依 { #dependencies-with-yield-and-scope }
    
    在 0.121.0 版中,FastAPI 為含有 `yield` 的相依加入了 `Depends(scope="function")` 的支援。
    
    使用 `Depends(scope="function")` 時,`yield` 之後的結束程式碼會在「路徑操作函式」執行完畢後立刻執行,在回應發送回客戶端之前。
    
    而當使用 `Depends(scope="request")`(預設值)時,`yield` 之後的結束程式碼會在回應送出之後才執行。
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:05:38 GMT 2026
    - 8.4K bytes
    - Click Count (0)
  2. docs/bigdata/README.md

    ```
    cat ${HADOOP_CONF_DIR}/core-site.xml | kv-pairify | grep "mapred"
    
    mapred.maxthreads.generate.mapoutput=2 # Num threads to write map outputs
    mapred.maxthreads.partition.closer=0 # Asynchronous map flushers
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Tue Aug 12 18:20:36 GMT 2025
    - 14.7K bytes
    - Click Count (0)
  3. benchmarks/src/main/java/org/elasticsearch/common/bytes/BytesArrayReadLongBenchmark.java

    import org.openjdk.jmh.annotations.Scope;
    import org.openjdk.jmh.annotations.Setup;
    import org.openjdk.jmh.annotations.State;
    import org.openjdk.jmh.annotations.Warmup;
    
    import java.io.IOException;
    import java.util.concurrent.TimeUnit;
    
    @Warmup(iterations = 5)
    @Measurement(iterations = 7)
    @BenchmarkMode(Mode.AverageTime)
    @OutputTimeUnit(TimeUnit.MILLISECONDS)
    @State(Scope.Thread)
    @Fork(value = 1)
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Mon Apr 12 20:25:06 GMT 2021
    - 2.3K bytes
    - Click Count (0)
  4. benchmarks/src/main/java/org/elasticsearch/common/bytes/PagedBytesReferenceReadLongBenchmark.java

    import org.openjdk.jmh.annotations.Scope;
    import org.openjdk.jmh.annotations.Setup;
    import org.openjdk.jmh.annotations.State;
    import org.openjdk.jmh.annotations.Warmup;
    
    import java.io.IOException;
    import java.util.concurrent.TimeUnit;
    
    @Warmup(iterations = 5)
    @Measurement(iterations = 7)
    @BenchmarkMode(Mode.AverageTime)
    @OutputTimeUnit(TimeUnit.MILLISECONDS)
    @State(Scope.Thread)
    @Fork(value = 1)
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Mon Apr 12 20:25:06 GMT 2021
    - 2.3K bytes
    - Click Count (0)
  5. .ci/scripts/run-gradle.sh

    mkdir -p ~/.gradle/init.d && cp -v $WORKSPACE/.ci/init.gradle ~/.gradle/init.d
    if [ "$(uname -m)" = "arm64" ] || [ "$(uname -m)" = "aarch64" ]; then
       MAX_WORKERS=16
    elif [ -f /proc/cpuinfo ]; then
       MAX_WORKERS=`grep '^cpu\scores' /proc/cpuinfo  | uniq | sed 's/\s\+//g' |  cut -d':' -f 2`
    else
       if [[ "$OSTYPE" == "darwin"* ]]; then
          MAX_WORKERS=`sysctl -n hw.physicalcpu | sed 's/\s\+//g'`
       else
          echo "Unsupported OS Type: $OSTYPE"
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Thu May 13 19:08:52 GMT 2021
    - 824 bytes
    - Click Count (0)
  6. compat/maven-compat/src/main/java/org/apache/maven/toolchain/ToolchainManagerPrivate.java

    import org.apache.maven.execution.MavenSession;
    
    /**
     * Component for use by the <code>maven-toolchains-plugin</code> only.
     * It provides API: <ol>
     * <li>to retrieve every toolchains available in user settings,</li>
     * <li>to store chosen toolchain into build context for later use by toolchain-aware plugins.</li>
     * </ol>
     *
     * @since 2.0.9
     * @see ToolchainManager#getToolchainFromBuildContext(String, MavenSession)
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Feb 12 13:13:28 GMT 2025
    - 2.2K bytes
    - Click Count (0)
  7. benchmarks/src/main/java/org/elasticsearch/benchmark/indices/breaker/MemoryStatsBenchmark.java

    import org.openjdk.jmh.annotations.Measurement;
    import org.openjdk.jmh.annotations.Mode;
    import org.openjdk.jmh.annotations.OutputTimeUnit;
    import org.openjdk.jmh.annotations.Param;
    import org.openjdk.jmh.annotations.Scope;
    import org.openjdk.jmh.annotations.State;
    import org.openjdk.jmh.annotations.Threads;
    import org.openjdk.jmh.annotations.Warmup;
    import org.openjdk.jmh.infra.Blackhole;
    
    import java.lang.management.ManagementFactory;
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Wed Feb 03 00:10:53 GMT 2021
    - 2.7K bytes
    - Click Count (0)
  8. docs/fr/docs/how-to/custom-request-and-route.md

    /// note | Détails techniques
    
    Un `Request` possède un attribut `request.scope`, qui n'est qu'un `dict` Python contenant les métadonnées liées à la requête.
    
    Un `Request` a également un `request.receive`, qui est une fonction pour « recevoir » le corps de la requête.
    
    Le `dict` `scope` et la fonction `receive` font tous deux partie de la spécification ASGI.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:37:13 GMT 2026
    - 5.1K bytes
    - Click Count (0)
  9. docs/es/docs/how-to/custom-request-and-route.md

    /// note | Detalles técnicos
    
    Un `Request` tiene un atributo `request.scope`, que es simplemente un `dict` de Python que contiene los metadatos relacionados con el request.
    
    Un `Request` también tiene un `request.receive`, que es una función para "recibir" el request body.
    
    El `dict` `scope` y la función `receive` son ambos parte de la especificación ASGI.
    
    Y esas dos cosas, `scope` y `receive`, son lo que se necesita para crear una nueva *Request instance*.
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:15:55 GMT 2026
    - 4.8K bytes
    - Click Count (0)
  10. docs/fr/docs/features.md

    Vous aurez rarement besoin de revenir aux documents.
    
    Voici comment votre éditeur peut vous aider :
    
    * dans [Visual Studio Code](https://code.visualstudio.com/) :
    
    ![editor support](https://fastapi.tiangolo.com/img/vscode-completion.png)
    
    * dans [PyCharm](https://www.jetbrains.com/pycharm/) :
    
    ![editor support](https://fastapi.tiangolo.com/img/pycharm-completion.png)
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:37:13 GMT 2026
    - 10.7K bytes
    - Click Count (0)
Back to Top