Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 81 for Newlines (0.42 sec)

  1. src/encoding/csv/reader.go

    // instead of CRLF as newline character by default.
    //
    // A csv file contains zero or more records of one or more fields per record.
    // Each record is separated by the newline character. The final record may
    // optionally be followed by a newline character.
    //
    //	field1,field2,field3
    //
    // White space is considered part of a field.
    //
    // Carriage returns before newline characters are silently removed.
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 21:32:28 UTC 2024
    - 14.2K bytes
    - Viewed (0)
  2. cmd/streaming-signature-v4.go

    			}
    		}
    		if string(tmp[:]) != "\n\r\n" {
    			if cr.debug {
    				fmt.Printf("signature, want %q, got %q", "\n\r\n", string(tmp[:]))
    			}
    			return errMalformedEncoding
    		}
    		// No need to write final newlines to buffer.
    		break
    	}
    
    	// Verify signature.
    	sig := signatureBuffer.Bytes()
    	if !bytes.HasPrefix(sig, []byte("x-amz-trailer-signature:")) {
    		if cr.debug {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu May 16 23:13:47 UTC 2024
    - 18.2K bytes
    - Viewed (0)
  3. src/cmd/vendor/golang.org/x/mod/modfile/read.go

    	pos    Position
    	endPos Position
    	text   string
    }
    
    type tokenKind int
    
    const (
    	_EOF tokenKind = -(iota + 1)
    	_EOLCOMMENT
    	_IDENT
    	_STRING
    	_COMMENT
    
    	// newlines and punctuation tokens are allowed as ASCII codes.
    )
    
    func (k tokenKind) isComment() bool {
    	return k == _COMMENT || k == _EOLCOMMENT
    }
    
    // isEOL returns whether a token terminates a line.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 02:38:00 UTC 2024
    - 23.1K bytes
    - Viewed (0)
  4. src/encoding/base32/base32_test.go

    			res: "f", err: badErr},
    		// Check a read error accompanied by input data consisting of newlines only is propagated.
    		{r: badReader{data: []byte("\n\n\n\n\n\n\n\n"), errs: []error{badErr, nil}},
    			res: "", err: badErr},
    		// Reader will be called twice.  The first time it will return 8 newline characters.  The
    		// second time valid base32 encoded data and an error.  The data should be decoded
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 14 16:25:54 UTC 2024
    - 26K bytes
    - Viewed (0)
  5. src/cmd/cover/cover.go

    	}
    	// TODO: process files in parallel here if it matters.
    	for k, name := range names {
    		if strings.ContainsAny(name, "\r\n") {
    			// annotateFile uses '//line' directives, which don't permit newlines.
    			log.Fatalf("cover: input path contains newline character: %q", name)
    		}
    
    		fd := os.Stdout
    		isStdout := true
    		if *pkgcfg != "" {
    			var err error
    			fd, err = os.Create(outputfiles[k])
    			if err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 14 19:41:17 UTC 2024
    - 34.5K bytes
    - Viewed (0)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top