Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 173 for NEWLINE (0.14 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. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. src/fmt/scan.go

    		// Space processing.
    		// In the rest of this comment "space" means spaces other than newline.
    		// Newline in the format matches input of zero or more spaces and then newline or end-of-input.
    		// Spaces in the format before the newline are collapsed into the newline.
    		// Spaces in the format after the newline match zero or more spaces after the corresponding input newline.
    		// Other spaces in the format match input of one or more spaces or end-of-input.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 21:56:20 UTC 2024
    - 31.9K bytes
    - Viewed (0)
  8. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/executer/ExecutionResult.java

         */
        ExecutionResult assertOutputContains(String expectedOutput);
    
        /**
         * Asserts that the given content includes the given log message.
         *
         * @param content The content to check
         * @param expectedOutput The expected log message, with line endings normalized to a newline character.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  9. src/go/parser/testdata/issue34946.src

    package p
    
    // accept Allman/BSD-style declaration but complain
    // (implicit semicolon between signature and body)
    func _() int
    { /* ERROR "unexpected semicolon or newline before {" */
    	{ return 0 }
    }
    
    func _() {}
    
    func _(); { /* ERROR "unexpected semicolon or newline before {" */ }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Nov 02 12:56:53 UTC 2023
    - 608 bytes
    - Viewed (0)
  10. src/fmt/doc.go

    detail below. A character other than %, space, or newline in
    the format consumes exactly that input character, which must
    be present. A newline with zero or more spaces before it in
    the format string consumes zero or more spaces in the input
    followed by a single newline or the end of the input. A space
    following a newline in the format string consumes zero or more
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 21:56:20 UTC 2024
    - 14.6K bytes
    - Viewed (0)
Back to top