Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 136 for NEWLINE (0.3 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. 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)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top