Search Options

Results per page
Sort
Preferred Languages
Advance

Results 201 - 210 of 359 for StringBuilder (0.1 sec)

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

        }
    
        @Override
        public String getSinkContents() throws IOException {
          File file = getFile();
          Reader reader = new InputStreamReader(new FileInputStream(file), UTF_8);
          StringBuilder builder = new StringBuilder();
          CharBuffer buffer = CharBuffer.allocate(100);
          while (reader.read(buffer) != -1) {
            Java8Compatibility.flip(buffer);
            builder.append(buffer);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 17.7K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/MoreCollectors.java

        List<Object> extras;
    
        ToOptionalState() {
          element = null;
          extras = emptyList();
        }
    
        IllegalArgumentException multiples(boolean overflow) {
          StringBuilder sb =
              new StringBuilder().append("expected one element but was: <").append(element);
          for (Object o : extras) {
            sb.append(", ").append(o);
          }
          if (overflow) {
            sb.append(", ...");
          }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 16 21:21:17 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  3. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/DefaultModelBuilder.java

                if (parentData == null) {
                    currentData = superData;
                } else if (!parentIds.add(parentData.getId())) {
                    StringBuilder message = new StringBuilder("The parents form a cycle: ");
                    for (String parentId : parentIds) {
                        message.append(parentId).append(" -> ");
                    }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 83.6K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/es/log/bsentity/BsSearchLog.java

        //                                                                      ==============
        @Override
        protected String doBuildColumnString(String dm) {
            StringBuilder sb = new StringBuilder();
            sb.append(dm).append(accessType);
            sb.append(dm).append(clientIp);
            sb.append(dm).append(hitCount);
            sb.append(dm).append(hitCountRelation);
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/hash/Murmur3Hash32Test.java

            } while (!Character.isValidCodePoint(codePoints[i])
                || (codePoints[i] >= Character.MIN_SURROGATE
                    && codePoints[i] <= Character.MAX_SURROGATE));
          }
          StringBuilder builder = new StringBuilder();
          for (int i = 0; i < codePoints.length; i++) {
            builder.appendCodePoint(codePoints[i]);
          }
          String str = builder.toString();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:29:46 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  6. compat/maven-compat/src/main/java/org/apache/maven/repository/MetadataResolutionResult.java

                return new ArrayList<>();
            }
            return l;
        }
    
        public String toString() {
            if (artifacts == null) {
                return "";
            }
            StringBuilder sb = new StringBuilder(256);
            int i = 1;
            sb.append("---------\n");
            sb.append(artifacts.size()).append('\n');
            for (Artifact a : artifacts) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 9.3K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/primitives/Booleans.java

        checkNotNull(separator);
        if (array.length == 0) {
          return "";
        }
    
        // For pre-sizing a builder, just get the right order of magnitude
        StringBuilder builder = new StringBuilder(array.length * 7);
        builder.append(array[0]);
        for (int i = 1; i < array.length; i++) {
          builder.append(separator).append(array[i]);
        }
        return builder.toString();
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 20.4K bytes
    - Viewed (0)
  8. guava/src/com/google/common/primitives/Booleans.java

        checkNotNull(separator);
        if (array.length == 0) {
          return "";
        }
    
        // For pre-sizing a builder, just get the right order of magnitude
        StringBuilder builder = new StringBuilder(array.length * 7);
        builder.append(array[0]);
        for (int i = 1; i < array.length; i++) {
          builder.append(separator).append(array[i]);
        }
        return builder.toString();
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 20.4K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/core/io/ReaderUtil.java

         * @return テキスト
         */
        public static String readText(final Reader reader) {
            assertArgumentNotNull("reader", reader);
    
            final StringBuilder buf = new StringBuilder(BUF_SIZE);
            CopyUtil.copy(reader, buf);
            return new String(buf);
        }
    
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  10. impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultProjectBuilder.java

                                return problem.getColumnNumber();
                            }
    
                            @Override
                            public String getLocation() {
                                StringBuilder buffer = new StringBuilder(256);
    
                                if (!getSource().isEmpty()) {
                                    buffer.append(getSource());
                                }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 8K bytes
    - Viewed (0)
Back to top