Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 295 for useInt (0.05 sec)

  1. cmd/bucket-lifecycle-handlers_test.go

    	credentials auth.Credentials, t *testing.T,
    ) {
    	// test cases with sample input and expected output.
    	testCases := []struct {
    		method     string
    		bucketName string
    		accessKey  string
    		secretKey  string
    		// Sent body
    		body []byte
    		// Expected response
    		expectedRespStatus int
    		lifecycleResponse  []byte
    		errorResponse      APIErrorResponse
    		shouldPass         bool
    	}{
    		// GET empty credentials
    		{
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jun 10 15:50:49 UTC 2024
    - 11.3K bytes
    - Viewed (0)
  2. tests/test_tutorial/test_schema_extra_example/test_tutorial004_an.py

    from dirty_equals import IsDict
    from fastapi.testclient import TestClient
    
    from docs_src.schema_extra_example.tutorial004_an import app
    
    client = TestClient(app)
    
    
    # Test required and embedded body parameters with no bodies sent
    def test_post_body_example():
        response = client.put(
            "/items/5",
            json={
                "name": "Foo",
                "description": "A very nice Item",
                "price": 35.4,
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Jul 07 17:12:13 UTC 2023
    - 6.9K bytes
    - Viewed (0)
  3. okhttp/src/main/kotlin/okhttp3/Cookie.kt

       *
       * The values of this attribute determine whether this cookie is sent for cross-site calls:
       *
       *  - "Strict": the cookie is omitted when the subject URL is an embedded resource or a
       *    potentially-destructive navigation.
       *
       *  - "Lax": the cookie is omitted when the subject URL is an embedded resource. It is sent for
       *    potentially-destructive navigation. This is the default value.
       *
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Apr 06 04:12:05 UTC 2024
    - 23.1K bytes
    - Viewed (0)
  4. cmd/http-stats.go

    		internodeInputBytes:  s.getInternodeInputBytes(),  // Traffic internode received
    		internodeOutputBytes: s.getInternodeOutputBytes(), // Traffic internode sent
    		s3InputBytes:         s.getS3InputBytes(),         // Traffic S3 received
    		s3OutputBytes:        s.getS3OutputBytes(),        // Traffic S3 sent
    	}
    }
    
    // Prepare new ConnStats structure
    func newConnStats() *connStats {
    	return &connStats{}
    }
    
    type bucketS3RXTX struct {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Sep 24 17:13:00 UTC 2024
    - 11.4K bytes
    - Viewed (0)
  5. tests/test_tutorial/test_schema_extra_example/test_tutorial004_an_py39.py

    @pytest.fixture(name="client")
    def get_client():
        from docs_src.schema_extra_example.tutorial004_an_py39 import app
    
        client = TestClient(app)
        return client
    
    
    # Test required and embedded body parameters with no bodies sent
    @needs_py39
    def test_post_body_example(client: TestClient):
        response = client.put(
            "/items/5",
            json={
                "name": "Foo",
                "description": "A very nice Item",
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Jul 07 17:12:13 UTC 2023
    - 7.1K bytes
    - Viewed (0)
  6. tests/test_tutorial/test_schema_extra_example/test_tutorial004_py310.py

    @pytest.fixture(name="client")
    def get_client():
        from docs_src.schema_extra_example.tutorial004_py310 import app
    
        client = TestClient(app)
        return client
    
    
    # Test required and embedded body parameters with no bodies sent
    @needs_py310
    def test_post_body_example(client: TestClient):
        response = client.put(
            "/items/5",
            json={
                "name": "Foo",
                "description": "A very nice Item",
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Jul 07 17:12:13 UTC 2023
    - 7.1K bytes
    - Viewed (0)
  7. okhttp/src/main/kotlin/okhttp3/internal/http/RetryAndFollowUpInterceptor.kt

            try {
              response = realChain.proceed(request)
              newRoutePlanner = true
            } catch (e: IOException) {
              // An attempt to communicate with a server failed. The request may have been sent.
              if (!recover(e, call, request, requestSendStarted = e !is ConnectionShutdownException)) {
                throw e.withSuppressed(recoveredFailures)
              } else {
                recoveredFailures += e
              }
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Apr 15 13:24:48 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  8. docs/em/docs/tutorial/dependencies/dependencies-with-yield.md

    participant dep as Dep with yield
    participant operation as Path Operation
    participant tasks as Background tasks
    
        Note over client,tasks: Can raise exception for dependency, handled after response is sent
        Note over client,operation: Can raise HTTPException and can change the response
        client ->> dep: Start request
        Note over dep: Run code up to yield
        opt raise
            dep -->> handler: Raise HTTPException
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 8.6K bytes
    - Viewed (0)
  9. internal/grid/benchmark_test.go

    						if debugReqs {
    							fmt.Println(err.Error())
    						}
    						b.Fatal(err.Error())
    					}
    					got := 0
    					sent := 0
    					go func() {
    						for i := 0; i < messages; i++ {
    							st.Requests <- append(GetByteBuffer()[:0], payload...)
    							if sent++; sent == messages {
    								close(st.Requests)
    								return
    							}
    						}
    					}()
    					err = st.Results(func(b []byte) error {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Jun 07 15:51:52 UTC 2024
    - 15.7K bytes
    - Viewed (0)
  10. okhttp/src/test/java/okhttp3/DuplexTest.kt

      }
    
      /**
       * We delay sending the last byte of the request body 1500 ms. The 1000 ms read timeout should
       * only elapse 1000 ms after the request body is sent.
       */
      @Test
      fun headersReadTimeoutDoesNotStartUntilLastRequestBodyByteFire() {
        enableProtocol(Protocol.HTTP_2)
        server.enqueue(
          MockResponse.Builder()
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Jan 20 10:30:28 UTC 2024
    - 23.9K bytes
    - Viewed (0)
Back to top