Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for color (0.15 sec)

  1. samples/guide/src/main/java/okhttp3/guide/PostExample.java

            + "'lastSaved':1367702411696,"
            + "'dateStarted':1367702378785,"
            + "'players':["
            + "{'name':'" + player1 + "','history':[10,8,6,7,8],'color':-13388315,'total':39},"
            + "{'name':'" + player2 + "','history':[6,10,5,10,10],'color':-48060,'total':41}"
            + "]}";
      }
    
      public static void main(String[] args) throws IOException {
        PostExample example = new PostExample();
    Java
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Fri Apr 05 03:30:42 GMT 2024
    - 2K bytes
    - Viewed (0)
  2. okhttp/src/test/java/okhttp3/MultipartReaderTest.kt

        val body =
          MultipartBody.Builder("boundary")
            .setType(MultipartBody.PARALLEL)
            .addPart("Quick".toRequestBody("text/plain".toMediaType()))
            .addFormDataPart("color", "Brown")
            .addFormDataPart("animal", "fox.txt", "Fox".toRequestBody())
            .build()
    
        val bodyContent = Buffer()
        body.writeTo(bodyContent)
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 13.8K bytes
    - Viewed (0)
  3. okhttp/src/main/kotlin/okhttp3/internal/-HostnamesCommon.kt

     * of Android's private InetAddress#isNumeric API.
     *
     * This matches IPv6 addresses as a hex string containing at least one colon, and possibly
     * including dots after the first colon. It matches IPv4 addresses as strings containing only
     * decimal digits and dots. This pattern matches strings like "a:.23" and "54" that are neither IP
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 11.2K bytes
    - Viewed (0)
  4. okhttp/src/main/kotlin/okhttp3/Headers.kt

                // broken SPDY versions of the response cache).
                addLenient("", line.substring(1)) // Empty header name.
              }
              else -> {
                // No header name.
                addLenient("", line)
              }
            }
          }
    
        /** Add an header line containing a field name, a literal colon, and a value. */
        fun add(line: String) =
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 11.5K bytes
    - Viewed (0)
  5. mockwebserver/src/main/kotlin/mockwebserver3/MockResponse.kt

        fun clearHeaders() =
          apply {
            headers = Headers.Builder()
          }
    
        /**
         * Adds [header] as an HTTP header. For well-formed HTTP [header] should contain a name followed
         * by a colon and a value.
         */
        fun addHeader(header: String) =
          apply {
            headers.add(header)
          }
    
        /**
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Tue Jan 23 14:31:42 GMT 2024
    - 13.3K bytes
    - Viewed (1)
  6. okhttp/src/main/kotlin/okhttp3/HttpUrl.kt

                while (++i < limit) {
                  if (input[i] == ']') break
                }
              }
              ':' -> return i
            }
            i++
          }
          return limit // No colon.
        }
    
        private fun parsePort(
          input: String,
          pos: Int,
          limit: Int,
        ): Int {
          return try {
            // Canonicalize the port string to skip '\n' etc.
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Tue Jan 09 12:33:05 GMT 2024
    - 63.5K bytes
    - Viewed (1)
  7. okhttp/src/test/java/okhttp3/HeadersJvmTest.kt

            .add("foo : bak") // Name trailing whitespace is trimmed.
            .add("\tkey\t:\tvalue\t") // '\t' also counts as whitespace
            .add("ping:  pong  ") // Value whitespace is trimmed.
            .add("kit:kat") // Space after colon is not required.
            .build()
        assertThat(headers.values("foo")).containsExactly("bar", "baz", "bak")
        assertThat(headers.values("key")).containsExactly("value")
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 5.6K bytes
    - Viewed (0)
  8. okhttp/src/test/java/okhttp3/CacheTest.kt

      }
    
      /**
       * Old implementations of OkHttp's response cache wrote header fields like ":status: 200 OK". This
       * broke our cached response parser because it split on the first colon. This regression test
       * exists to help us read these old bad cache entries.
       *
       * https://github.com/square/okhttp/issues/227
       */
      @Test
      fun testGoldenCacheResponse() {
        cache.close()
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Wed Apr 10 19:46:48 GMT 2024
    - 108.6K bytes
    - Viewed (0)
  9. okhttp-idna-mapping-table/src/main/resources/okhttp3/internal/idna/IdnaMappingTable.txt

    10781         ; mapped                 ; 02D0          # 14.0 MODIFIER LETTER SUPERSCRIPT TRIANGULAR COLON
    10782         ; mapped                 ; 02D1          # 14.0 MODIFIER LETTER SUPERSCRIPT HALF TRIANGULAR COLON
    10783         ; mapped                 ; 00E6          # 14.0 MODIFIER LETTER SMALL AE
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Feb 10 11:25:47 GMT 2024
    - 854.1K bytes
    - Viewed (2)
  10. okhttp/src/test/resources/okhttp3/internal/publicsuffix/public_suffix_list.dat

    fin.tn
    gov.tn
    ind.tn
    info.tn
    intl.tn
    mincom.tn
    nat.tn
    net.tn
    org.tn
    perso.tn
    tourism.tn
    
    // to : https://en.wikipedia.org/wiki/.to
    // Submitted by registry <egullich@colo.to>
    to
    com.to
    gov.to
    net.to
    org.to
    edu.to
    mil.to
    
    // tr : https://nic.tr/
    // https://nic.tr/forms/eng/policies.pdf
    // https://nic.tr/index.php?USRACTN=PRICELST
    tr
    av.tr
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Wed Dec 20 23:27:07 GMT 2023
    - 240.3K bytes
    - Viewed (3)
Back to top