Search Options

Results per page
Sort
Preferred Languages
Advance

Results 311 - 320 of 359 for StringBuilder (0.13 sec)

  1. guava/src/com/google/common/primitives/UnsignedInts.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 * 5);
        builder.append(toString(array[0]));
        for (int i = 1; i < array.length; i++) {
          builder.append(separator).append(toString(array[i]));
        }
        return builder.toString();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 21:17:54 UTC 2024
    - 13.7K bytes
    - Viewed (0)
  2. okhttp-idna-mapping-table/src/main/kotlin/okhttp3/internal/idn/MappingTables.kt

      val simplified = mergeAdjacentRanges(table.mappings)
      val withoutSectionSpans = withoutSectionSpans(simplified)
      val sections = sections(withoutSectionSpans)
    
      val rangesBuffer = Buffer()
      val mappingsBuffer = StringBuilder()
      val sectionIndexBuffer = Buffer()
    
      var previousMappedRanges: List<MappedRange>? = null
    
      for ((section, sectionMappedRanges) in sections) {
        // Skip sequential ranges when they are equal.
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  3. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/ftp/FtpClient.java

                if (port == -1) {
                    port = DEFAULT_FTP_PORT;
                }
                return port;
            }
    
            public String toUrl(final String path) {
                final StringBuilder buf = new StringBuilder(100);
                buf.append("ftp://");
                buf.append(getHost());
                final int port = getPort();
                if (port != DEFAULT_FTP_PORT) {
                    buf.append(':').append(port);
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Sat Oct 12 01:41:37 UTC 2024
    - 25.7K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/core/convert/DateConversionUtil.java

         *
         * @param pattern
         *            パターン文字列
         * @return 区切り文字を含まないプレーンなパターン文字列
         */
        protected static String toPlainPattern(final String pattern) {
            final StringBuilder buf = new StringBuilder(pattern.length());
            for (int i = 0; i < pattern.length(); ++i) {
                final char ch = pattern.charAt(i);
                if (Character.isLetterOrDigit(ch) || Character.isWhitespace(ch)) {
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 21.5K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb/SmbResourceLocatorImpl.java

            return dunc;
        }
    
    
        /**
         * {@inheritDoc}
         *
         * @see java.lang.Object#toString()
         */
        @Override
        public String toString () {
            StringBuilder sb = new StringBuilder(this.url.toString());
            sb.append('[');
            if ( this.unc != null ) {
                sb.append("unc=");
                sb.append(this.unc);
            }
            if ( this.canon != null ) {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sat Jul 20 08:24:53 UTC 2019
    - 23.9K bytes
    - Viewed (0)
  6. android/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));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 02:56:12 UTC 2024
    - 32.2K bytes
    - Viewed (0)
  7. guava/src/com/google/common/primitives/Bytes.java

          for (int i = start; i < end; i++) {
            result = 31 * result + Bytes.hashCode(array[i]);
          }
          return result;
        }
    
        @Override
        public String toString() {
          StringBuilder builder = new StringBuilder(size() * 5);
          builder.append('[').append(array[start]);
          for (int i = start + 1; i < end; i++) {
            builder.append(", ").append(array[i]);
          }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Aug 27 16:47:48 UTC 2024
    - 15.3K bytes
    - Viewed (0)
  8. android/guava-testlib/test/com/google/common/testing/ArbitraryInstancesTest.java

        assertThat(ArbitraryInstances.get(StringBuilder.class).toString()).isEmpty();
        assertThat(ArbitraryInstances.get(StringBuffer.class).toString()).isEmpty();
        assertFreshInstanceReturned(
            ArrayList.class,
            HashMap.class,
            Appendable.class,
            StringBuilder.class,
            StringBuffer.class,
            Throwable.class,
            Exception.class);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 21.8K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/io/FilesTest.java

        Files.copy(i18nFile, out);
        assertEquals(I18N, out.toString("UTF-8"));
      }
    
      public void testCopyToAppendable() throws IOException {
        File i18nFile = getTestFile("i18n.txt");
        StringBuilder sb = new StringBuilder();
        Files.copy(i18nFile, UTF_8, sb);
        assertEquals(I18N, sb.toString());
      }
    
      public void testCopyFile() throws IOException {
        File i18nFile = getTestFile("i18n.txt");
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 23 14:22:54 UTC 2024
    - 22.1K bytes
    - Viewed (0)
  10. test-site/activator-launch-1.3.2.jar

    apply(int); public final CharSequence subSequence(int, int); public final StringBuilder append(Object); public final StringBuilder append(String); public final StringBuilder append(int); private StringBuilder append(char); public final String toString(); public final String mkString(); private void StringBuilder(StringBuilder); private void StringBuilder(String); public void StringBuilder(); } scala/collection/mutable/StringBuilder$.class package scala.collection.mutable; public final synchronized class...
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Mon Apr 20 08:41:37 UTC 2015
    - 1.2M bytes
    - Viewed (0)
Back to top