Search Options

Results per page
Sort
Preferred Languages
Advance

Results 121 - 130 of 494 for _append (0.05 sec)

  1. android/guava-tests/test/com/google/common/io/CharSourceTest.java

        // TODO(cgdecker): Add CharSource.slice?
        StringBuilder builder = new StringBuilder();
        Reader reader = concatenated.openStream(); // no need to worry about closing
        for (int i = 0; i < 8; i++) {
          builder.append((char) reader.read());
        }
        assertEquals(expected, builder.toString());
      }
    
      static final CharSource BROKEN_READ_SOURCE = new TestCharSource("ABC", READ_THROWS);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/crawler/transformer/AbstractFessFileTransformer.java

            if (fessConfig.isCrawlerDocumentFileAppendBodyContent()) {
                buf.append(content);
            }
            if (fessConfig.isCrawlerDocumentFileAppendMetaContent()) {
                if (buf.length() > 0) {
                    buf.append(' ');
                }
                buf.append(contentMeta);
            }
            final String fileName = getFileName(url, urlEncoding);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 25.6K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/score/ScoreUpdater.java

                try {
                    final long count = b.process();
                    resultBuf.append(b.getClass().getSimpleName()).append(" : ").append(count).append('\n');
                } catch (final Exception e) {
                    logger.warn("Failed to update scores.", e);
                    resultBuf.append(e.getMessage()).append('\n');
                }
            });
            return resultBuf.toString();
        }
    
        /**
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 2K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/exception/JobProcessingExceptionTest.java

            // Test constructor with a very long message
            final StringBuilder longMessage = new StringBuilder();
            for (int i = 0; i < 1000; i++) {
                longMessage.append("Long message part ").append(i).append(" ");
            }
            final String message = longMessage.toString();
            final JobProcessingException exception = new JobProcessingException(message);
    
            assertNotNull(exception);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 7K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/job/AggregateLogJob.java

            try {
                searchLogHelper.storeSearchLog();
            } catch (final Exception e) {
                logger.error("Failed to store a search log.", e);
                resultBuf.append(e.getMessage()).append("\n");
            }
    
            return resultBuf.toString();
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 1.9K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/util/InputStreamThreadTest.java

        }
    
        public void test_run_bufferSizeLimit() throws InterruptedException {
            StringBuilder inputBuilder = new StringBuilder();
            for (int i = 1; i <= 15; i++) {
                inputBuilder.append("line").append(i).append("\n");
            }
    
            InputStream is = new ByteArrayInputStream(inputBuilder.toString().getBytes(StandardCharsets.UTF_8));
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 07:34:10 UTC 2025
    - 11.7K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/exception/DataStoreCrawlingExceptionTest.java

            // Test with very long URL
            StringBuilder longUrlBuilder = new StringBuilder("http://example.com/");
            for (int i = 0; i < 1000; i++) {
                longUrlBuilder.append("path").append(i).append("/");
            }
            String longUrl = longUrlBuilder.toString();
            String message = "Error with long URL";
            Exception cause = new RuntimeException("Error cause");
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 9.5K bytes
    - Viewed (0)
  8. samples/static-server/src/main/java/okhttp3/sample/SampleServer.java

        StringBuilder response = new StringBuilder();
        response.append(String.format("<html><head><title>%s</title></head><body>", basePath));
        response.append(String.format("<h1>%s</h1>", basePath));
        for (String file : directory.list()) {
          response.append(String.format("<div class='file'><a href='%s'>%s</a></div>",
              basePath + file, file));
        }
        response.append("</body></html>");
    
        return new MockResponse()
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Jan 02 02:50:44 UTC 2019
    - 4.7K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/io/CharSource.java

       *       use {@link String#getChars(int, int, char[], int)} instead of copying characters one by
       *       one with {@link CharSequence#charAt(int)}.
       *   <li>use {@link Appendable#append(CharSequence)} in {@link #copyTo(Appendable)} and {@link
       *       #copyTo(CharSink)}. We know this is correct since strings are immutable and so the length
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 16 17:42:14 UTC 2025
    - 25.7K bytes
    - Viewed (0)
  10. guava/src/com/google/common/io/CharSource.java

       *       use {@link String#getChars(int, int, char[], int)} instead of copying characters one by
       *       one with {@link CharSequence#charAt(int)}.
       *   <li>use {@link Appendable#append(CharSequence)} in {@link #copyTo(Appendable)} and {@link
       *       #copyTo(CharSink)}. We know this is correct since strings are immutable and so the length
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 16 17:42:14 UTC 2025
    - 25.3K bytes
    - Viewed (0)
Back to top