Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 352 for Newlines (0.13 sec)

  1. src/cmd/asm/internal/asm/parse.go

    next:
    	// Skip newlines.
    	var tok lex.ScanToken
    	for {
    		tok = p.nextToken()
    		// We save the line number here so error messages from this instruction
    		// are labeled with this line. Otherwise we complain after we've absorbed
    		// the terminating newline and the line numbers are off by one in errors.
    		p.lineNum = p.lex.Line()
    		switch tok {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 21 14:34:57 UTC 2024
    - 36.9K bytes
    - Viewed (0)
  2. src/net/url/url.go

    		// any %-encoding it likes. That's different from the host, which
    		// can only %-encode non-ASCII bytes.
    		// We do impose some restrictions on the zone, to avoid stupidity
    		// like newlines.
    		zone := strings.Index(host[:i], "%25")
    		if zone >= 0 {
    			host1, err := unescape(host[:zone], encodeHost)
    			if err != nil {
    				return "", err
    			}
    			host2, err := unescape(host[zone:i], encodeZone)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:16:53 UTC 2024
    - 36.1K bytes
    - Viewed (0)
  3. doc/go1.17_spec.html

    </li>
    </ol>
    
    <p>
    A comment cannot start inside a <a href="#Rune_literals">rune</a> or
    <a href="#String_literals">string literal</a>, or inside a comment.
    A general comment containing no newlines acts like a space.
    Any other comment acts like a newline.
    </p>
    
    <h3 id="Tokens">Tokens</h3>
    
    <p>
    Tokens form the vocabulary of the Go language.
    There are four classes: <i>identifiers</i>, <i>keywords</i>, <i>operators
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 11 20:22:45 UTC 2024
    - 211.6K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/io/CharSinkTester.java

      public CharSinkTester(
          CharSinkFactory factory, String string, String suiteName, String caseDesc, Method method) {
        super(factory, string, suiteName, caseDesc, method);
        this.lines = getLines(string);
        this.expectedLines = getLines(expected);
      }
    
      @Override
      protected void setUp() throws Exception {
        this.sink = factory.createSink();
      }
    
      public void testOpenStream() throws IOException {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Oct 10 19:45:10 UTC 2022
    - 4K bytes
    - Viewed (0)
  5. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/executer/LogContent.java

            }
            return Joiner.on('\n').join(lines);
        }
    
        /**
         * Returns this content separated into lines. The line does not include the line separator.
         */
        public ImmutableList<String> getLines() {
            return lines;
        }
    
        /**
         * Returns the first line. The text does not include the line separator.
         */
        public String getFirst() {
            return lines.get(0);
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 8.6K bytes
    - Viewed (0)
  6. doc/go_spec.html

    </li>
    </ol>
    
    <p>
    A comment cannot start inside a <a href="#Rune_literals">rune</a> or
    <a href="#String_literals">string literal</a>, or inside a comment.
    A general comment containing no newlines acts like a space.
    Any other comment acts like a newline.
    </p>
    
    <h3 id="Tokens">Tokens</h3>
    
    <p>
    Tokens form the vocabulary of the Go language.
    There are four classes: <i>identifiers</i>, <i>keywords</i>, <i>operators
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 21:07:21 UTC 2024
    - 281.5K bytes
    - Viewed (0)
  7. staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/schema/cel/validation_test.go

    			expectedRemainingBudget: -1,
    		},
    		{
    			name:                  "messageExpression is not allowed to generate a string with newlines",
    			message:               "message not messageExpression",
    			messageExpression:     `"str with \na newline"`,
    			costBudget:            celconfig.RuntimeCELCostBudget,
    			expectedLogErr:        "messageExpression should not contain line breaks",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 17:14:10 UTC 2024
    - 159.9K bytes
    - Viewed (0)
  8. src/go/token/position.go

    // An empty file has an empty line offset table.
    // Each line offset must be larger than the offset for the previous line
    // and smaller than the file size; otherwise SetLines fails and returns
    // false.
    // Callers must not mutate the provided slice after SetLines returns.
    func (f *File) SetLines(lines []int) bool {
    	// verify validity of lines table
    	size := f.size
    	for i, offset := range lines {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 19.7K bytes
    - Viewed (0)
  9. 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)
  10. 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)
Back to top