Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 91 - 100 of 1,395 for treating (0.37 seconds)

  1. docs/zh/docs/advanced/testing-websockets.md

    # 测试 WebSockets { #testing-websockets }
    
    你可以使用同一个 `TestClient` 来测试 WebSockets。
    
    为此,在 `with` 语句中使用 `TestClient` 连接到 WebSocket:
    
    {* ../../docs_src/app_testing/tutorial002_py310.py hl[27:31] *}
    
    /// note | 注意
    
    更多细节请查看 Starlette 的文档:[测试 WebSockets](https://www.starlette.dev/testclient/#testing-websocket-sessions)。
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:06:37 GMT 2026
    - 403 bytes
    - Click Count (0)
  2. docs/tr/docs/advanced/testing-events.md

    # Event'leri Test Etme: lifespan ve startup - shutdown { #testing-events-lifespan-and-startup-shutdown }
    
    Test'lerinizde `lifespan`'ın çalışması gerektiğinde, `TestClient`'ı bir `with` ifadesiyle kullanabilirsiniz:
    
    {* ../../docs_src/app_testing/tutorial004_py310.py hl[9:15,18,27:28,30:32,41:43] *}
    
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Feb 13 12:41:38 GMT 2026
    - 718 bytes
    - Click Count (0)
  3. docs/en/docs/advanced/stream-data.md

    And in many cases, reading them would be a blocking operation (that could block the event loop), because they are read from disk or from the network.
    
    /// info
    
    The example above is actually an exception, because the `io.BytesIO` object is already in memory, so reading it won't block anything.
    
    But in many cases reading a file or a file-like object would block.
    
    ///
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 5.4K bytes
    - Click Count (0)
  4. BUILDING.md

    also used by other elastic teams like `elasticsearch-hadoop`.
    Breaking changes should therefore be avoided and an appropriate deprecation cycle
    should be followed.
    
    ### Stay up to date
    
    The elasticsearch build usually uses the latest Gradle GA release. We stay as close to the
    latest Gradle releases as possible. In certain cases an update is blocked by a breaking behaviour
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Thu Sep 23 07:45:59 GMT 2021
    - 6.7K bytes
    - Click Count (0)
  5. cmd/object-handlers_test.go

    func TestAPIPutObjectPartHandler(t *testing.T) {
    	defer DetectTestLeak(t)()
    	ExecExtendedObjectLayerAPITest(t, testAPIPutObjectPartHandler, []string{"PutObjectPart"})
    }
    
    func testAPIPutObjectPartHandler(obj ObjectLayer, instanceType, bucketName string, apiRouter http.Handler,
    	credentials auth.Credentials, t *testing.T,
    ) {
    	// Initiate Multipart upload for testing PutObjectPartHandler.
    	testObject := "testobject"
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 163.1K bytes
    - Click Count (0)
  6. okhttp-logging-interceptor/src/main/kotlin/okhttp3/logging/HttpLoggingInterceptor.kt

           *
           * Example:
           * ```
           * --> POST /greeting http/1.1 (3-byte body)
           *
           * <-- 200 OK (22ms, 6-byte body)
           * ```
           */
          BASIC,
    
          /**
           * Logs request and response lines and their respective headers.
           *
           * Example:
           * ```
           * --> POST /greeting http/1.1
           * Host: example.com
           * Content-Type: plain/text
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Fri Nov 07 02:57:33 GMT 2025
    - 11.5K bytes
    - Click Count (0)
  7. docs/contribute/concurrency.md

    This is necessary for bookkeeping when creating new streams. Correct framing requires that stream IDs are sequential on the socket, so we need to bundle assigning the ID with sending the `SYN_STREAM` frame.
    
    ## Connection Pool
    
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Sun Feb 06 16:35:36 GMT 2022
    - 7K bytes
    - Click Count (0)
  8. cmd/object-api-multipart_test.go

    		// Test cases with prefixes.
    		// Testing listing with prefix set to "min" (Test number 40)	.
    		{bucketNames[2], "min", "", "", "", 100, listMultipartResults[26], nil, true},
    		// Testing listing with prefix set to "ney" (Test number 41).
    		{bucketNames[2], "ney", "", "", "", 100, listMultipartResults[27], nil, true},
    		// Testing listing with prefix set to "par" (Test number 42).
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 89.4K bytes
    - Click Count (0)
  9. cmd/streaming-signature-v4_test.go

    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package cmd
    
    import (
    	"bufio"
    	"bytes"
    	"fmt"
    	"io"
    	"strings"
    	"testing"
    )
    
    // Test read chunk line.
    func TestReadChunkLine(t *testing.T) {
    	type testCase struct {
    		reader         *bufio.Reader
    		expectedErr    error
    		chunkSize      []byte
    		chunkSignature []byte
    	}
    	// List of readers used.
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 5.7K bytes
    - Click Count (0)
  10. cmd/bucket-policy-handlers_test.go

    	ExecObjectLayerAPIAnonTest(t, obj, "PutBucketPolicyHandler", bucketName, "", instanceType, apiRouter, anonReq, getAnonWriteOnlyBucketPolicy(bucketName))
    
    	// HTTP request for testing when `objectLayer` is set to `nil`.
    	// There is no need to use an existing bucket and valid input for creating the request
    	// since the `objectLayer==nil`  check is performed before any other checks inside the handlers.
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 32.9K bytes
    - Click Count (0)
Back to Top