- Sort Score
- Num 10 results
- Language All
Results 141 - 150 of 591 for _append (0.11 seconds)
-
android/guava/src/com/google/common/collect/MoreCollectors.java
throw exceptionSupplier.get(); } StringBuilder sb = new StringBuilder().append("expected one element but was: <").append(element); for (Object o : extras) { sb.append(", ").append(o); } if (overflow) { sb.append(", ..."); } sb.append('>'); throw new IllegalArgumentException(sb.toString()); } void add(T o) {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Feb 18 16:22:33 GMT 2026 - 6.3K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/util/InputStreamThreadTest.java
@Test 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));Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sun Jan 11 08:43:05 GMT 2026 - 12K bytes - Click Count (0) -
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);Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sun Jan 11 08:43:05 GMT 2026 - 7.2K bytes - Click Count (0) -
android/guava/src/com/google/common/util/concurrent/AbstractFuture.java
if (getClass().getName().startsWith("com.google.common.util.concurrent.")) { builder.append(getClass().getSimpleName()); } else { builder.append(getClass().getName()); } builder.append('@').append(toHexString(identityHashCode(this))).append("[status="); if (isCancelled()) { builder.append("CANCELLED"); } else if (isDone()) { addDoneString(builder); } else {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Mar 07 14:39:00 GMT 2026 - 43.6K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/helper/NotificationHelperTest.java
StringBuilder longContent = new StringBuilder(); for (int i = 0; i < 100; i++) { longSubject.append("Subject Line ").append(i).append(" "); longContent.append("Content Line ").append(i).append(" with more text. "); } discloser.setSubject(longSubject.toString()); discloser.setPlainText(longContent.toString());
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Wed Jan 14 14:29:07 GMT 2026 - 20K bytes - Click Count (0) -
guava/src/com/google/common/base/Strings.java
if (placeholderStart == -1) { break; } builder.append(template, templateStart, placeholderStart); builder.append(lenientToString(args[i++])); templateStart = placeholderStart + 2; } builder.append(template, templateStart, template.length()); // if we run out of placeholders, append the extra args in square brackets if (i < args.length) { String prefix = " [";
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Jan 29 22:14:05 GMT 2026 - 12.5K bytes - Click Count (0) -
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()); } assertThat(builder.toString()).isEqualTo(expected); } static final CharSource BROKEN_READ_SOURCE = new TestCharSource("ABC", READ_THROWS);
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 12 17:47:10 GMT 2026 - 11.6K bytes - Click Count (0) -
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(); }Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Jul 17 08:28:31 GMT 2025 - 1.9K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/CertificatePinner.kt
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Jan 27 09:00:39 GMT 2026 - 14.2K bytes - Click Count (1) -
src/test/java/org/codelibs/fess/exception/GsaConfigExceptionTest.java
@Test public void test_veryLongMessage() { // Test with very long message StringBuilder sb = new StringBuilder(); for (int i = 0; i < 1000; i++) { sb.append("Very long error message line ").append(i).append(". "); } String longMessage = sb.toString(); GsaConfigException exception = new GsaConfigException(longMessage); assertNotNull(exception);Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sun Jan 11 08:43:05 GMT 2026 - 7.5K bytes - Click Count (0)