Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 154 for Newlines (0.2 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. 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)
  4. 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)
  5. 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)
  6. 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)
  7. misc/ios/detect.go

    	}
    }
    
    func detectMobileProvisionFiles(udids [][]byte) []string {
    	cmd := exec.Command("mdfind", "-name", ".mobileprovision")
    	lines := getLines(cmd)
    
    	var files []string
    	for _, line := range lines {
    		if len(line) == 0 {
    			continue
    		}
    		xmlLines := getLines(parseMobileProvision(string(line)))
    		matches := 0
    		for _, udid := range udids {
    			for _, xmlLine := range xmlLines {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:30 UTC 2023
    - 3.2K bytes
    - Viewed (0)
  8. 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)
  9. 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)
  10. 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)
Back to top