- Sort Score
- Result 10 results
- Languages All
Results 71 - 80 of 1,402 for spacer (0.33 sec)
-
src/net/http/cookie_test.go
``, }, // Quoted values (issue #46443) { &Cookie{Name: "cookie", Value: "quoted", Quoted: true}, `cookie="quoted"`, }, { &Cookie{Name: "cookie", Value: "quoted with spaces", Quoted: true}, `cookie="quoted with spaces"`, }, { &Cookie{Name: "cookie", Value: "quoted,with,commas", Quoted: true}, `cookie="quoted,with,commas"`, }, } func TestWriteSetCookies(t *testing.T) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 18:33:05 UTC 2024 - 26.2K bytes - Viewed (0) -
src/go/printer/printer.go
output io.Writer state int space []byte } // trimmer is implemented as a state machine. // It can be in one of the following states: const ( inSpace = iota // inside space inEscape // inside text bracketed by tabwriter.Escapes inText // inside text ) func (p *trimmer) resetSpace() { p.state = inSpace p.space = p.space[0:0] }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 12:02:03 UTC 2023 - 41.6K bytes - Viewed (0) -
src/fmt/print.go
// Spaces are added between operands when neither is a string. // It returns the number of bytes written and any write error encountered. func Print(a ...any) (n int, err error) { return Fprint(os.Stdout, a...) } // Sprint formats using the default formats for its operands and returns the resulting string. // Spaces are added between operands when neither is a string.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 13 21:22:43 UTC 2024 - 31.8K bytes - Viewed (0) -
src/net/http/http_test.go
"ToUpper": true, "ToUpperSpecial": true, // Functions that use Unicode-aware spaces. "Fields": true, "TrimSpace": true, } // TestNoUnicodeStrings checks that nothing in net/http uses the Unicode-aware // strings and bytes package functions. HTTP is mostly ASCII based, and doing // Unicode-aware case folding or space stripping can introduce vulnerabilities. func TestNoUnicodeStrings(t *testing.T) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Aug 22 18:18:19 UTC 2023 - 5.2K bytes - Viewed (0) -
src/go/build/read.go
r.pos.Column = 1 } else { r.pos.Column++ } return c } // peekByte returns the next byte from the input reader but does not advance beyond it. // If skipSpace is set, peekByte skips leading spaces and comments. func (r *importReader) peekByte(skipSpace bool) byte { if r.err != nil { if r.nerr++; r.nerr > 10000 { panic("go/build: import reader looping") } return 0 }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 29 16:25:21 UTC 2024 - 14.1K bytes - Viewed (0) -
src/text/template/doc.go
delimiter (by default "{{") is followed immediately by a minus sign and white space, all trailing white space is trimmed from the immediately preceding text. Similarly, if the right delimiter ("}}") is preceded by white space and a minus sign, all leading white space is trimmed from the immediately following text. In these trim markers, the white space must be present: "{{- 3}}" is like "{{3}}" but trims the immediately preceding text, while
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sat Feb 24 21:59:12 UTC 2024 - 17.9K bytes - Viewed (0) -
src/go/printer/testdata/comments.golden
*/ /* aligned in middle here not here */ /* blank line in middle: with no leading spaces on blank line. */ /* aligned in middle here not here */ /* blank line in middle: with no leading spaces on blank line. */ func _() { /* * line * of * stars */ /* aligned in middle
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 25 23:11:14 UTC 2022 - 11.3K bytes - Viewed (0) -
src/cmd/internal/archive/archive.go
} r.a.Entries = []Entry{{ Name: f.Name(), Type: EntryGoObj, Data: Data{off, r.limit - off}, Obj: o, }} } return r.a, nil } // trimSpace removes trailing spaces from b and returns the corresponding string. // This effectively parses the form used in archive headers. func trimSpace(b []byte) string { return string(bytes.TrimRight(b, " ")) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Aug 15 15:39:57 UTC 2023 - 12.1K bytes - Viewed (0) -
src/strings/strings.go
a := make([]string, n) na := 0 fieldStart := 0 i := 0 // Skip spaces in the front of the input. for i < len(s) && asciiSpace[s[i]] != 0 { i++ } fieldStart = i for i < len(s) { if asciiSpace[s[i]] == 0 { i++ continue } a[na] = s[fieldStart:i] na++ i++ // Skip spaces in between fields. for i < len(s) && asciiSpace[s[i]] != 0 { i++ }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 03 16:48:16 UTC 2024 - 31.2K bytes - Viewed (0) -
src/go/doc/comment/testdata/code.txt
Text. A tab-indented (no, not eight-space indented) code block and haiku. More text. One space is enough to start a block. More text. Blocks can have blank lines. -- gofmt -- Text. A tab-indented (no, not eight-space indented) code block and haiku. More text. One space is enough to start
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Apr 11 16:31:47 UTC 2022 - 944 bytes - Viewed (0)