Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 521 - 530 of 740 for lookUp (0.04 seconds)

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

  1. docs/zh-hant/docs/tutorial/security/first-steps.md

    想像你有一個部署在某個網域的後端 API。
    
    還有一個前端在另一個網域,或同一網域的不同路徑(或是行動應用程式)。
    
    你希望前端能用使用者名稱與密碼向後端進行身分驗證。
    
    我們可以用 OAuth2 搭配 FastAPI 來實作。
    
    但不必通讀整份冗長規格只為了找出你需要的幾個重點。
    
    就用 FastAPI 提供的工具處理安全性。
    
    ## 看起來如何 { #how-it-looks }
    
    先直接跑範例看效果,再回頭理解其原理。
    
    ## 建立 `main.py` { #create-main-py }
    
    將範例複製到檔案 `main.py`:
    
    {* ../../docs_src/security/tutorial001_an_py310.py *}
    
    ## 執行 { #run-it }
    
    /// info
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:05:38 GMT 2026
    - 7.2K bytes
    - Click Count (0)
  2. docs/zh/docs/tutorial/security/first-steps.md

    而**前端**在另一个域名,或同一域名的不同路径(或在移动应用中)。
    
    你希望前端能通过**username** 和 **password** 与后端进行身份验证。
    
    我们可以用 **OAuth2** 在 **FastAPI** 中实现它。
    
    但为了节省你的时间,不必为获取少量信息而通读冗长的规范。
    
    我们直接使用 **FastAPI** 提供的安全工具。
    
    ## 效果预览 { #how-it-looks }
    
    先直接运行代码看看效果,之后再回过头理解其背后的原理。
    
    ## 创建 `main.py` { #create-main-py }
    
    把下面的示例代码复制到 `main.py`:
    
    {* ../../docs_src/security/tutorial001_an_py310.py *}
    
    ## 运行 { #run-it }
    
    /// info | 信息
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:06:37 GMT 2026
    - 7.5K bytes
    - Click Count (0)
  3. android/guava-tests/test/com/google/common/collect/ForwardingNavigableMapTest.java

        public @Nullable Entry<K, V> firstEntry() {
          return standardFirstEntry();
        }
    
        /*
         * We can't override lastEntry to delegate to standardLastEntry, as it would create an infinite
         * loop. Instead, we test standardLastEntry manually below.
         */
    
        @Override
        public @Nullable Entry<K, V> pollFirstEntry() {
          return standardPollFirstEntry();
        }
    
        @Override
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Dec 16 03:23:31 GMT 2025
    - 9.7K bytes
    - Click Count (0)
  4. android/guava/src/com/google/common/hash/Fingerprint2011.java

       */
      private static long fullFingerprint(byte[] bytes, int offset, int length) {
        // For lengths over 64 bytes we hash the end first, and then as we
        // loop we keep 56 bytes of state: v, w, x, y, and z.
        long x = load64(bytes, offset);
        long y = load64(bytes, offset + length - 16) ^ K1;
        long z = load64(bytes, offset + length - 56) ^ K0;
        long[] v = new long[2];
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Aug 11 19:31:30 GMT 2025
    - 6.5K bytes
    - Click Count (0)
  5. guava-tests/benchmark/com/google/common/collect/MapBenchmark.java

          }
        };
    
        abstract Map<Element, Element> create(Collection<Element> contents);
      }
    
      @Param({"5", "50", "500", "5000", "50000"})
      private int size;
    
      // TODO: look at exact (==) hits vs. equals() hits?
      @Param("0.9")
      private double hitRate;
    
      @Param("true")
      private boolean isUserTypeFast;
    
      // "" means no fixed seed
      @Param("")
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue May 13 17:27:14 GMT 2025
    - 7.8K bytes
    - Click Count (0)
  6. internal/stmt_store/stmt_store.go

    	// Keys returns a slice of all cache keys in the store.
    	Keys() []string
    
    	// Get retrieves a Stmt object from the store based on the given key.
    	// Parameters:
    	//   key: The key used to look up the Stmt object.
    	// Returns:
    	//   *Stmt: The found Stmt object, or nil if not found.
    	//   bool: Indicates whether the corresponding Stmt object was successfully found.
    	Get(key string) (*Stmt, bool)
    
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Sat Mar 21 11:35:55 GMT 2026
    - 6.1K bytes
    - Click Count (0)
  7. cmd/xl-storage-free-version_test.go

    	newtierfi.TransitionStatus = ""
    	newtierfi.SetTierFreeVersionID(fvIDs[1])
    	report()
    	_, err = xl.DeleteVersion(newtierfi)
    	report()
    	fatalErr(err)
    
    	// At this point the version stack must look as below,
    	// v3 --> free version      00000000-0000-0000-0000-0000000000f2 (from removal of null version)
    	// v2 --> free version      00000000-0000-0000-0000-0000000000f1 (from overwriting of null version )
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sat Mar 02 05:11:03 GMT 2024
    - 7.8K bytes
    - Click Count (0)
  8. android/guava/src/com/google/common/graph/NetworkBuilder.java

        this.allowsParallelEdges = allowsParallelEdges;
        return this;
      }
    
      /**
       * Specifies whether the network will allow self-loops (edges that connect a node to itself).
       * Attempting to add a self-loop to a network that does not allow them will throw an {@link
       * UnsupportedOperationException}.
       *
       * <p>The default value is {@code false}.
       */
      @CanIgnoreReturnValue
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Apr 02 14:49:41 GMT 2026
    - 7.3K bytes
    - Click Count (0)
  9. src/test/java/jcifs/smb/SmbSessionImplTest.java

        }
    
        @Test
        @DisplayName("connection and failure status delegate to transport")
        void testConnectionAndFailureStatus() {
            SmbSessionImpl session = newSession();
    
            // Make session look connected via setSessionSetup
            Smb2SessionSetupResponse resp = mock(Smb2SessionSetupResponse.class);
            when(resp.getSessionId()).thenReturn(42L);
            session.setSessionSetup(resp);
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 12.5K bytes
    - Click Count (0)
  10. cmd/signature-v4-utils.go

    		return hex.EncodeToString(sum256[:])
    	}
    
    	var (
    		defaultSha256Cksum string
    		v                  []string
    		ok                 bool
    	)
    
    	// For a presigned request we look at the query param for sha256.
    	if isRequestPresignedSignatureV4(r) {
    		// X-Amz-Content-Sha256, if not set in presigned requests, checksum
    		// will default to 'UNSIGNED-PAYLOAD'.
    		defaultSha256Cksum = unsignedPayload
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Mon Nov 25 17:10:22 GMT 2024
    - 9.1K bytes
    - Click Count (0)
Back to Top