Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 359 for StringBuilder$ (0.31 sec)

  1. src/main/java/org/codelibs/core/io/CopyUtil.java

        // from File to StringBuilder
        //
        /**
         * プラットフォームのデフォルトエンコーディングでファイルから{@link StringBuilder}へコピーします。
         *
         * @param in
         *            ファイル。{@literal null}であってはいけません
         * @param out
         *            {@link StringBuilder}。{@literal null}であってはいけません
         * @return コピーした文字数
         */
        public static int copy(final File in, final StringBuilder out) {
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 52.4K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/core/text/JsonUtil.java

         */
        public static String escape(final String value) {
            if (value == null) {
                return null;
            }
    
            char c;
            final int len = value.length();
            final StringBuilder buf = new StringBuilder(len * 2);
    
            for (int i = 0; i < len; i++) {
                c = value.charAt(i);
                switch (c) {
                case '\\':
                case '"':
                    buf.append('\\');
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  3. fess-crawler-opensearch/src/test/java/org/codelibs/fess/crawler/util/CrawlerWebServer.java

            try {
                final File tempDir = File.createTempFile("crawlerDocRoot", "");
                tempDir.delete();
                tempDir.mkdirs();
    
                final StringBuilder buf = new StringBuilder();
                buf.append("User-agent: *").append('\n');
                buf.append("Disallow: /admin/").append('\n');
                buf.append("Disallow: /websvn/").append('\n');
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Nov 07 04:44:10 UTC 2024
    - 5K bytes
    - Viewed (0)
  4. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/source/model/TypeMetaData.java

            if (varargs) {
                rawType.arrayDimensions++;
            }
            return rawType;
        }
    
        public String getSignature() {
            final StringBuilder builder = new StringBuilder();
    
            visitSignature(new SignatureVisitor() {
                @Override
                public void visitText(String text) {
                    builder.append(text);
                }
    
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 6.1K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/core/lang/StringUtil.java

        public static String toHex(final int i) {
            final StringBuilder buf = new StringBuilder();
            appendHex(buf, i);
            return new String(buf);
        }
    
        /**
         * 文字列に、数値を16進数に変換した文字列を追加します。
         *
         * @param buf
         *            追加先の文字列
         * @param i
         *            数値
         */
        public static void appendHex(final StringBuilder buf, final byte i) {
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 21.7K bytes
    - Viewed (0)
  6. android/guava-tests/benchmark/com/google/common/io/CharStreamsCopyBenchmark.java

      @BeforeExperiment
      public void setUp() {
        // precalculate some random strings of ascii characters.
        StringBuilder sb = new StringBuilder();
        Random random = new Random(0xdeadbeef); // for unpredictable but reproducible behavior
        sb.ensureCapacity(size);
        for (int k = 0; k < size; k++) {
          // [9-127) includes all ascii non-control characters
          sb.append((char) (random.nextInt(127 - 9) + 9));
        }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Feb 23 18:59:54 UTC 2023
    - 3.2K bytes
    - Viewed (0)
  7. guava-tests/benchmark/com/google/common/io/CharStreamsCopyBenchmark.java

      @BeforeExperiment
      public void setUp() {
        // precalculate some random strings of ascii characters.
        StringBuilder sb = new StringBuilder();
        Random random = new Random(0xdeadbeef); // for unpredictable but reproducible behavior
        sb.ensureCapacity(size);
        for (int k = 0; k < size; k++) {
          // [9-127) includes all ascii non-control characters
          sb.append((char) (random.nextInt(127 - 9) + 9));
        }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Feb 23 18:59:54 UTC 2023
    - 3.2K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/app/service/FessAppService.java

     */
    package org.codelibs.fess.app.service;
    
    public abstract class FessAppService {
    
        protected static String wrapQuery(final String query) {
            final StringBuilder sb = new StringBuilder();
            if (!query.startsWith("*")) {
                sb.append("*");
            }
            sb.append(query);
            if (!query.endsWith("*")) {
                sb.append("*");
            }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 1K bytes
    - Viewed (0)
  9. compat/maven-artifact/src/main/java/org/apache/maven/artifact/DefaultArtifact.java

        }
    
        @Override
        public String getDependencyConflictId() {
            StringBuilder sb = new StringBuilder(128);
            sb.append(getGroupId());
            sb.append(':');
            appendArtifactTypeClassifierString(sb);
            return sb.toString();
        }
    
        private void appendArtifactTypeClassifierString(StringBuilder sb) {
            sb.append(getArtifactId());
            sb.append(':');
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 14.6K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/es/config/bsentity/BsElevateWordToLabel.java

        //                                                                      ==============
        @Override
        protected String doBuildColumnString(String dm) {
            StringBuilder sb = new StringBuilder();
            sb.append(dm).append(elevateWordId);
            sb.append(dm).append(labelTypeId);
            if (sb.length() > dm.length()) {
                sb.delete(0, dm.length());
            }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 4.5K bytes
    - Viewed (0)
Back to top