Search Options

Results per page
Sort
Preferred Languages
Advance

Results 351 - 360 of 400 for StringBuilder (0.16 sec)

  1. 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 Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 30.9K bytes
    - Viewed (0)
  2. android/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 Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Feb 09 16:22:33 UTC 2025
    - 13.8K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb/SmbRandomAccessFile.java

            }
            return Encdec.dec_doublebe(this.tmp, 0);
        }
    
        @Override
        public final String readLine() throws SmbException {
            final StringBuilder input = new StringBuilder();
            int c = -1;
            boolean eol = false;
    
            while (!eol) {
                switch (c = read()) {
                case -1:
                case '\n':
                    eol = true;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 18.8K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/dfs/DfsReferralDataImplTest.java

                assertEquals(key, referralData.getKey());
            }
    
            @Test
            @DisplayName("Should handle very long paths")
            void testVeryLongPaths() {
                StringBuilder longPath = new StringBuilder("\\server\\share");
                for (int i = 0; i < 100; i++) {
                    longPath.append("\\subfolder").append(i);
                }
    
                when(mockReferral.getTtl()).thenReturn(300);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 30.6K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/suggest/index/SuggestIndexer.java

            if (logger.isDebugEnabled()) {
                logger.debug("Index from searchWord. word: {}", searchWord);
            }
    
            final long start = System.currentTimeMillis();
            final StringBuilder buf = new StringBuilder(searchWord.length());
            char prev = 0;
            for (final char c : searchWord.toCharArray()) {
                if (!Character.isWhitespace(c)) {
                    buf.append(c);
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Thu Aug 07 02:41:28 UTC 2025
    - 34.8K bytes
    - Viewed (0)
  6. src/main/java/jcifs/http/NetworkExplorer.java

        /** The CIFS context for transport operations */
        private CIFSContext transportContext;
    
        @Override
        public void init() throws ServletException {
    
            final StringBuilder sb = new StringBuilder();
            final byte[] buf = new byte[1024];
            int n;
            String name;
    
            final Properties p = new Properties();
            p.putAll(System.getProperties());
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 23.4K bytes
    - Viewed (0)
  7. okhttp/src/jvmTest/kotlin/okhttp3/ResponseBodyJvmTest.kt

          return hex.decodeHex().toResponseBody(mediaType)
        }
    
        fun exhaust(reader: Reader): String {
          val builder = StringBuilder()
          val buf = CharArray(10)
          var read: Int
          while (reader.read(buf).also { read = it } != -1) {
            builder.appendRange(buf, 0, read)
          }
          return builder.toString()
        }
      }
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 12.4K 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 Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 16 17:42:14 UTC 2025
    - 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 Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Jul 14 14:44:08 UTC 2025
    - 22.1K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb1/http/NetworkExplorer.java

        /** The default domain for authentication */
        private String defaultDomain;
    
        @Override
        public void init() throws ServletException {
            InputStream is;
            final StringBuilder sb = new StringBuilder();
            final byte[] buf = new byte[1024];
            int n, level;
            String name;
    
            Config.setProperty("jcifs.smb1.smb.client.soTimeout", "600000");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 22.6K bytes
    - Viewed (0)
Back to top