Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 2211 - 2220 of 2,522 for checkOn (0.2 seconds)

  1. docs/zh-hant/docs/tutorial/dependencies/index.md

    common_parameters(["common_parameters"])
    read_items["/items/"]
    read_users["/users/"]
    
    common_parameters --> read_items
    common_parameters --> read_users
    ```
    
    如此一來,你只需撰寫一次共用程式碼,**FastAPI** 會替你的各個「路徑操作」呼叫它。
    
    /// check | 檢查
    
    注意,你不必建立特殊的類別並把它傳到 **FastAPI** 去「註冊」或做類似的事。
    
    只要把它傳給 `Depends`,**FastAPI** 就知道該怎麼處理其餘的部分。
    
    ///
    
    ## 共用 `Annotated` 依賴 { #share-annotated-dependencies }
    
    在上面的範例中,可以看到有一點點的「重複程式碼」。
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:05:38 GMT 2026
    - 8.9K bytes
    - Click Count (0)
  2. docs/zh/docs/tutorial/security/simple-oauth2.md

    ///
    
    现在,即可使用表单字段 `username`,从(伪)数据库中获取用户数据。
    
    如果不存在指定用户,则返回错误消息,提示**用户名或密码错误**。
    
    本例使用 `HTTPException` 异常显示此错误:
    
    {* ../../docs_src/security/tutorial003_an_py310.py hl[3,79:81] *}
    
    ### 校验密码 { #check-the-password }
    
    至此,我们已经从数据库中获取了用户数据,但尚未校验密码。
    
    接下来,首先将数据放入 Pydantic 的 `UserInDB` 模型。
    
    注意:永远不要保存明文密码,本例暂时先使用(伪)哈希密码系统。
    
    如果密码不匹配,则返回与上面相同的错误。
    
    #### 密码哈希 { #password-hashing }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:06:37 GMT 2026
    - 9K bytes
    - Click Count (0)
  3. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/gcs/GcsClient.java

                    }
                    throw new ChildUrlsException(requestDataSet, this.getClass().getName() + "#getResponseData");
                }
                // check file size
                responseData.setContentLength(blob.getSize());
                checkMaxContentLength(responseData);
    
                responseData.setHttpStatusCode(Constants.OK_STATUS_CODE);
    Created: Sun Apr 12 03:50:13 GMT 2026
    - Last Modified: Thu Dec 11 08:38:29 GMT 2025
    - 17.5K bytes
    - Click Count (0)
  4. src/test/java/org/codelibs/fess/suggest/entity/SuggestItemTest.java

            assertEquals(75L, merged.getDocFreq()); // Sum of frequencies
            assertEquals(1.5f, merged.getUserBoost(), 0.001f); // Takes item2's boost
    
            // Check merged arrays contain both items' values
            assertTrue(merged.getTags().length >= 2);
            assertTrue(merged.getRoles().length >= 2);
            assertTrue(merged.getLanguages().length >= 2);
    Created: Fri Apr 17 09:08:13 GMT 2026
    - Last Modified: Mon Sep 01 13:33:03 GMT 2025
    - 16.7K bytes
    - Click Count (0)
  5. okhttp/src/jvmTest/kotlin/okhttp3/KotlinSourceModernTest.kt

        val certificatePinner: CertificatePinner = CertificatePinner.Builder().build()
        val certificates: List<Certificate> = listOf()
        certificatePinner.check("", listOf(certificate))
        certificatePinner.check("", arrayOf<Certificate>(certificate, certificate).toList())
        val pin: String = CertificatePinner.pin(certificate)
        val default: CertificatePinner = CertificatePinner.DEFAULT
      }
    
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Mar 10 21:47:20 GMT 2026
    - 49.7K bytes
    - Click Count (0)
  6. android/guava/src/com/google/common/collect/CompactHashSet.java

        return (delegate != null) ? delegate.toArray() : Arrays.copyOf(requireElements(), size);
      }
    
      @CanIgnoreReturnValue
      @Override
      @SuppressWarnings("nullness") // b/192354773 in our checker affects toArray declarations
      public <T extends @Nullable Object> T[] toArray(T[] a) {
        if (needsAllocArrays()) {
          if (a.length > 0) {
            a[0] = null;
          }
          return a;
        }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Jul 08 18:32:10 GMT 2025
    - 23.9K bytes
    - Click Count (0)
  7. src/main/java/jcifs/smb/SmbTreeConnection.java

                }
    
                if (request != null) {
                    request.setFullUNCPath(session.getTargetDomain(), session.getTargetHost(), rfullpath);
                }
    
                // for standalone DFS we could be checking for a referral here, too
                DfsReferralData dr = this.ctx.getDfs().resolve(this.ctx, loc.getServer(), loc.getShare(), loc.getUNCPath());
                if (dr != null) {
                    if (log.isDebugEnabled()) {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 30.4K bytes
    - Click Count (1)
  8. android/guava-tests/test/com/google/common/collect/TreeMultimapNaturalTest.java

      @GwtIncompatible // suite
      @AndroidIncompatible // test-suite builders
      public static Test suite() {
        TestSuite suite = new TestSuite();
        // TODO(lowasser): should we force TreeMultimap to be more thorough about checking nulls?
        suite.addTest(
            SortedSetMultimapTestSuiteBuilder.using(
                    new TestStringSetMultimapGenerator() {
                      @Override
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 22.5K bytes
    - Click Count (0)
  9. android/guava/src/com/google/common/base/Equivalence.java

              /*
               * We'll accept that as sufficient "proof" that either equivalence should be able to
               * handle either reference, so it's safe to circumvent compile-time type checking.
               */
              @SuppressWarnings("unchecked")
              Equivalence<Object> equivalence = (Equivalence<Object>) this.equivalence;
              return equivalence.equivalent(this.reference, that.reference);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Jul 10 01:47:55 GMT 2025
    - 14.5K bytes
    - Click Count (0)
  10. docs/zh/docs/_llm-test.md

    ////
    
    ## 选项卡与彩色提示框 { #tabs-and-colored-boxes }
    
    //// tab | 测试
    
    /// info | 信息
    Some text
    ///
    
    /// note | 注意
    Some text
    ///
    
    /// note | 技术细节
    Some text
    ///
    
    /// check | 检查
    Some text
    ///
    
    /// tip | 提示
    Some text
    ///
    
    /// warning | 警告
    Some text
    ///
    
    /// danger | 危险
    Some text
    ///
    
    ////
    
    //// tab | 信息
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:06:37 GMT 2026
    - 10.7K bytes
    - Click Count (0)
Back to Top