Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 911 - 920 of 1,777 for check (0.13 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. docs/zh-hant/docs/tutorial/security/get-current-user.md

    注意我們把 `current_user` 的型別宣告為 Pydantic 的 `User` 模型。
    
    這能在函式內提供自動補全與型別檢查的協助。
    
    /// tip | 提示
    
    你可能記得,請求體也會用 Pydantic 模型宣告。
    
    這裡因為你使用了 `Depends`,**FastAPI** 不會混淆。
    
    ///
    
    /// check | 檢查
    
    這個依賴系統的設計讓我們可以有不同的依賴(不同的 "dependables"),都回傳 `User` 模型。
    
    我們不受限於只能有一個能回傳該類型資料的依賴。
    
    ///
    
    ## 其他模型 { #other-models }
    
    現在你可以在*路徑操作函式*中直接取得目前使用者,並在**依賴注入**層處理安全機制,使用 `Depends`。
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sat Feb 14 08:15:26 GMT 2026
    - 3.7K bytes
    - Click Count (0)
  2. okhttp/src/commonJvmAndroid/kotlin/okhttp3/WebSocket.kt

     * initiate a graceful shutdown (close code 1001) and `send()` will return `false`. No exception is
     * thrown and no [WebSocketListener.onFailure] callback is triggered, so callers should always check
     * the return value of `send()`.
     *
     * Use [queueSize] to monitor backpressure before sending. For large payloads, consider breaking
     * them into smaller messages or using HTTP requests instead.
     */
    interface WebSocket {
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Mar 10 21:45:14 GMT 2026
    - 6.1K bytes
    - Click Count (0)
  3. guava/src/com/google/common/collect/HashBiMap.java

        if (oldNodeForKey != null) {
          replaceNodeForKey(oldNodeForKey, newNode);
        } else {
          insertPlacingAtEndOfIterationOrder(newNode);
        }
    
        // TODO(cpovirk): Don't perform rehash check if we replaced an existing entry (as in `put`)?
        rehashIfNecessary();
        return keyOrNull(oldNodeForValue);
      }
    
      private void rehashIfNecessary() {
        @Nullable Node<K, V>[] oldKToV = hashTableKToV;
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Dec 26 20:08:09 GMT 2025
    - 25.7K bytes
    - Click Count (0)
  4. okhttp/src/commonJvmAndroid/kotlin/okhttp3/Cookie.kt

       *    value.
       */
      @get:JvmName("sameSite")
      val sameSite: String?,
    ) {
      /**
       * Returns true if this cookie should be included on a request to [url]. In addition to this
       * check callers should also confirm that this cookie has not expired.
       */
      fun matches(url: HttpUrl): Boolean {
        val domainMatch =
          if (hostOnly) {
            url.host == domain
          } else {
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Jan 27 09:00:39 GMT 2026
    - 23.1K bytes
    - Click Count (0)
  5. android/guava-testlib/src/com/google/common/collect/testing/MapTestSuiteBuilder.java

                  ?, ? extends OneSizeTestContainerGenerator<Map<K, V>, Entry<K, V>>>
              parentBuilder) {
        // TODO: Once invariant support is added, supply invariants to each of the
        // derived suites, to check that mutations to the derived collections are
        // reflected in the underlying map.
    
        List<TestSuite> derivedSuites = super.createDerivedSuites(parentBuilder);
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Sep 22 20:54:16 GMT 2025
    - 11K bytes
    - Click Count (0)
  6. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/InternalBwcGitPlugin.java

         * after the fact e.x. a merge done today can add commits dated with yesterday so the result will no longer be
         * deterministic.
         * <p>
         * We don't use merge commits, but for additional safety we check that no such commits exist in the time period
         * we are interested in.
         * <p>
         * Timestamps are at seconds resolution. rev-parse --before and --after are inclusive w.r.t the second
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 01 09:19:30 GMT 2021
    - 9.9K bytes
    - Click Count (0)
  7. android/guava/src/com/google/common/util/concurrent/TimeoutFuture.java

       * initial write to timer is never definitely visible to Fire.run since it is assigned after
       * SES.schedule is called. Therefore Fire.run has to check for null. However, it should be visible
       * if Fire.run is called by delegate.addListener since addListener is called after the assignment
       * to timer, and importantly this is the main situation in which we need to be able to see the
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 8K bytes
    - Click Count (0)
  8. okhttp/src/jvmTest/kotlin/okhttp3/RequestCommonTest.kt

        assertThat(request.tag<Any>()).isSameInstanceAs(objectTag)
        assertThat(request.tag(Any::class)).isSameInstanceAs(objectTag)
        assertThat(request.tag(String::class)).isSameInstanceAs(stringTag)
    
        // TODO check for Jvm or handle Long/long correctly
    //    assertThat(request.tag(Long::class)).isSameAs(longTag)
      }
    
      /** Confirm that we don't accidentally share the backing map between objects. */
      @Test
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Feb 03 22:17:59 GMT 2026
    - 11K bytes
    - Click Count (0)
  9. src/main/java/jcifs/smb1/smb1/AndXServerMessageBlock.java

             * that chained message. Before doing so we must increment
             * the batchLevel of the andx message in case it itself is an
             * andx message and needs to perform the same check as above.
             */
    
            andx.batchLevel = batchLevel + 1;
    
            dst[start + ANDX_COMMAND_OFFSET] = andxCommand;
            dst[start + ANDX_RESERVED_OFFSET] = (byte) 0x00;
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 10.9K bytes
    - Click Count (0)
  10. docs/multi-user/README.md

    	  "Resource": ["arn:aws:s3:::mybucket/${ldap:username}/*"]
    	}
      ]
    }
    ```
    
    #### Common information available in all requests
    
    - `aws:CurrentTime` - This can be used for conditions that check the date and time.
    - `aws:EpochTime` - This is the date in epoch or Unix time, for use with date/time conditions.
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Tue Aug 12 18:20:36 GMT 2025
    - 8.2K bytes
    - Click Count (0)
Back to Top