Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 301 for NEWLINE (0.22 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: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Dec 20 11:12:24 UTC 2023
    - 4.2K bytes
    - Viewed (0)
  2. 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: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 24 00:48:59 UTC 2023
    - 3.8K bytes
    - Viewed (0)
  3. 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: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Aug 24 07:17:27 UTC 2023
    - 21.5K bytes
    - Viewed (0)
  4. 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: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Oct 17 01:04:56 UTC 2017
    - 458 bytes
    - Viewed (0)
  5. 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: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 05 00:40:38 UTC 2020
    - 718 bytes
    - Viewed (0)
  6. 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: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 12 16:17:12 UTC 2022
    - 18.3K bytes
    - Viewed (0)
  7. 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: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 23 20:25:13 UTC 2023
    - 39.3K bytes
    - Viewed (0)
  8. okhttp/src/main/kotlin/okhttp3/internal/platform/android/AndroidLog.kt

          val length = logMessage.length
          while (i < length) {
            var newline = logMessage.indexOf('\n', i)
            newline = if (newline != -1) newline else length
            do {
              val end = minOf(newline, i + MAX_LOG_LENGTH)
              Log.println(logLevel, tag, logMessage.substring(i, end))
              i = end
            } while (i < newline)
            i++
          }
        }
      }
    
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  9. 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: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Dec 10 18:34:40 UTC 2020
    - 1.3K bytes
    - Viewed (0)
  10. platforms/core-runtime/logging/src/test/groovy/org/gradle/internal/logging/console/MultiLineBuildProgressAreaTest.groovy

            interaction {
                (progressArea.getHeight() - 1) * ansi.newline()
                0 * ansi._
            }
        }
    
        def "redraw the work in progress area"() {
            given:
            fillArea()
    
            when:
            redraw()
    
            then:
            interaction {
                (progressArea.getHeight() - 1) * ansi.newline()
                1 * ansi.cursorUp(5)
    
                expectAreaRedraw()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:05:18 UTC 2023
    - 8.1K bytes
    - Viewed (0)
Back to top