Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 851 - 860 of 1,866 for toen (0.02 seconds)

  1. docs/en/docs/advanced/async-tests.md

    Being able to use asynchronous functions in your tests could be useful, for example, when you're querying your database asynchronously. Imagine you want to test sending requests to your FastAPI application and then verify that your backend successfully wrote the correct data in the database, while using an async database library.
    
    Let's look at how we can make that work.
    
    ## pytest.mark.anyio { #pytest-mark-anyio }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 3.8K bytes
    - Click Count (0)
  2. fastapi/security/api_key.py

                    It is also useful when you want to have authentication that can be
                    provided in one of multiple optional ways (for example, in a query
                    parameter or in an HTTP Bearer token).
                    """
                ),
            ] = True,
        ):
            super().__init__(
                location=APIKeyIn.query,
                name=name,
                scheme_name=scheme_name,
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Mar 15 11:44:39 GMT 2026
    - 9.6K bytes
    - Click Count (1)
  3. build-logic/build-update-utils/src/test/groovy/gradlebuild/buildutils/tasks/UpdateReleasedVersionsIntegrationTest.groovy

            when:
            ReleasedVersionsHelperKt.updateReleasedVersionFile(releasedVersionsFile, newSnapshot) == ''
    
            then:
            releasedVersionsFile.text == expectedFileContent
        }
    
        ReleasedVersion releasedVersion(String version, long date = System.currentTimeMillis()) {
            new ReleasedVersion(version, format.format(new Date(date)))
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Mon Mar 23 14:47:12 GMT 2026
    - 2.4K bytes
    - Click Count (0)
  4. docs/zh/docs/advanced/websockets.md

    ```
    
    </div>
    
    在浏览器中打开 [http://127.0.0.1:8000](http://127.0.0.1:8000)。
    
    在页面中,您可以设置:
    
    * "Item ID",用于路径。
    * "Token",作为查询参数。
    
    /// tip
    
    注意,查询参数 `token` 将由依赖项处理。
    
    ///
    
    通过这样,您可以连接 WebSocket,然后发送和接收消息:
    
    <img src="/img/tutorial/websockets/image05.png">
    
    ## 处理断开连接和多个客户端 { #handling-disconnections-and-multiple-clients }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:06:37 GMT 2026
    - 5.4K bytes
    - Click Count (0)
  5. cmd/speedtest.go

    	ch := make(chan madmin.SpeedTestResult, 1)
    	go func() {
    		defer xioutil.SafeClose(ch)
    
    		concurrency := opts.concurrencyStart
    
    		if opts.autotune {
    			// if we have less drives than concurrency then choose
    			// only the concurrency to be number of drives to start
    			// with - since default '32' might be big and may not
    			// complete in total time of 10s.
    			if globalEndpoints.NEndpoints() < concurrency {
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Tue May 27 15:19:03 GMT 2025
    - 9.2K bytes
    - Click Count (0)
  6. internal/grid/grid.go

    	return ConnectWSWithRoutePath(dial, auth, tls, RoutePath)
    }
    
    // ValidateTokenFn must validate the token and return an error if it is invalid.
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Mar 30 00:56:02 GMT 2025
    - 7K bytes
    - Click Count (0)
  7. README.md

    development for Lucene and Solr is happening in each 
    project's git repository now:
    
    - Lucene: <https://gitbox.apache.org/repos/asf/lucene.git>
    - Solr: <https://gitbox.apache.org/repos/asf/solr.git>
    
    If you're seeing this message then switch the development to 'main':
    git checkout main
    
    Development for branch 8x remains in the shared repository:
    
    - https://gitbox.apache.org/repos/asf/lucene-solr.git
    
    ## GitHub forks?
    
    Created: Wed Apr 01 00:11:11 GMT 2026
    - Last Modified: Wed Mar 10 10:02:23 GMT 2021
    - 1.5K bytes
    - Click Count (0)
  8. src/test/java/jcifs/MsrpcEnumerateAliasesInDomainTest.java

            // Given
            int acctFlags = 123;
    
            // When
            MsrpcEnumerateAliasesInDomain msrpc = new MsrpcEnumerateAliasesInDomain(mockDomainHandle, acctFlags, mockSamArray);
    
            // Then
            // Verify that the 'sam' field is set correctly
            assertEquals(mockSamArray, msrpc.sam, "The 'sam' field should be initialized with the provided SamrSamArray.");
    
            // Verify that the 'ptype' field is set to 0
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 2.2K bytes
    - Click Count (0)
  9. ci/official/utilities/cleanup_summary.sh

        "$TFCI_OUTPUT_DIR/script.log" \
        --print \
        --xml-out-path "$XML_PATH"
    }
    
    if grep -q "Streaming build results to" "$TFCI_OUTPUT_DIR/script.log"; then
      resultstore_extract || resultstore_extract_fallback
    Created: Tue Apr 07 12:39:13 GMT 2026
    - Last Modified: Thu Jan 09 18:37:25 GMT 2025
    - 1.8K bytes
    - Click Count (0)
  10. android/guava/src/com/google/common/collect/CompactHashing.java

       * assigned array element, when seen as an unsigned value. So if {@code table} is a {@code byte[]}
       * then we should have {@code 0 ≤ entry ≤ 255}, and if {@code table} is a {@code short[]} then we
       * should have {@code 0 ≤ entry ≤ 65535}. It is the caller's responsibility to ensure this.
       */
      static void tableSet(Object table, int index, int entry) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Dec 26 20:08:09 GMT 2025
    - 7.1K bytes
    - Click Count (0)
Back to Top