Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 38 for newlines (0.22 sec)

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

        bufferHelper("no newlines at all", "no newlines at all");
        bufferHelper("two lines\nbut no newline at end", "two lines\n", "but no newline at end");
        bufferHelper(
            "\nempty first line\nno newline at end", "\n", "empty first line\n", "no newline at end");
        bufferHelper("three\rlines\rno newline at end", "three\r", "lines\r", "no newline at end");
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 4.9K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/io/LineBufferTest.java

        bufferHelper("no newlines at all", "no newlines at all");
        bufferHelper("two lines\nbut no newline at end", "two lines\n", "but no newline at end");
        bufferHelper(
            "\nempty first line\nno newline at end", "\n", "empty first line\n", "no newline at end");
        bufferHelper("three\rlines\rno newline at end", "three\r", "lines\r", "no newline at end");
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 4.9K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/dict/mapping/CharMappingItem.java

        public String[] getInputs() {
            return inputs;
        }
    
        /**
         * Returns all input sequences joined with newline characters as a single string.
         * This is useful for display purposes in forms and user interfaces.
         *
         * @return string representation of all inputs separated by newlines, or empty string if inputs is null
         */
        public String getInputsValue() {
            if (inputs == null) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 7.6K bytes
    - Viewed (0)
  4. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/url/-Url.kt

        }
        i += Character.charCount(codePoint)
      }
    }
    
    /**
     * Returns a substring of `input` on the range `[pos..limit)` with the following
     * transformations:
     *
     *  * Tabs, newlines, form feeds and carriage returns are skipped.
     *
     *  * In queries, ' ' is encoded to '+' and '+' is encoded to "%2B".
     *
     *  * Characters in `encodeSet` are percent-encoded.
     *
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 7.3K bytes
    - Viewed (0)
  5. okhttp-sse/src/main/kotlin/okhttp3/sse/internal/ServerSentEventReader.kt

            }
    
            -1 -> {
              val lineEnd = source.indexOfElement(CRLF)
              if (lineEnd != -1L) {
                // Skip the line and newline
                source.skip(lineEnd)
                source.select(options)
              } else {
                return false // No more newlines.
              }
            }
    
            else -> throw AssertionError()
          }
        }
      }
    
      @Throws(IOException::class)
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 30 11:47:47 UTC 2025
    - 4.3K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/helper/NotificationHelperTest.java

            assertTrue(result.contains("content"));
            assertTrue(result.contains("newlines"));
            assertTrue(result.contains("tabs"));
            // JSON should be properly escaped
            assertTrue(result.contains("Test"));
        }
    
        public void test_toSlackMessage_withWhitespaceContent() {
            MockSMailPostingDiscloser discloser = new MockSMailPostingDiscloser();
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 10 13:41:04 UTC 2025
    - 19.6K bytes
    - Viewed (0)
  7. okhttp/src/commonJvmAndroid/kotlin/okhttp3/MultipartBody.kt

         * with Chrome's behavior (which also experimentally seems to match what IE does), but if you
         * actually want to have a good chance of things working, please avoid double-quotes, newlines,
         * percent signs, and the like in your field names.
         */
        internal fun StringBuilder.appendQuotedString(key: String) {
          append('"')
          for (i in 0 until key.length) {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 10.9K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/util/InputStreamThread.java

                        logger.debug("Failed to process an input stream.", e);
                    }
                }
            }
        }
    
        /**
         * Returns all buffered lines as a single string, separated by newlines.
         *
         * @return the concatenated output of all buffered lines
         */
        public String getOutput() {
            final StringBuilder buf = new StringBuilder(100);
            for (final String value : list) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 4.6K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/auth/chain/CommandChain.java

                    }
                }
            }
    
            /**
             * Gets the captured output as a single string.
             * @return The captured output with newlines.
             */
            public String getOutput() {
                final StringBuilder buf = new StringBuilder(100);
                for (final String value : list) {
                    buf.append(value).append("\n");
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 13.1K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/util/KuromojiCSVUtilTest.java

            assertEquals("\",\"", result);
        }
    
        public void test_quoteEscape_special_characters() {
            String input;
            String result;
    
            // Newlines
            input = "line1\nline2";
            result = KuromojiCSVUtil.quoteEscape(input);
            assertEquals("line1\nline2", result);
    
            // Tabs
            input = "tab\tcharacter";
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 07:34:10 UTC 2025
    - 18.7K bytes
    - Viewed (0)
Back to top