- Sort Score
- Num 10 results
- Language All
Results 51 - 60 of 100 for newlines (0.05 seconds)
-
build-logic/build-update-utils/src/main/kotlin/gradlebuild/buildutils/tasks/UpdateFixedIssuesInReleaseNotes.kt
return pos } if (line.isNotBlank()) { pastBlankLine = true } pos += line.length + 1 // +1 for the newline } return content.length }Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Mon Mar 23 14:49:33 GMT 2026 - 5.1K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/job/JobExecutorTest.java
} @Test public void test_execute_specialCharacters() { // Test scripts with special characters Object result = jobExecutor.execute("test", "script with\nnewline"); assertEquals("Executed: test script with\nnewline", result); result = jobExecutor.execute("test", "script with\ttab"); assertEquals("Executed: test script with\ttab", result);Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Wed Jan 14 14:29:07 GMT 2026 - 9.4K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/dict/mapping/CharMappingItemTest.java
assertArrayEquals(inputs, item.getNewInputs()); assertEquals("result", item.getNewOutput()); } @Test public void test_constructor_withNewlineInOutput() { // Test newline replacement in output String[] inputs = { "input" }; CharMappingItem item = new CharMappingItem(1L, inputs, "line1\nline2"); assertEquals("line1 line2", item.getOutput()); } @Test
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 16K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/job/AggregateLogJobTest.java
}; ComponentUtil.register(mockSearchLogHelper, "searchLogHelper"); // Execute the job String result = aggregateLogJob.execute(); // Verify result ends with newline even with empty message assertNotNull(result); assertEquals("\n", result); } @Test public void test_execute_withNullMessageException() {Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Wed Jan 14 14:29:07 GMT 2026 - 12.3K bytes - Click Count (0) -
internal/s3select/simdj/reader_amd64_test.go
wantB.Reset() err = rec.WriteJSON(&gotB) if err != nil { t.Error(err) } err = want.WriteJSON(&wantB) if err != nil { t.Error(err) } // truncate newline from 'want' wantB.Truncate(wantB.Len() - 1) if !bytes.Equal(gotB.Bytes(), wantB.Bytes()) { t.Errorf("JSON output mismatch.\nwant: %s\ngot: %s", wantB.String(), gotB.String()) } } }) }
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 3.9K bytes - Click Count (0) -
src/cmd/asm/internal/lex/lex.go
// A TokenReader is like a reader, but returns lex tokens of type Token. It also can tell you what // the text of the most recently returned token is, and where it was found. // The underlying scanner elides all spaces except newline, so the input looks like a stream of // Tokens; original spacing is lost but we don't need it. type TokenReader interface { // Next returns the next token. Next() ScanToken
Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Tue Aug 29 18:31:05 GMT 2023 - 4.1K bytes - Click Count (0) -
apache-maven/src/assembly/maven/bin/JvmConfigParser.java
if (outputFile != null) { // Write directly to file - this ensures proper file handle cleanup on Windows // Add newline at end for Windows 'for /f' command compatibility try (Writer writer = Files.newBufferedWriter(outputFile, StandardCharsets.UTF_8)) { writer.write(result);
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Wed Dec 10 16:40:06 GMT 2025 - 6.4K bytes - Click Count (0) -
guava-tests/test/com/google/common/io/CharSourceTester.java
public CharSourceTester( CharSourceFactory factory, String string, String suiteName, String caseDesc, Method method) { super(factory, string, suiteName, caseDesc, method); this.expectedLines = getLines(expected); } @Override protected void setUp() throws Exception { this.source = factory.createSource(data); } public void testOpenStream() throws IOException {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 12 17:47:10 GMT 2026 - 7.4K bytes - Click Count (0) -
maven-tests/mvnw
die() { printf %s\\n "$1" >&2 exit 1 } trim() { # MWRAPPER-139: # Trims trailing and leading whitespace, carriage returns, tabs, and linefeeds. # Needed for removing poorly interpreted newline sequences when running in more # exotic environments such as mingw bash on Windows. printf "%s" "${1}" | tr -d '[:space:]' }Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Thu Sep 25 18:22:49 GMT 2025 - 10.4K bytes - Click Count (0) -
src/cmd/asm/internal/lex/lex_test.go
}, { "#define A() A()\nA()", "recursive macro invocation", }, { "#define A a\n#define A a\n", "redefinition of macro", }, { "#define A a", "no newline after macro definition", }, } func TestBadLex(t *testing.T) { for _, test := range badLexTests { input := NewInput(test.error) input.Push(NewTokenizer(test.error, strings.NewReader(test.input), nil))Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Tue Aug 29 07:48:38 GMT 2023 - 5.8K bytes - Click Count (0)