Search Options

Results per page
Sort
Preferred Languages
Advance

Results 111 - 120 of 359 for Depends (0.07 sec)

  1. src/test/java/jcifs/smb/Kerb5AuthenticatorTest.java

            assertEquals(d1, d2);
    
            // Different type -> false
            assertFalse(a.equals("not-an-auth"));
        }
    
        @Test
        @DisplayName("isAnonymous: depends on subject presence and super")
        void isAnonymous_behaviour() {
            Kerb5Authenticator anon = new Kerb5Authenticator((Subject) null);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.9K 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 Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  3. android/guava/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 Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 8K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb/JAASAuthenticatorTest.java

        void testGetSubjectLoginFailuresCacheAndRefresh(SubjectVariant variant) throws Exception {
            JAASAuthenticator auth = buildAuthenticator(variant);
    
            // First call attempts a JAAS login; behavior depends on JAAS configuration
            Subject first = auth.getSubject();
    
            // Second call should return cached value (same as first)
            Subject second = auth.getSubject();
            if (first == null && second == null) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 9.9K bytes
    - Viewed (0)
  5. docs/em/docs/tutorial/security/simple-oauth2.md

    👈 ℹ 🛠️ 🎯.
    
    Oauth2️⃣ 👫 🎻.
    
    ///
    
    ## 📟 🤚 `username` &amp; `password`
    
    🔜 ➡️ ⚙️ 🚙 🚚 **FastAPI** 🍵 👉.
    
    ### `OAuth2PasswordRequestForm`
    
    🥇, 🗄 `OAuth2PasswordRequestForm`, &amp; ⚙️ ⚫️ 🔗 ⏮️ `Depends` *➡ 🛠️* `/token`:
    
    {* ../../docs_src/security/tutorial003.py hl[4,76] *}
    
    `OAuth2PasswordRequestForm` 🎓 🔗 👈 📣 📨 💪 ⏮️:
    
    *  `username`.
    *  `password`.
    * 📦 `scope` 🏑 🦏 🎻, ✍ 🎻 🎏 🚀.
    * 📦 `grant_type`.
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/base/FinalizableReferenceQueueTest.java

    import org.junit.After;
    import org.junit.Test;
    import org.junit.runner.RunWith;
    import org.junit.runners.JUnit4;
    
    /**
     * Unit test for {@link FinalizableReferenceQueue}.
     *
     * @author Bob Lee
     */
    // - depends on details of GC and classloading
    // - .class files aren't available
    // - possibly no real concept of separate ClassLoaders?
    @AndroidIncompatible
    @GwtIncompatible
    @RunWith(JUnit4.class)
    @NullUnmarked
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 8.7K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/base/FinalizableReferenceQueueTest.java

    import org.junit.After;
    import org.junit.Test;
    import org.junit.runner.RunWith;
    import org.junit.runners.JUnit4;
    
    /**
     * Unit test for {@link FinalizableReferenceQueue}.
     *
     * @author Bob Lee
     */
    // - depends on details of GC and classloading
    // - .class files aren't available
    // - possibly no real concept of separate ClassLoaders?
    @AndroidIncompatible
    @GwtIncompatible
    @RunWith(JUnit4.class)
    @NullUnmarked
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 8.7K bytes
    - Viewed (0)
  8. api/maven-api-core/src/main/java/org/apache/maven/api/services/ProblemCollector.java

         */
        boolean problemsOverflow();
    
        /**
         * Reports a problem: always maintains the counters, but whether problem is preserved in memory, depends on
         * implementation and its configuration.
         *
         * @param problem the problem to report
         * @return {@code true} if passed problem is preserved by this call.
         */
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Jul 18 17:30:19 UTC 2025
    - 11.4K bytes
    - Viewed (0)
  9. guava/src/com/google/common/collect/Multimap.java

       * depending on the implementation. For example, two {@link SetMultimap} instances with the same
       * key-value mappings are equal, but equality of two {@link ListMultimap} instances depends on the
       * ordering of the values for each key.
       *
       * <p>A non-empty {@link SetMultimap} cannot be equal to a non-empty {@link ListMultimap}, since
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 15.7K bytes
    - Viewed (0)
  10. docs/ja/docs/tutorial/security/first-steps.md

    ///
    
    変数`oauth2_scheme`は`OAuth2PasswordBearer`のインスタンスですが、「呼び出し可能」です。
    
    次のように、呼ぶことができます:
    
    ```Python
    oauth2_scheme(some, parameters)
    ```
    
    そのため、`Depends`と一緒に使うことができます。
    
    ### 使い方
    
    これで`oauth2_scheme`を`Depends`で依存関係に渡すことができます。
    
    {* ../../docs_src/security/tutorial001.py hl[10] *}
    
    この依存関係は、*path operation function*のパラメーター`token`に代入される`str`を提供します。
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 10.4K bytes
    - Viewed (0)
Back to top