Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for encodedName (0.33 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. okhttp/src/main/kotlin/okhttp3/HttpUrl.kt

          removeAllQueryParameters(name)
          addQueryParameter(name, value)
        }
    
        fun setEncodedQueryParameter(
          encodedName: String,
          encodedValue: String?,
        ) = apply {
          removeAllEncodedQueryParameters(encodedName)
          addEncodedQueryParameter(encodedName, encodedValue)
        }
    
        fun removeAllQueryParameters(name: String) =
          apply {
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Tue Jan 09 12:33:05 UTC 2024
    - 63.5K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/app/web/admin/storage/AdminStorageAction.java

            final String name = pi.getName();
            final String encodedName = URLEncoder.encode(name, Constants.UTF_8_CHARSET).replace("+", "%20");
            response.header("Content-Disposition", "attachment; filename=\"" + name + "\"; filename*=utf-8''" + encodedName);
            response.header("Pragma", "no-cache");
            response.header("Cache-Control", "no-cache");
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 19.9K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/helper/ViewHelper.java

                } else {
                    contentDispositionType = "attachment";
                }
    
                final String encodedName = URLEncoder.encode(name, Constants.UTF_8).replace("+", "%20");
                final String contentDispositionValue;
                if (name.equals(encodedName)) {
                    contentDispositionValue = contentDispositionType + "; filename=\"" + name + "\"";
                } else {
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu May 30 06:58:45 UTC 2024
    - 40.2K bytes
    - Viewed (0)
  7. okhttp/src/test/java/okhttp3/KotlinSourceModernTest.kt

      }
    
      @Test
      fun formBody() {
        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()
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Apr 01 14:21:25 UTC 2024
    - 46.5K bytes
    - Viewed (0)
  8. okhttp/api/okhttp.api

    	public static final field Companion Lokhttp3/FormBody$Companion;
    	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;
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Apr 15 13:41:01 UTC 2024
    - 70.2K bytes
    - Viewed (0)
  9. 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