Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 121 - 130 of 846 for haddrs (0.06 seconds)

  1. okhttp/src/commonJvmAndroid/kotlin/okhttp3/TrailersSource.kt

     */
    interface TrailersSource {
      @Throws(IOException::class)
      fun peek(): Headers? = null
    
      @Throws(IOException::class)
      fun get(): Headers
    
      companion object {
        @JvmField
        val EMPTY: TrailersSource =
          object : TrailersSource {
            override fun peek() = Headers.EMPTY
    
            override fun get() = Headers.EMPTY
          }
      }
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Mon Jul 07 18:57:05 GMT 2025
    - 1.4K bytes
    - Click Count (0)
  2. internal/s3select/message.go

    //
    // Header specification:
    // Continuation messages contain two headers, as follows:
    // https://docs.aws.amazon.com/AmazonS3/latest/API/images/s3select-frame-diagram-cont.png
    //
    // Payload specification:
    // Continuation messages have no payload.
    var continuationMessage = []byte{
    	0, 0, 0, 57, // total byte-length.
    	0, 0, 0, 41, // headers byte-length.
    	139, 161, 157, 242, // prelude crc.
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Tue Feb 18 16:25:55 GMT 2025
    - 15.3K bytes
    - Click Count (0)
  3. tests/test_request_params/test_header/test_required_str.py

            ]
        }
    
    
    @pytest.mark.parametrize(
        "path",
        ["/required-str", "/model-required-str"],
    )
    def test_required_str(path: str):
        client = TestClient(app)
        response = client.get(path, headers={"p": "hello"})
        assert response.status_code == 200
        assert response.json() == {"p": "hello"}
    
    
    # =====================================================================================
    # Alias
    
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Dec 27 18:19:10 GMT 2025
    - 10K bytes
    - Click Count (0)
  4. cmd/object-api-options_test.go

    	ctx := t.Context()
    	testCases := []struct {
    		name            string
    		headers         http.Header
    		wantObjectAttrs map[string]struct{}
    	}{
    		{
    			name:            "empty header",
    			headers:         http.Header{},
    			wantObjectAttrs: map[string]struct{}{},
    		},
    		{
    			name: "single header line",
    			headers: http.Header{
    				xhttp.AmzObjectAttributes: []string{"test1,test2"},
    			},
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Wed Apr 09 14:28:39 GMT 2025
    - 2.4K bytes
    - Click Count (0)
  5. okhttp/src/jvmTest/kotlin/okhttp3/RecordedResponse.kt

        }
    
      fun assertHeader(
        name: String,
        vararg values: String?,
      ) = apply {
        assertThat(response!!.headers(name)).containsExactly(*values)
      }
    
      fun assertHeaders(headers: Headers) =
        apply {
          assertThat(response!!.headers).isEqualTo(headers)
        }
    
      fun assertBody(expectedBody: String) =
        apply {
          assertThat(body).isEqualTo(expectedBody)
        }
    
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Fri Dec 27 13:39:56 GMT 2024
    - 5.3K bytes
    - Click Count (0)
  6. tests/test_tutorial/test_dependencies/test_tutorial012.py

    
    def test_get_invalid_one_header_items(client: TestClient):
        response = client.get("/items/", headers={"X-Token": "invalid"})
        assert response.status_code == 400, response.text
        assert response.json() == {"detail": "X-Token header invalid"}
    
    
    def test_get_invalid_one_users(client: TestClient):
        response = client.get("/users/", headers={"X-Token": "invalid"})
        assert response.status_code == 400, response.text
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Dec 27 18:19:10 GMT 2025
    - 7.7K bytes
    - Click Count (0)
  7. src/archive/tar/reader_test.go

    			}
    
    			for i, hdr := range hdrs {
    				if i >= len(v.headers) {
    					t.Fatalf("entry %d: unexpected header:\ngot %+v", i, *hdr)
    				}
    				if !reflect.DeepEqual(*hdr, *v.headers[i]) {
    					t.Fatalf("entry %d: incorrect header:\ngot  %+v\nwant %+v", i, *hdr, *v.headers[i])
    				}
    			}
    			if len(hdrs) != len(v.headers) {
    				t.Fatalf("got %d headers, want %d headers", len(hdrs), len(v.headers))
    			}
    
    Created: Tue Dec 30 11:13:12 GMT 2025
    - Last Modified: Mon Dec 15 16:34:13 GMT 2025
    - 47.5K bytes
    - Click Count (0)
  8. cmd/encryption-v1.go

    			if crypto.SSEC.IsRequested(headers) || crypto.SSECopy.IsRequested(headers) {
    				return encrypted, errEncryptedObject
    			}
    		}
    
    		if crypto.S3KMS.IsEncrypted(info.UserDefined) && r.Header.Get(xhttp.AmzCopySource) == "" {
    			if crypto.SSEC.IsRequested(headers) || crypto.SSECopy.IsRequested(headers) {
    				return encrypted, errEncryptedObject
    			}
    		}
    
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 38K bytes
    - Click Count (0)
  9. tests/test_request_params/test_header/test_list.py

        }
    
    
    @pytest.mark.parametrize(
        "path",
        ["/required-list-str", "/model-required-list-str"],
    )
    def test_required_list_str(path: str):
        client = TestClient(app)
        response = client.get(path, headers=[("p", "hello"), ("p", "world")])
        assert response.status_code == 200
        assert response.json() == {"p": ["hello", "world"]}
    
    
    # =====================================================================================
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Dec 27 18:31:34 GMT 2025
    - 11K bytes
    - Click Count (0)
  10. src/main/java/jcifs/config/PropertyConfiguration.java

            }
    
            value = props.getProperty("jcifs.netbios.laddr");
            if (value != null) {
                try {
                    this.netbiosLocalAddress = InetAddress.getByName(value);
                } catch (UnknownHostException e) {
                    // Invalid address ignored
                }
            }
    
            value = props.getProperty("jcifs.netbios.baddr");
            if (value != null) {
                try {
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sun Aug 24 00:49:49 GMT 2025
    - 13.3K bytes
    - Click Count (0)
Back to Top