Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 142 for pos1 (0.02 sec)

  1. src/main/java/org/codelibs/core/lang/StringUtil.java

            final StringBuilder buf = new StringBuilder(100);
            int pos = 0;
            int pos2 = 0;
            while (true) {
                pos = text.indexOf(fromText, pos2);
                if (pos == 0) {
                    buf.append(toText);
                    pos2 = fromText.length();
                } else if (pos > 0) {
                    buf.append(text.substring(pos2, pos));
                    buf.append(toText);
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 21.9K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/app/web/api/admin/dict/kuromoji/ApiAdminDictKuromojiAction.java

         * @param dictId the dictionary ID
         * @param body the request body containing Kuromoji item information
         * @return JSON response with result status
         */
        // POST /api/admin/dict/kuromoji/setting/{dictId}
        @Execute
        public JsonResponse<ApiResult> post$setting(final String dictId, final CreateBody body) {
            body.dictId = dictId;
            validateApi(body, messages -> {});
            body.crudMode = CrudMode.CREATE;
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 9.4K bytes
    - Viewed (0)
  3. okhttp/src/jvmTest/kotlin/okhttp3/CallTest.kt

          "ConnectionReleased",
          "CallEnd",
        )
    
        val get = server.takeRequest()
        assertThat(get.exchangeIndex).isEqualTo(0)
    
        val post1 = server.takeRequest()
        assertThat(post1.body?.utf8()).isEqualTo("body!")
        assertThat(post1.exchangeIndex).isEqualTo(1)
    
        val get2 = server.takeRequest()
        assertThat(get2.exchangeIndex).isEqualTo(0)
      }
    
      @Test
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Jul 31 04:18:40 UTC 2025
    - 146.6K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/curl/CurlTest.java

            // ## Arrange ##
            final String url = "http://example.com";
    
            // ## Act ##
            final CurlRequest request = Curl.post(url);
    
            // ## Assert ##
            assertNotNull(request);
            assertEquals(Method.POST, request.method());
        }
    
        @Test
        public void test_PutFactoryMethod() {
            // ## Arrange ##
            final String url = "http://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)
  5. android/guava-tests/test/com/google/common/eventbus/EventBusTest.java

        bus.register(compCatcher);
    
        // Two additional event types: Object and Comparable<?> (played by Integer)
        Object objEvent = new Object();
        Object compEvent = 6;
    
        bus.post(EVENT);
        bus.post(objEvent);
        bus.post(compEvent);
    
        // Check the StringCatcher...
        List<String> stringEvents = stringCatcher.getEvents();
        assertEquals("Only one String should be delivered.", 1, stringEvents.size());
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 16 17:42:14 UTC 2025
    - 11.3K bytes
    - Viewed (0)
  6. okhttp/src/jvmTest/kotlin/okhttp3/URLConnectionTest.kt

        val post =
          getResponse(
            Request(
              url = server.url("/"),
              body = "body!".toRequestBody(null),
            ),
          )
        assertContent("def", post)
        val get = server.takeRequest()
        assertThat(get.exchangeIndex).isEqualTo(0)
        val post1 = server.takeRequest()
        assertThat(post1.body?.utf8()).isEqualTo("body!")
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Jun 21 20:36:35 UTC 2025
    - 133.2K bytes
    - Viewed (0)
  7. README.md

    ```java
    import org.codelibs.curl.Curl;
    
    Curl.post("https://api.example.com/items")
        .body("{\"name\":\"item1\"}")
        .header("Content-Type", "application/json")
        .execute(
            response -> System.out.println("Async status: " + response.getHttpStatusCode()),
            error -> error.printStackTrace());
    ```
    
    ## API Overview
    
    - `org.codelibs.curl.Curl`: entry point for HTTP methods (GET, POST, PUT, DELETE, HEAD, OPTIONS, CONNECT, TRACE).
    Registered: Thu Sep 04 15:34:10 UTC 2025
    - Last Modified: Sat Jul 05 01:11:14 UTC 2025
    - 2.5K bytes
    - Viewed (0)
  8. 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)
  9. 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)
  10. 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)
Back to top