- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 43 for newlines (0.05 seconds)
-
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");
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Mar 17 19:26:39 GMT 2026 - 4.7K bytes - Click Count (0) -
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() } } } }Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Jan 27 09:00:39 GMT 2026 - 4.3K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/dict/mapping/CharMappingItem.java
return inputs == null ? null : inputs.clone(); } /** * 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) {
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Nov 20 07:09:00 GMT 2025 - 7.9K bytes - Click Count (0) -
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")); } @Test public void test_toSlackMessage_withWhitespaceContent() { MockSMailPostingDiscloser discloser = new MockSMailPostingDiscloser();
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Wed Jan 14 14:29:07 GMT 2026 - 20K bytes - Click Count (0) -
build-logic/build-update-utils/src/main/kotlin/gradlebuild/buildutils/runtimes/CheckTargetRuntimes.kt
val blockContents = listOf("// Auto-generated by `:checkTargetRuntimes --fix`") + newTargetRuntimes val newLines = lines.subList(0, start + 1) + blockContents.map { " ".repeat(8) + it } + lines.subList(end, lines.size) return BuildFileMutation.Success(newLines.joinToString("\n")) } private fun computeExtraDetails( declared: Set<TargetRuntime>,Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Wed Mar 11 22:40:18 GMT 2026 - 13.8K bytes - Click Count (0) -
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");Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Nov 28 16:29:12 GMT 2025 - 14.4K bytes - Click Count (0) -
src/cmd/asm/internal/lex/input.go
acceptArg = false default: in.Error("bad definition for macro:", name) } } } var tokens []Token // Scan to newline. Backslashes escape newlines. for tok != '\n' { if tok == scanner.EOF { in.Error("missing newline in definition for macro:", name) } if tok == '\\' { tok = in.Stack.Next() if tok != '\n' && tok != '\\' {
Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Wed Nov 12 03:59:40 GMT 2025 - 12.4K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/util/KuromojiCSVUtilTest.java
assertEquals("\",\"", result); } @Test 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";
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sun Jan 11 08:43:05 GMT 2026 - 18.9K bytes - Click Count (0) -
src/cmd/asm/internal/asm/parse.go
next: // Skip newlines. var tok lex.ScanToken for { tok = p.nextToken() // We save the line number here so error messages from this instruction // are labeled with this line. Otherwise we complain after we've absorbed // the terminating newline and the line numbers are off by one in errors. p.lineNum = p.lex.Line() switch tok {Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Tue Feb 17 19:57:47 GMT 2026 - 37.3K bytes - Click Count (0) -
src/cmd/api/main_test.go
} func (w *Walker) emitf(format string, args ...any) { f := strings.Join(w.scope, ", ") + ", " + fmt.Sprintf(format, args...) if strings.Contains(f, "\n") { panic("feature contains newlines: " + f) } if _, dup := w.features[f]; dup { panic("duplicate feature inserted: " + f) } w.features[f] = true if verbose { log.Printf("feature: %s", f) } }
Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Mon Mar 02 13:20:41 GMT 2026 - 31.4K bytes - Click Count (0)