Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for encodedValue (0.16 sec)

  1. okhttp/src/test/java/okhttp3/UrlComponentEncodingTester.kt

        component: Component,
      ) {
        val expected = component.canonicalize(encoding.encode(codePoint))
        val urlString = component.urlString(expected)
        val url = urlString.toHttpUrl()
        val actual = component.encodedValue(url)
        if (actual != expected) {
          fail("Encoding $component $codePoint using $encoding: '$actual' != '$expected'")
        }
      }
    
      private fun testEncodeAndDecode(
        codePoint: Int,
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 12.3K bytes
    - Viewed (0)
  2. okhttp/src/main/kotlin/okhttp3/FormBody.kt

      fun encodedName(index: Int): String = encodedNames[index]
    
      fun name(index: Int): String = encodedName(index).percentDecode(plusIsSpace = true)
    
      fun encodedValue(index: Int): String = encodedValues[index]
    
      fun value(index: Int): String = encodedValue(index).percentDecode(plusIsSpace = true)
    
      override fun contentType(): MediaType = CONTENT_TYPE
    
      override fun contentLength(): Long = writeOrCountBytes(null, true)
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Tue Jan 09 12:33:05 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  3. okhttp/src/test/java/okhttp3/FormBodyTest.kt

        assertThat(body.name(1)).isEqualTo("space, the")
        assertThat(body.name(2)).isEqualTo("%25")
        assertThat(body.encodedValue(0)).isEqualTo("c%2B%3D%26+d")
        assertThat(body.encodedValue(1)).isEqualTo("final+frontier")
        assertThat(body.encodedValue(2)).isEqualTo("%2525")
        assertThat(body.value(0)).isEqualTo("c+=& d")
        assertThat(body.value(1)).isEqualTo("final frontier")
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 7.8K bytes
    - Viewed (0)
  4. okhttp/src/main/kotlin/okhttp3/HttpUrl.kt

          addQueryParameter(name, value)
        }
    
        fun setEncodedQueryParameter(
          encodedName: String,
          encodedValue: String?,
        ) = apply {
          removeAllEncodedQueryParameters(encodedName)
          addEncodedQueryParameter(encodedName, encodedValue)
        }
    
        fun removeAllQueryParameters(name: String) =
          apply {
            if (encodedQueryNamesAndValues == null) return this
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Tue Jan 09 12:33:05 UTC 2024
    - 63.5K bytes
    - Viewed (0)
  5. okhttp/src/test/java/okhttp3/KotlinSourceModernTest.kt

        val formBody: FormBody = FormBody.Builder().build()
        val size: Int = formBody.size
        val encodedName: String = formBody.encodedName(0)
        val name: String = formBody.name(0)
        val encodedValue: String = formBody.encodedValue(0)
        val value: String = formBody.value(0)
        val contentType: MediaType = formBody.contentType()
        val contentLength: Long = formBody.contentLength()
        formBody.writeTo(Buffer())
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Apr 01 14:21:25 UTC 2024
    - 46.5K bytes
    - Viewed (0)
  6. okhttp/api/okhttp.api

    	public final fun -deprecated_size ()I
    	public fun contentLength ()J
    	public fun contentType ()Lokhttp3/MediaType;
    	public final fun encodedName (I)Ljava/lang/String;
    	public final fun encodedValue (I)Ljava/lang/String;
    	public final fun name (I)Ljava/lang/String;
    	public final fun size ()I
    	public final fun value (I)Ljava/lang/String;
    	public fun writeTo (Lokio/BufferedSink;)V
    }
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Apr 15 13:41:01 UTC 2024
    - 70.2K bytes
    - Viewed (0)
  7. fastapi/encoders.py

                        exclude_none=exclude_none,
                        custom_encoder=custom_encoder,
                        sqlalchemy_safe=sqlalchemy_safe,
                    )
                    encoded_value = jsonable_encoder(
                        value,
                        by_alias=by_alias,
                        exclude_unset=exclude_unset,
                        exclude_none=exclude_none,
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Apr 18 21:56:59 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  8. api/go1.txt

    pkg encoding/gob, method (*Decoder) Decode(interface{}) error
    pkg encoding/gob, method (*Decoder) DecodeValue(reflect.Value) error
    pkg encoding/gob, method (*Encoder) Encode(interface{}) error
    pkg encoding/gob, method (*Encoder) EncodeValue(reflect.Value) error
    pkg encoding/gob, type CommonType struct
    pkg encoding/gob, type CommonType struct, Id typeId
    pkg encoding/gob, type CommonType struct, Name string
    pkg encoding/gob, type Decoder struct
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Wed Aug 14 18:58:28 UTC 2013
    - 1.7M bytes
    - Viewed (0)
Back to top