Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 2111 - 2120 of 2,445 for checks (0.08 seconds)

  1. android/guava/src/com/google/common/collect/TreeBasedTable.java

            throw new NoSuchElementException();
          }
          return ((SortedMap<C, V>) backingRowMap).lastKey();
        }
    
        transient @Nullable SortedMap<C, V> wholeRow;
    
        // If the row was previously empty, we check if there's a new row here every time we're queried.
        void updateWholeRowField() {
          if (wholeRow == null || (wholeRow.isEmpty() && backingMap.containsKey(rowKey))) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Jul 18 15:05:43 GMT 2025
    - 11.6K bytes
    - Click Count (0)
  2. src/main/java/jcifs/smb/Kerb5Authenticator.java

                throws SmbException {
            if (host.indexOf('.') < 0 && host.toUpperCase(Locale.ROOT).equals(host)) {
                // this is not too good, probably should better pass the address and check that it is a netbios one.
                // While we could look up the domain controller/KDC we cannot really make the java kerberos implementation
                // use a KDC of our choice.
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 13.2K bytes
    - Click Count (0)
  3. docs/ja/docs/tutorial/security/get-current-user.md

    その関数の中ですべての入力補完や型チェックを行う際に役に立ちます。
    
    /// tip | 豆知識
    
    リクエストボディはPydanticモデルでも宣言できることを覚えているかもしれません。
    
    ここでは `Depends` を使っているおかげで、 **FastAPI** が混乱することはありません。
    
    ///
    
    /// check | 確認
    
    依存関係システムがこのように設計されているおかげで、 `User` モデルを返却する別の依存関係(別の「dependables」)を持つことができます。
    
    同じデータ型を返却する依存関係は一つだけしか持てない、という制約が入ることはないのです。
    
    ///
    
    ## 別のモデル { #other-models }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Feb 13 15:24:30 GMT 2026
    - 5.7K bytes
    - Click Count (0)
  4. android/guava/src/com/google/common/cache/AbstractCache.java

       * possible with an unsafe cast which requires {@code keys} to actually be of type {@code K}.
       *
       * @since 11.0
       */
      /*
       * <? extends Object> is mostly the same as <?> to plain Java. But to nullness checkers, they
       * differ: <? extends Object> means "non-null types," while <?> means "all types."
       */
      @Override
      public ImmutableMap<K, V> getAllPresent(Iterable<? extends Object> keys) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue May 13 17:27:14 GMT 2025
    - 9.1K bytes
    - Click Count (0)
  5. android/guava/src/com/google/common/collect/RegularImmutableSortedSet.java

         * in O(n) time stepping through the two collections.
         */
        Iterator<E> thisIterator = iterator();
    
        Iterator<?> thatIterator = targets.iterator();
        // known nonempty since we checked targets.size() > 1
    
        if (!thisIterator.hasNext()) {
          return false;
        }
    
        Object target = thatIterator.next();
        E current = thisIterator.next();
        try {
          while (true) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Sep 22 21:07:18 GMT 2025
    - 8.8K bytes
    - Click Count (0)
  6. okhttp/src/commonJvmAndroid/kotlin/okhttp3/Request.kt

          apply {
            val identityBody =
              body
                ?: throw IllegalStateException("cannot gzip a request that has no body")
    
            val contentEncoding = headers["Content-Encoding"]
            check(contentEncoding == null) {
              "Content-Encoding already set: $contentEncoding"
            }
    
            headers.add("Content-Encoding", "gzip")
            body = GzipRequestBody(identityBody)
          }
    
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Thu Oct 30 13:46:58 GMT 2025
    - 14.7K bytes
    - Click Count (1)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to Top