Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 431 - 440 of 475 for StringBuilder (0.07 seconds)

  1. android/guava/src/com/google/common/base/Predicates.java

        }
    
        @GwtIncompatible @J2ktIncompatible private static final long serialVersionUID = 0;
      }
    
      private static String toStringHelper(String methodName, Iterable<?> components) {
        StringBuilder builder = new StringBuilder("Predicates.").append(methodName).append('(');
        boolean first = true;
        for (Object o : components) {
          if (!first) {
            builder.append(',');
          }
          builder.append(o);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Mar 08 16:16:42 GMT 2026
    - 26.6K bytes
    - Click Count (0)
  2. src/test/java/org/codelibs/fess/script/groovy/GroovyEngineTest.java

        /**
         * Test very long scripts
         */
        @Test
        public void test_evaluate_longScript() {
            final Map<String, Object> params = new HashMap<>();
            final StringBuilder sb = new StringBuilder();
            sb.append("def result = 0\n");
            for (int i = 0; i < 100; i++) {
                sb.append("result += 1\n");
            }
            sb.append("return result");
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Mar 15 06:03:38 GMT 2026
    - 29.1K bytes
    - Click Count (0)
  3. android/guava/src/com/google/common/collect/Iterators.java

       * The iterator will be left exhausted: its {@code hasNext()} method will return {@code false}.
       */
      public static String toString(Iterator<?> iterator) {
        StringBuilder sb = new StringBuilder().append('[');
        boolean first = true;
        while (iterator.hasNext()) {
          if (!first) {
            sb.append(", ");
          }
          first = false;
          sb.append(iterator.next());
        }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Sep 16 12:42:11 GMT 2025
    - 51.4K bytes
    - Click Count (0)
  4. guava/src/com/google/common/collect/Iterators.java

       * The iterator will be left exhausted: its {@code hasNext()} method will return {@code false}.
       */
      public static String toString(Iterator<?> iterator) {
        StringBuilder sb = new StringBuilder().append('[');
        boolean first = true;
        while (iterator.hasNext()) {
          if (!first) {
            sb.append(", ");
          }
          first = false;
          sb.append(iterator.next());
        }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Sep 16 12:42:11 GMT 2025
    - 51.4K bytes
    - Click Count (0)
  5. android/guava/src/com/google/common/primitives/ImmutableDoubleArray.java

       * Arrays#toString(double[])}, for example {@code "[1, 2, 3]"}.
       */
      @Override
      public String toString() {
        if (isEmpty()) {
          return "[]";
        }
        StringBuilder builder = new StringBuilder(length() * 5); // rough estimate is fine
        builder.append('[').append(array[start]);
    
        for (int i = start + 1; i < end; i++) {
          builder.append(", ").append(array[i]);
        }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Dec 12 14:49:24 GMT 2025
    - 22.7K bytes
    - Click Count (0)
  6. android/guava/src/com/google/common/primitives/ImmutableIntArray.java

       * Arrays#toString(int[])}, for example {@code "[1, 2, 3]"}.
       */
      @Override
      public String toString() {
        if (isEmpty()) {
          return "[]";
        }
        StringBuilder builder = new StringBuilder(length() * 5); // rough estimate is fine
        builder.append('[').append(array[start]);
    
        for (int i = start + 1; i < end; i++) {
          builder.append(", ").append(array[i]);
        }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Dec 12 14:49:24 GMT 2025
    - 21.9K bytes
    - Click Count (0)
  7. src/main/java/org/codelibs/fess/helper/SearchHelper.java

            @SuppressWarnings("unchecked")
            final Set<String> highlightQueries = (Set<String>) params.getAttribute(Constants.HIGHLIGHT_QUERIES);
            if (highlightQueries != null) {
                final StringBuilder buf = new StringBuilder(100);
                highlightQueries.stream().forEach(q -> {
                    buf.append("&hq=").append(LaFunctions.u(q));
                });
                data.setAppendHighlightParams(buf.toString());
            }
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Dec 20 05:56:45 GMT 2025
    - 36.3K bytes
    - Click Count (0)
  8. api/maven-api-settings/src/main/mdo/settings.mdo

          </fields>
          <codeSegments>
            <codeSegment>
              <version>1.0.0+</version>
              <code>
                <![CDATA[
    
        public String toString() {
            StringBuilder sb = new StringBuilder(128);
            sb.append("Mirror[");
            sb.append("id=").append(this.getId());
            sb.append(",mirrorOf=").append(this.getMirrorOf());
            sb.append(",url=").append(this.getUrl());
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Sun May 18 09:15:56 GMT 2025
    - 33.8K bytes
    - Click Count (0)
  9. src/main/java/jcifs/smb1/smb1/SID.java

        /**
         * Return the numeric representation of this sid such as
         * {@code S-1-5-21-1496946806-2192648263-3843101252-1029}.
         */
        @Override
        public String toString() {
            StringBuilder ret = new StringBuilder("S-").append(revision & 0xFF).append("-");
    
            if (identifier_authority[0] != (byte) 0 || identifier_authority[1] != (byte) 0) {
                ret.append("0x");
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 31.5K bytes
    - Click Count (0)
  10. guava-tests/test/com/google/common/primitives/DoublesTest.java

        if (expected != null && !Doubles.FLOATING_POINT_PATTERN.matcher(input).matches()) {
          // TODO(cpovirk): Use SourceCodeEscapers if it is added to Guava.
          StringBuilder escapedInput = new StringBuilder();
          for (char c : input.toCharArray()) {
            if (c >= 0x20 && c <= 0x7E) {
              escapedInput.append(c);
            } else {
              escapedInput.append(String.format("\\u%04x", (int) c));
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Mar 08 01:43:32 GMT 2026
    - 30.9K bytes
    - Click Count (0)
Back to Top