Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 181 for pos2 (0.01 sec)

  1. src/test/java/org/codelibs/fess/dict/kuromoji/KuromojiFileTest.java

            file1 = File.createTempFile("kuromoji_", ".txt");
            FileUtil.write(
                    file1.getAbsolutePath(),
                    "token1,seg1,reading1,pos1\ntoken2,seg2,reading2,pos2\ntoken3,seg3,reading3,pos3"
                            .getBytes(Constants.UTF_8));
        }
    
        @Override
        protected void tearDown() throws Exception {
            file1.delete();
        }
        */
    
        @Override
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Mar 15 06:53:53 UTC 2025
    - 7.3K bytes
    - Viewed (0)
  2. 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)
  3. 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)
  4. okhttp/src/commonJvmAndroid/kotlin/okhttp3/Cookie.kt

          s: String,
          pos: Int,
          limit: Int,
        ): Long {
          var pos = pos
          pos = dateCharacterOffset(s, pos, limit, false)
    
          var hour = -1
          var minute = -1
          var second = -1
          var dayOfMonth = -1
          var month = -1
          var year = -1
          val matcher = TIME_PATTERN.matcher(s)
    
          while (pos < limit) {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon May 05 16:01:00 UTC 2025
    - 23.1K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. guava-tests/test/com/google/common/eventbus/ReentrantEventsTest.java

        bus.register(recorder);
    
        bus.post(FIRST);
    
        assertEquals(
            "EventRecorder expected events in order",
            Lists.<Object>newArrayList(FIRST, SECOND),
            recorder.eventsReceived);
      }
    
      public class EventProcessor {
        @Subscribe
        public void listenForStrings(String event) {
          bus.post(SECOND);
        }
      }
    
      public class EventRecorder {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 2.6K bytes
    - Viewed (0)
  8. okhttp/src/jvmTest/kotlin/okhttp3/URLConnectionTest.kt

        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 fullyBufferedPostIsTooShort() {
        server.enqueue(
          MockResponse(body = "A"),
        )
        val requestBody: RequestBody =
          object : RequestBody() {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Jun 21 20:36:35 UTC 2025
    - 133.2K bytes
    - Viewed (0)
  9. 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)
  10. 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)
Back to top