Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 536 for newline (0.15 sec)

  1. platforms/core-configuration/model-core/src/testFixtures/groovy/org/gradle/internal/reflect/validation/ValidationMessageDisplayConfiguration.groovy

                        .append(newLine)
                }
                sb.append(newLine)
            }
            if (includeLink) {
                sb.append(outro)
            }
            sb.toString().trim()
        }
    
        StringBuilder label(String newLine = "") {
            new StringBuilder(intro)
                .append(endLineWithDot(description))
                .append(newLine)
                .append(newLine)
        }
    Registered: 2024-06-12 18:38
    - Last Modified: 2023-12-20 11:12
    - 4.2K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/syntax/printer.go

    		p.print(n.Tok, blank, _Lparen)
    		if len(n.Decls) > 0 {
    			p.print(newline, indent)
    			for _, d := range n.Decls {
    				p.printNode(d)
    				p.print(_Semi, newline)
    			}
    			p.print(outdent)
    		}
    		p.print(_Rparen)
    
    	// files
    	case *File:
    		p.print(_Package, blank, n.PkgName)
    		if len(n.DeclList) > 0 {
    			p.print(_Semi, newline, newline)
    			p.printDeclList(n.DeclList)
    		}
    
    	default:
    Registered: 2024-06-12 16:32
    - Last Modified: 2023-08-24 07:17
    - 21.5K bytes
    - Viewed (0)
  3. 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: 2024-06-12 16:38
    - Last Modified: 2017-12-04 17:37
    - 4.7K bytes
    - Viewed (0)
  4. 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: 2024-06-12 16:38
    - Last Modified: 2017-12-04 17:37
    - 4.7K bytes
    - Viewed (0)
  5. src/fmt/scan_test.go

    		{"space vs newline 1000", "1 \n2", "%d\n%d", 2, true},
    		{"space vs newline 1001", "1 \n2", "%d\n %d", 2, true},
    		{"space vs newline 1010", "1 \n2", "%d \n%d", 2, true},
    		{"space vs newline 1011", "1 \n2", "%d \n %d", 2, true},
    		{"space vs newline 1100", "1 \n 2", "%d\n%d", 2, true},
    		{"space vs newline 1101", "1 \n 2", "%d\n %d", 2, true},
    		{"space vs newline 1110", "1 \n 2", "%d \n%d", 2, true},
    Registered: 2024-06-12 16:32
    - Last Modified: 2023-05-23 20:25
    - 39.3K bytes
    - Viewed (0)
  6. src/cmd/vendor/golang.org/x/mod/modfile/print.go

    		p.printf("%s", strings.TrimSpace(com.Token))
    		p.newline()
    	}
    
    	for i, stmt := range f.Stmt {
    		switch x := stmt.(type) {
    		case *CommentBlock:
    			// comments already handled
    			p.expr(x)
    
    		default:
    			p.expr(x)
    			p.newline()
    		}
    
    		for _, com := range stmt.Comment().After {
    			p.printf("%s", strings.TrimSpace(com.Token))
    			p.newline()
    		}
    
    		if i+1 < len(f.Stmt) {
    			p.newline()
    Registered: 2024-06-12 16:32
    - Last Modified: 2023-05-24 00:48
    - 3.8K bytes
    - Viewed (0)
  7. test/fixedbugs/issue22164.go

    // Test error recovery after missing closing parentheses in lists.
    
    package p
    
    func f() {
    	x := f(g() // ERROR "unexpected newline"
    	y := 1
    }
    
    func g() {
    }
    
    func h() {
    	x := f(g() // ERROR "unexpected newline"
    }
    
    func i() {
    	x := []int{1, 2, 3 // ERROR "unexpected newline"
    	y := 0
    Registered: 2024-06-12 16:32
    - Last Modified: 2017-10-17 01:04
    - 458 bytes
    - Viewed (0)
  8. subprojects/diagnostics/src/main/java/org/gradle/api/tasks/diagnostics/internal/configurations/renderer/ConsoleConfigurationReportRenderer.java

                writeDescription("The following Attributes have compatibility rules defined.");
                newLine();
                try {
                    depth++;
                    attributesWithCompatibilityRules.forEach(a -> writeAttribute(maxC, a, false));
                    newLine();
                } finally {
                    depth--;
                }
            }
    
    Registered: 2024-06-12 18:38
    - Last Modified: 2022-12-12 16:17
    - 18.3K bytes
    - Viewed (0)
  9. test/fixedbugs/issue32133.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package p
    
    // errors for the //line-adjusted code below
    // ERROR "newline in string"
    // ERROR "newline in character literal|newline in rune literal"
    // ERROR "newline in string"
    // ERROR "string not terminated"
    
    //line :10:1
    import "foo
    
    //line :19:1
    func _() {
    	0x // ERROR "hexadecimal literal has no digits"
    }
    
    Registered: 2024-06-12 16:32
    - Last Modified: 2020-03-05 00:40
    - 718 bytes
    - Viewed (0)
  10. test/fixedbugs/issue14006.go

    	case 1:
    		2:	// ERROR "unexpected :|expected .*;.* or .*}.* or newline|value computed is not used"
    	case 2:
    	}
    
    	switch x {
    	case 1:
    		2: ;	// ERROR "unexpected :|expected .*;.* or .*}.* or newline|value computed is not used"
    	case 2:
    	}
    
    	var y string
    	switch y {
    	case "foo":
    		"bar":	// ERROR "unexpected :|expected .*;.* or .*}.* or newline|value computed is not used"
    	case "bar":
    	}
    
    	switch y {
    Registered: 2024-06-12 16:32
    - Last Modified: 2020-12-10 18:34
    - 1.3K bytes
    - Viewed (0)
Back to top