Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 301 for NEWLINE (0.12 sec)

  1. test/eof1.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // Test that a comment ending a source file does not need a final newline.
    // Compiles but does not run.
    
    package eof1
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 02 13:43:18 UTC 2016
    - 333 bytes
    - Viewed (0)
  2. test/fixedbugs/bug013.go

    package main
    
    func main() {
    	var cu0 uint16 = '\u1234';
    	var cU1 uint32 = '\U00101234';
    	_, _ = cu0, cU1;
    }
    /*
    bug13.go:4: missing '
    bug13.go:4: syntax error
    bug13.go:5: newline in string
    bug13.go:5: missing '
    bug13.go:6: newline in string
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 17 04:48:57 UTC 2012
    - 411 bytes
    - Viewed (0)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. cmd/gotemplate/gotemplate.go

    // gotemplate also implements:
    // - include <filename>: returns the content of that file as string
    // - indent <number of spaces> <string>: replace each newline with "newline + spaces", indent the newline at the end
    // - trim <string>: strip leading and trailing whitespace
    
    func main() {
    	kvs := make(map[string]string)
    
    	for _, keyValue := range os.Args[1:] {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Aug 22 18:39:23 UTC 2023
    - 2.6K bytes
    - Viewed (0)
  8. platforms/jvm/language-java/src/main/java/org/gradle/external/javadoc/internal/JavadocOptionFileWriterContext.java

            writeOptionHeader(option);
            newLine();
            return this;
        }
    
        public JavadocOptionFileWriterContext writeValueOption(String option, String value) throws IOException {
            writeOptionHeader(option);
            writeValue(value);
            newLine();
            return this;
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Aug 28 11:40:18 UTC 2023
    - 4.2K bytes
    - Viewed (0)
  9. platforms/jvm/language-java/src/test/groovy/org/gradle/external/javadoc/internal/OptionLessStringsJavadocOptionFileOptionTest.groovy

            then:
            1 * writerContextMock.writeValue(firstValue) >> writerContextMock
            1 * writerContextMock.newLine() >> writerContextMock
            1 * writerContextMock.writeValue(secondValue) >> writerContextMock
            1 * writerContextMock.newLine() >> writerContextMock
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 13:37:56 UTC 2023
    - 1.5K bytes
    - Viewed (0)
  10. okhttp-sse/src/main/kotlin/okhttp3/sse/internal/ServerSentEventReader.kt

                callback.onRetryChange(retryMs)
              }
            }
    
            -1 -> {
              val lineEnd = source.indexOfElement(CRLF)
              if (lineEnd != -1L) {
                // Skip the line and newline
                source.skip(lineEnd)
                source.select(options)
              } else {
                return false // No more newlines.
              }
            }
    
            else -> throw AssertionError()
          }
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 4.3K bytes
    - Viewed (0)
Back to top