Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 235 for explode (0.17 seconds)

  1. fastapi/openapi/models.py

        cookie = "cookie"
    
    
    class Encoding(BaseModelWithConfig):
        contentType: str | None = None
        headers: dict[str, Union["Header", Reference]] | None = None
        style: str | None = None
        explode: bool | None = None
        allowReserved: bool | None = None
    
    
    class MediaType(BaseModelWithConfig):
        schema_: Schema | Reference | None = Field(default=None, alias="schema")
        example: Any | None = None
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Mar 15 11:44:39 GMT 2026
    - 14.2K bytes
    - Click Count (0)
  2. src/bytes/bytes.go

    // A nil argument is equivalent to an empty slice.
    func Compare(a, b []byte) int {
    	return bytealg.Compare(a, b)
    }
    
    // explode splits s into a slice of UTF-8 sequences, one per Unicode code point (still slices of bytes),
    // up to a maximum of n byte slices. Invalid UTF-8 sequences are chopped into individual bytes.
    func explode(s []byte, n int) [][]byte {
    	if n <= 0 || n > len(s) {
    		n = len(s)
    	}
    	a := make([][]byte, n)
    	var size int
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Thu Mar 12 17:56:55 GMT 2026
    - 36.3K bytes
    - Click Count (0)
  3. okhttp/src/jvmTest/kotlin/okhttp3/URLConnectionTest.kt

      fun postBodyRetransmittedAfterAuthorizationFail_HTTP_2() {
        platform.assumeHttp2Support()
        enableProtocol(Protocol.HTTP_2)
        postBodyRetransmittedAfterAuthorizationFail("abc")
      }
    
      /** Don't explode when resending an empty post. https://github.com/square/okhttp/issues/1131  */
      @Test
      fun postEmptyBodyRetransmittedAfterAuthorizationFail() {
        postBodyRetransmittedAfterAuthorizationFail("")
      }
    
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Jan 27 09:00:39 GMT 2026
    - 133.3K bytes
    - Click Count (0)
  4. okhttp/src/jvmTest/kotlin/okhttp3/CallTest.kt

      }
    
      @Test
      fun postBodyRetransmittedAfterAuthorizationFail_HTTP_2() {
        enableProtocol(Protocol.HTTP_2)
        postBodyRetransmittedAfterAuthorizationFail("abc")
      }
    
      /** Don't explode when resending an empty post. https://github.com/square/okhttp/issues/1131  */
      @Test
      fun postEmptyBodyRetransmittedAfterAuthorizationFail() {
        postBodyRetransmittedAfterAuthorizationFail("")
      }
    
      @Test
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Sun Mar 15 09:02:18 GMT 2026
    - 146.5K bytes
    - Click Count (0)
  5. tensorflow/c/BUILD

        ]),
        visibility = ["//tensorflow:__subpackages__"],
    )
    
    filegroup(
        name = "srcs",
        srcs = glob(
            [
                "*.cc",
                "*.h",
            ],
            exclude = [
                "c_api_experimental.cc",
                "c_api_experimental.h",
                "python_api.cc",
                "python_api.h",
                "*test*",
            ],
        ) + [
    Created: Tue Apr 07 12:39:13 GMT 2026
    - Last Modified: Tue Feb 17 18:49:14 GMT 2026
    - 30.3K bytes
    - Click Count (0)
  6. fastapi/encoders.py

        if exclude is not None and not isinstance(exclude, (set, dict)):
            exclude = set(exclude)  # type: ignore[assignment]  # ty: ignore[unused-ignore-comment]
        if isinstance(obj, BaseModel):
            obj_dict = obj.model_dump(
                mode="json",
                include=include,
                exclude=exclude,
                by_alias=by_alias,
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Mar 15 11:44:39 GMT 2026
    - 10.9K bytes
    - Click Count (0)
  7. impl/maven-core/pom.xml

                  <exclude>org.apache.maven.repository.LocalArtifactRepository</exclude>
                  <exclude>org.apache.maven.repository.LocalRepositoryNotAccessibleException</exclude>
                  <exclude>org.apache.maven.repository.RepositorySystem</exclude>
                  <exclude>org.apache.maven.settings.DefaultMavenSettingsBuilder</exclude>
                  <exclude>org.apache.maven.settings.MavenSettingsBuilder</exclude>
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Nov 26 10:37:56 GMT 2025
    - 16.9K bytes
    - Click Count (0)
  8. tests/test_jsonable_encoder.py

        assert jsonable_encoder(pet, include={"name"}) == {"name": "Firulais"}
        assert jsonable_encoder(pet, exclude={"owner"}) == {"name": "Firulais"}
        assert jsonable_encoder(pet, include={}) == {}
        assert jsonable_encoder(pet, exclude={}) == {
            "name": "Firulais",
            "owner": {"name": "Foo"},
        }
    
    
    def test_encode_dict_include_exclude_list():
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Tue Feb 17 09:59:14 GMT 2026
    - 9.2K bytes
    - Click Count (0)
  9. tests/test_serialize_response_model.py

            "k3": Item(aliased_name="baz", price=2.0, owner_ids=[1, 2, 3]),
        }
    
    
    @app.get(
        "/items/valid-exclude-unset", response_model=Item, response_model_exclude_unset=True
    )
    def get_valid_exclude_unset():
        return Item(aliased_name="valid", price=1.0)
    
    
    @app.get(
        "/items/coerce-exclude-unset",
        response_model=Item,
        response_model_exclude_unset=True,
    )
    def get_coerce_exclude_unset():
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Tue Feb 17 09:59:14 GMT 2026
    - 4.1K bytes
    - Click Count (0)
  10. guava-gwt/pom.xml

                    <!-- Yes, we want to exclude ForceGuavaCompilation 4 times: -->
                    <!-- (And we might as well exclude DummyJavadocClass 3 times (though it would be harmless to include).) -->
                    <!-- 1. Don't compile it (since that requires a *non-test* dep on gwt-user. -->
                    <exclude>**/ForceGuavaCompilation*</exclude>
                    <exclude>**/DummyJavadocClass*</exclude>
                  </excludes>
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Jan 12 15:19:17 GMT 2026
    - 18.2K bytes
    - Click Count (0)
Back to Top