Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 11 - 20 of 591 for _append (0.1 seconds)

  1. src/main/java/org/codelibs/fess/util/QueryStringBuilder.java

                if (values == null) {
                    // nothing
                } else if (values.length == 1) {
                    queryBuf.append(' ').append(key).append(":\"").append(values[0]).append('\"');
                } else if (values.length > 1) {
                    boolean first = true;
                    queryBuf.append(" (");
                    for (final String value : values) {
                        if (first) {
                            first = false;
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Aug 07 03:06:29 GMT 2025
    - 12.3K bytes
    - Click Count (0)
  2. android/guava/src/com/google/common/io/AppendableWriter.java

        }
      }
    
      @Override
      public Writer append(char c) throws IOException {
        checkNotClosed();
        target.append(c);
        return this;
      }
    
      @Override
      public Writer append(@Nullable CharSequence charSeq) throws IOException {
        checkNotClosed();
        target.append(charSeq);
        return this;
      }
    
      @Override
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Aug 07 16:37:28 GMT 2025
    - 3.4K bytes
    - Click Count (0)
  3. guava-tests/benchmark/com/google/common/base/JoinerBenchmark.java

        int dummy = 0;
        for (int i = 0; i < reps; i++) {
          StringBuilder sb = new StringBuilder();
          boolean append = false;
          for (String comp : components) {
            if (append) {
              sb.append(DELIMITER_STRING);
            }
            sb.append(comp);
            append = true;
          }
          dummy ^= sb.toString().length();
        }
        return dummy;
      }
    
      /**
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Dec 27 16:19:35 GMT 2024
    - 5K bytes
    - Click Count (0)
  4. okhttp/src/commonJvmAndroid/kotlin/okhttp3/MultipartBody.kt

         */
        internal fun StringBuilder.appendQuotedString(key: String) {
          append('"')
          for (i in 0 until key.length) {
            when (val ch = key[i]) {
              '\n' -> append("%0A")
              '\r' -> append("%0D")
              '"' -> append("%22")
              else -> append(ch)
            }
          }
          append('"')
        }
      }
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 10.9K bytes
    - Click Count (0)
  5. src/test/java/org/codelibs/fess/timer/MonitorTargetTest.java

        }
    
        // Test multiple appends to the same buffer
        @Test
        public void test_multipleAppends() {
            StringBuilder buf = new StringBuilder();
    
            monitorTarget.append(buf, "key1", () -> "value1");
            buf.append(",");
            monitorTarget.append(buf, "key2", () -> 123);
            buf.append(",");
            monitorTarget.append(buf, "key3", () -> null);
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 11.3K bytes
    - Click Count (0)
  6. android/guava-tests/benchmark/com/google/common/io/ByteSourceAsCharSourceReadBenchmark.java

                }
                // otherwise we got the size wrong.  This can happen if the size changes between when
                // we called sizeIfKnown and when we started reading the file (or I guess if
                // maxCharsPerByte is wrong)
                // Fallback to an incremental approach
                StringBuilder builder = new StringBuilder(bufIndex + 32);
                builder.append(buffer, 0, bufIndex);
                buffer = null; // release for gc
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue May 13 18:46:00 GMT 2025
    - 5.2K bytes
    - Click Count (0)
  7. guava-tests/benchmark/com/google/common/io/ByteSourceAsCharSourceReadBenchmark.java

                }
                // otherwise we got the size wrong.  This can happen if the size changes between when
                // we called sizeIfKnown and when we started reading the file (or I guess if
                // maxCharsPerByte is wrong)
                // Fallback to an incremental approach
                StringBuilder builder = new StringBuilder(bufIndex + 32);
                builder.append(buffer, 0, bufIndex);
                buffer = null; // release for gc
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue May 13 18:46:00 GMT 2025
    - 5.2K bytes
    - Click Count (0)
  8. src/main/java/org/codelibs/fess/util/GsaConfigParser.java

            if (v.startsWith("^")) {
                buf.append(v);
                if (!v.endsWith("$")) {
                    buf.append(".*");
                }
            } else if (v.endsWith("$")) {
                buf.append(".*");
                buf.append(v);
            } else if (v.endsWith("/\\E")) {
                buf.append(".*");
                buf.append(v);
                buf.append(".*");
            } else {
                buf.append(v);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 21.6K bytes
    - Click Count (0)
  9. src/main/java/org/codelibs/fess/job/ExecJob.java

            buf.append("-Xlog:gc*,gc+age=trace,safepoint:file=");
            if (logFilePath != null) {
                buf.append(logFilePath);
            } else {
                buf.append(ComponentUtil.getSystemHelper().getLogFilePath());
            }
            buf.append(File.separator);
            buf.append("gc-").append(getExecuteType()).append(".log");
            buf.append(":utctime,pid,tags:filecount=5,filesize=64m");
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 14.2K bytes
    - Click Count (0)
  10. src/main/java/org/codelibs/fess/helper/CrawlerStatsHelper.java

                } catch (final Exception e) {
                    final StringBuilder buf = createStringBuffer(keyObj, getCurrentTimeMillis());
                    buf.append('\t').append("action:begin");
                    buf.append('\t').append("error:").append(escapeValue(e.getLocalizedMessage()).replaceAll("\\s", " "));
                    log(buf);
                }
            });
        }
    
        /**
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Aug 07 03:06:29 GMT 2025
    - 17.4K bytes
    - Click Count (0)
Back to Top