Search Options

Results per page
Sort
Preferred Languages
Advance

Results 271 - 280 of 585 for Depends (0.11 sec)

  1. api/maven-api-core/src/main/java/org/apache/maven/api/services/ProjectManager.java

        /**
         * Returns project's all artifacts as immutable collection. The list contains all artifacts, even the attached ones,
         * if any. Hence, the list returned by this method depends on which lifecycle step of the build was it invoked.
         * The head of returned list is result of {@link Project#getArtifacts()} method, so same applies here: the list can have
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Thu Oct 24 11:52:48 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  2. docs/ja/docs/tutorial/dependencies/sub-dependencies.md

    高度なシナリオでは、「キャッシュされた」値を使うのではなく、同じリクエストの各ステップ(おそらく複数回)で依存関係を呼び出す必要があることがわかっている場合、`Depens`を使用する際に、`use_cache=False`というパラメータを設定することができます。
    
    ```Python hl_lines="1"
    async def needy_dependency(fresh_value: str = Depends(get_value, use_cache=False)):
        return {"fresh_value": fresh_value}
    ```
    
    ## まとめ
    
    ここで使われている派手な言葉は別にして、**依存性注入** システムは非常にシンプルです。
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/math/IntMathTest.java

        if (expected != actual) {
          fail("Expected for " + a + " " + op + " " + b + " = " + expected + ", but got " + actual);
        }
      }
    
      // Depends on the correctness of BigIntegerMath.factorial.
      public void testFactorial() {
        for (int n = 0; n <= 50; n++) {
          BigInteger expectedBig = BigIntegerMath.factorial(n);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 23.1K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/math/IntMathTest.java

        if (expected != actual) {
          fail("Expected for " + a + " " + op + " " + b + " = " + expected + ", but got " + actual);
        }
      }
    
      // Depends on the correctness of BigIntegerMath.factorial.
      public void testFactorial() {
        for (int n = 0; n <= 50; n++) {
          BigInteger expectedBig = BigIntegerMath.factorial(n);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 23.1K bytes
    - Viewed (0)
  5. SECURITY.md

    available to TensorFlow is powerful enough that you should assume that the
    TensorFlow process effectively executes arbitrary code.
    
    The risk of loading untrusted checkpoints depends on the code or graph that you
    are working with. When loading untrusted checkpoints, the values of the traced
    variables from your model are also going to be untrusted. That means that if
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Wed Oct 16 16:10:43 UTC 2024
    - 9.6K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/CompactLinkedHashMap.java

     * remove) are supported. Null keys and values are supported.
     *
     * <p>{@code containsKey(k)}, {@code put(k, v)} and {@code remove(k)} are all (expected and
     * amortized) constant time operations. Expected in the hashtable sense (depends on the hash
     * function doing a good job of distributing the elements to the buckets to a distribution not far
     * from uniform), and amortized since some operations can trigger a hash table resize.
     *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Apr 01 16:15:01 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  7. docs/ja/docs/tutorial/security/first-steps.md

    ///
    
    変数`oauth2_scheme`は`OAuth2PasswordBearer`のインスタンスですが、「呼び出し可能」です。
    
    次のように、呼ぶことができます:
    
    ```Python
    oauth2_scheme(some, parameters)
    ```
    
    そのため、`Depends`と一緒に使うことができます。
    
    ### 使い方
    
    これで`oauth2_scheme`を`Depends`で依存関係に渡すことができます。
    
    ```Python hl_lines="10"
    {!../../docs_src/security/tutorial001.py!}
    ```
    
    この依存関係は、*path operation function*のパラメーター`token`に代入される`str`を提供します。
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 10.5K bytes
    - Viewed (0)
  8. guava/src/com/google/common/net/InternetDomainName.java

       * {@code co.uk}, {@code google.invalid}, or {@code blogspot.com}.
       *
       * <p>This method can be used to determine whether it will probably be possible to set cookies on
       * the domain, though even that depends on individual browsers' implementations of cookie
       * controls. See <a href="http://www.ietf.org/rfc/rfc2109.txt">RFC 2109</a> for details.
       *
       * @since 6.0
       */
      public boolean isUnderPublicSuffix() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Feb 05 20:47:23 UTC 2024
    - 28K bytes
    - Viewed (0)
  9. api/maven-api-core/src/main/java/org/apache/maven/api/Project.java

         * (never less than 1, never more than 2), depending on project packaging.
         * <p>
         * The list's first element is ALWAYS the project POM artifact. Presence of second element in the list depends
         * solely on the project packaging.
         *
         * @see #getPackaging()
         * @see #getPomArtifact()
         * @see #getMainArtifact()
         * @see org.apache.maven.api.services.ArtifactManager#getPath(Artifact)
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Sat Sep 28 09:03:24 UTC 2024
    - 7.8K bytes
    - Viewed (0)
  10. futures/listenablefuture1/src/com/google/common/util/concurrent/ListenableFuture.java

     * take advantage of the {@linkplain Futures utilities built atop the class}. The way that you will
     * create {@code ListenableFuture} instances depends on how you currently create {@code Future}
     * instances:
     *
     * <ul>
     *   <li>If you receive them from an {@code java.util.concurrent.ExecutorService}, convert that
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Jun 26 21:13:41 UTC 2023
    - 8K bytes
    - Viewed (0)
Back to top