Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 246 for pos2 (0.04 sec)

  1. okhttp/src/jvmTest/kotlin/okhttp3/RequestTest.kt

        assertThat(delete.method).isEqualTo("DELETE")
        assertThat(delete.body!!.contentLength()).isEqualTo(0L)
    
        val post =
          Request
            .Builder()
            .url("http://localhost/api")
            .post(body)
            .build()
        assertThat(post.method).isEqualTo("POST")
        assertThat(post.body).isEqualTo(body)
    
        val put =
          Request
            .Builder()
            .url("http://localhost/api")
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 16 09:39:51 UTC 2025
    - 19K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/it/ITBase.java

                            + DEFAULT_TEST_TOKEN + "\"}\n")
                    .when()
                    .post(getEsUrl() + "/_bulk");
            given().contentType("application/json").when().post(getEsUrl() + "/_refresh");
            logger.info("Created Token: {}", DEFAULT_TEST_TOKEN);
            return DEFAULT_TEST_TOKEN;
        }
    
        public static void deleteTestToken() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 3.4K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/dict/kuromoji/KuromojiItem.java

         * @param reading The reading.
         * @param pos The part of speech.
         */
        public KuromojiItem(final long id, final String token, final String segmentation, final String reading, final String pos) {
            this.id = id;
            this.token = token;
            this.segmentation = segmentation;
            this.reading = reading;
            this.pos = pos;
    
            if (id == 0) {
                // create
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 6.3K bytes
    - Viewed (0)
  4. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/url/-Url.kt

        }
      }
    
      // Fast path: no characters in [pos..limit) required decoding.
      return substring(pos, limit)
    }
    
    internal fun String.isPercentEncoded(
      pos: Int,
      limit: Int,
    ): Boolean =
      pos + 2 < limit &&
        this[pos] == '%' &&
        this[pos + 1].parseHexDigit() != -1 &&
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 7.3K bytes
    - Viewed (0)
  5. okhttp/src/commonJvmAndroid/kotlin/okhttp3/HttpUrl.kt

            if (pos == limit || input[pos] == '#') {
              encodedQuery(base.encodedQuery)
            }
          }
    
          // Resolve the relative path.
          val pathDelimiterOffset = input.delimiterOffset("?#", pos, limit)
          resolvePath(input, pos, pathDelimiterOffset)
          pos = pathDelimiterOffset
    
          // Query.
          if (pos < limit && input[pos] == '?') {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon May 05 16:01:00 UTC 2025
    - 63.5K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/curl/CurlRequestTest.java

            String body = "{\"key\":\"value\"}";
    
            CurlRequest result = request.body(body);
    
            assertSame(request, result); // Fluent API
            assertEquals(body, request.body());
        }
    
        @Test
        public void testBodyInputStreamMethod() {
            CurlRequest request = new CurlRequest(Method.POST, "https://example.com");
    Registered: Thu Sep 04 15:34:10 UTC 2025
    - Last Modified: Thu Jul 31 01:01:12 UTC 2025
    - 8.8K bytes
    - Viewed (0)
  7. okhttp-dnsoverhttps/api/okhttp-dnsoverhttps.api

    	public static final field MAX_RESPONSE_SIZE I
    	public final fun client ()Lokhttp3/OkHttpClient;
    	public final fun includeIPv6 ()Z
    	public fun lookup (Ljava/lang/String;)Ljava/util/List;
    	public final fun post ()Z
    	public final fun resolvePrivateAddresses ()Z
    	public final fun resolvePublicAddresses ()Z
    	public final fun url ()Lokhttp3/HttpUrl;
    }
    
    public final class okhttp3/dnsoverhttps/DnsOverHttps$Builder {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sun Feb 27 15:23:43 UTC 2022
    - 1.5K bytes
    - Viewed (0)
  8. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http/HttpMethod.kt

      fun invalidatesCache(method: String): Boolean =
        (
          method == "POST" ||
            method == "PATCH" ||
            method == "PUT" ||
            method == "DELETE" ||
            method == "MOVE"
        )
    
      @JvmStatic // Despite being 'internal', this method is called by popular 3rd party SDKs.
      fun requiresRequestBody(method: String): Boolean =
        (
          method == "POST" ||
            method == "PUT" ||
            method == "PATCH" ||
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 1.6K bytes
    - Viewed (0)
  9. okhttp/src/jvmTest/kotlin/okhttp3/CallTest.kt

        val post1 = server.takeRequest()
        assertThat(post1.body?.utf8()).isEqualTo("body!")
        assertThat(post1.exchangeIndex).isEqualTo(1)
        val post2 = server.takeRequest()
        assertThat(post2.body?.utf8()).isEqualTo("body!")
        assertThat(post2.exchangeIndex).isEqualTo(0)
      }
    
      @Test
      fun postBodyRetransmittedOnFailureRecovery_HTTP2() {
        enableProtocol(Protocol.HTTP_2)
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Jul 31 04:18:40 UTC 2025
    - 146.6K bytes
    - Viewed (0)
  10. okhttp-dnsoverhttps/src/main/kotlin/okhttp3/dnsoverhttps/DnsOverHttps.kt

          apply {
            this.url = url
          }
    
        fun includeIPv6(includeIPv6: Boolean) =
          apply {
            this.includeIPv6 = includeIPv6
          }
    
        fun post(post: Boolean) =
          apply {
            this.post = post
          }
    
        fun resolvePrivateAddresses(resolvePrivateAddresses: Boolean) =
          apply {
            this.resolvePrivateAddresses = resolvePrivateAddresses
          }
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat May 10 11:15:14 UTC 2025
    - 8.6K bytes
    - Viewed (0)
Back to top