- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 301 for NEWLINE (0.27 sec)
-
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"); bufferHelper("mixed\nline\rendings\r\n", "mixed\n", "line\r", "endings\r\n"); }
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Mon Dec 04 17:37:03 UTC 2017 - 4.7K bytes - Viewed (0) -
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"); bufferHelper("mixed\nline\rendings\r\n", "mixed\n", "line\r", "endings\r\n"); }
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Mon Dec 04 17:37:03 UTC 2017 - 4.7K bytes - Viewed (0) -
platforms/core-runtime/logging/src/main/java/org/gradle/internal/logging/text/TreeFormatter.java
private enum Separator { NewLine(true, TextUtil.getPlatformLineSeparator()), Empty(false, " "), Colon(false, ": "), ColonNewLine(true, ":" + TextUtil.getPlatformLineSeparator()); Separator(boolean newLine, String text) { this.newLine = newLine; this.text = text; } final boolean newLine; final String text; }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Apr 22 14:04:39 UTC 2024 - 11.8K bytes - Viewed (0) -
src/cmd/go/testdata/script/build_cwd_newline.txt
[GOOS:plan9] skip 'filesystem disallows \n in paths' # If the directory path containing a package to be built includes a newline, # the go command should refuse to even try to build the package. env DIR=$WORK${/}${newline}'package main'${newline}'func main() { panic("uh-oh")'${newline}'/*' mkdir $DIR cd $DIR exec pwd cp $WORK/go.mod ./go.mod cp $WORK/main.go ./main.go cp $WORK/main_nocgo.go ./main_nocgo.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Jun 07 16:54:27 UTC 2023 - 3.4K bytes - Viewed (0) -
test/eof.go
// Copyright 2010 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. // Test a source file does not need a final newline. // Compiles but does not run. // No newline at the end of this file.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 02 13:43:18 UTC 2016 - 308 bytes - Viewed (0) -
src/cmd/compile/internal/syntax/testdata/issue49205.go
// test case from issue type _ interface{ m /* ERROR unexpected name int in interface type; possibly missing semicolon or newline or } */ int } // other cases where the fix for this issue affects the error message const ( x int = 10 /* ERROR unexpected literal "foo" in grouped declaration; possibly missing semicolon or newline or \) */ "foo" )
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 30 19:19:55 UTC 2024 - 952 bytes - Viewed (0) -
src/cmd/go/testdata/script/test_fail_newline.txt
# Check that a newline is printed after the buffer's contents. cd fail ! go test . ! stderr . stdout '^exitcode=1\n' stdout '^FAIL\s+example/fail' # In local directory mode output is streamed, so we don't know # whether the test printed anything at all, so we print the exit code # (just in case it failed without emitting any output at all), # and that happens to add the needed newline as well. ! go test ! stderr .
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Nov 04 21:33:23 UTC 2021 - 1.4K bytes - Viewed (0) -
test/fixedbugs/issue15611.go
// Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package p // These error messages are for the invalid literals on lines 19 and 20: // ERROR "newline in character literal|newline in rune literal" // ERROR "invalid character literal \(missing closing '\)|rune literal not terminated" const ( _ = '' // ERROR "empty character literal or unescaped ' in character literal|empty rune literal"
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Mar 05 00:40:38 UTC 2020 - 685 bytes - Viewed (0) -
src/cmd/compile/internal/syntax/testdata/issue23434.go
// parser after missing type. There should be exactly // one error each time, with now follow errors. package p type T /* ERROR unexpected newline */ type Map map[int] /* ERROR unexpected newline */ // Examples from go.dev/issue/23434: func g() { m := make(map[string] /* ERROR unexpected ! */ !) for { x := 1 print(x) } } func f() {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Nov 01 12:49:49 UTC 2023 - 653 bytes - Viewed (0) -
internal/s3select/csv/recordtransform.go
n++ } else { n, err = rr.reader.Read(p) } if err != nil { return n, err } // Do nothing if record-delimiter is already newline. if string(rr.recordDelimiter) == "\n" { return n, nil } // Change record delimiters to newline. if len(rr.recordDelimiter) == 1 { for idx := 0; idx < len(p); { i := bytes.Index(p[idx:], rr.recordDelimiter) if i < 0 { break }
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Tue Jun 01 21:59:40 UTC 2021 - 2.1K bytes - Viewed (0)