Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for encodedName (1.92 sec)

  1. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/bundling/ZipIntegrationTest.groovy

            String encodedName = filename
            if (encoding != null) {
                encodedName = new String(filename.getBytes(encoding), encoding)
            }
            (1..3).each { idx ->
                createDir("dir$idx", {
                    file("${encodedName}${idx}.txt").text = "dir$idx/${encodedName}${idx}.txt"
                })
            }
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 04 22:26:51 UTC 2021
    - 5.8K bytes
    - Viewed (0)
  2. okhttp/src/main/kotlin/okhttp3/FormBody.kt

    class FormBody internal constructor(
      encodedNames: List<String>,
      encodedValues: List<String>,
    ) : RequestBody() {
      private val encodedNames: List<String> = encodedNames.toImmutableList()
      private val encodedValues: List<String> = encodedValues.toImmutableList()
    
      /** The number of key-value pairs in this form-encoded body. */
      @get:JvmName("size")
      val size: Int
        get() = encodedNames.size
    
      @JvmName("-deprecated_size")
    Registered: Sun Jun 16 04:42:17 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

            .add("space, the", "final frontier")
            .add("%25", "%25")
            .build()
        assertThat(body.size).isEqualTo(3)
        assertThat(body.encodedName(0)).isEqualTo("a%2B%3D%26+b")
        assertThat(body.encodedName(1)).isEqualTo("space%2C+the")
        assertThat(body.encodedName(2)).isEqualTo("%2525")
        assertThat(body.name(0)).isEqualTo("a+=& b")
        assertThat(body.name(1)).isEqualTo("space, the")
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 7.8K bytes
    - Viewed (0)
  4. platforms/core-configuration/graph-serialization/src/main/kotlin/org/gradle/internal/serialize/graph/Combinators.kt

    
    fun <T : Any> reentrant(codec: Codec<T>): Codec<T> = object : Codec<T> {
    
        var encodeCall: EncodeFrame<T>? = null
    
        var decodeCall: DecodeFrame<T?>? = null
    
        override suspend fun WriteContext.encode(value: T) {
            when (encodeCall) {
                null -> {
                    encodeCall = EncodeFrame(value, null)
                    encodeLoop(coroutineContext)
                }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 27 12:59:39 UTC 2024
    - 8.4K bytes
    - Viewed (0)
Back to top