- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 29 for shop (0.19 sec)
-
src/bytes/buffer_test.go
b.Write(buf[0:1]) var cap0 int for i := 0; i < 5<<10; i++ { b.Write(buf) b.Read(buf) if i == 0 { cap0 = b.Cap() } } cap1 := b.Cap() // (*Buffer).grow allows for 2x capacity slop before sliding, // so set our error threshold at 3x. if cap1 > cap0*3 { t.Errorf("buffer cap = %d; too big (grew from %d)", cap1, cap0) } } func BenchmarkWriteByte(b *testing.B) { const n = 4 << 10
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Fri Apr 26 13:31:36 GMT 2024 - 18.6K bytes - Viewed (0) -
src/cmd/cgo/doc.go
of an error message on a given line to deduce the information it needs. The program is syntactically valid regardless of whether each name is a type or an ordinary identifier, so there will be no syntax errors that might stop parsing early. An error on not-declared:1 indicates that foo is undeclared. An error on not-type:1 indicates that foo is not a type (if declared at all, it is an identifier).
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Sun Mar 31 09:02:45 GMT 2024 - 42.1K bytes - Viewed (0) -
api/go1.5.txt
pkg runtime, func StartTrace() error pkg runtime, func StopTrace() pkg runtime, type MemStats struct, GCCPUFraction float64 pkg runtime/trace, func Start(io.Writer) error pkg runtime/trace, func Stop() pkg strings, func Compare(string, string) int pkg strings, func LastIndexByte(string, uint8) int pkg strings, method (*Reader) Size() int64 pkg syscall (darwin-386), type SysProcAttr struct, Ctty int
Plain Text - Registered: Tue May 07 11:14:38 GMT 2024 - Last Modified: Thu Jul 30 21:14:09 GMT 2015 - 46.6K bytes - Viewed (0) -
src/bufio/bufio_test.go
r: strings.NewReader("abcdefghijklmnopqrstuvwxyz"), n: 27, want: 26, wantErr: io.EOF, wantBuffered: 0, }, // Any error from filling shouldn't show up until we // get past the valid bytes. Here we return 5 valid bytes at the same time // as an error, but test that we don't see the error from Discard. { name: "fill error, discard less",
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Fri Feb 10 18:56:01 GMT 2023 - 51.5K bytes - Viewed (0) -
doc/go1.17_spec.html
Comments serve as program documentation. There are two forms: </p> <ol> <li> <i>Line comments</i> start with the character sequence <code>//</code> and stop at the end of the line. </li> <li> <i>General comments</i> start with the character sequence <code>/*</code> and stop with the first subsequent character sequence <code>*/</code>. </li> </ol> <p> A comment cannot start inside a <a href="#Rune_literals">rune</a> or
HTML - Registered: Tue May 07 11:14:38 GMT 2024 - Last Modified: Thu Apr 11 20:22:45 GMT 2024 - 211.6K bytes - Viewed (0) -
api/go1.13.txt
pkg syscall (netbsd-arm64-cgo), const TIOCPKT_START = 8 pkg syscall (netbsd-arm64-cgo), const TIOCPKT_START ideal-int pkg syscall (netbsd-arm64-cgo), const TIOCPKT_STOP = 4 pkg syscall (netbsd-arm64-cgo), const TIOCPKT_STOP ideal-int pkg syscall (netbsd-arm64-cgo), const TIOCPTMGET = 1076393030 pkg syscall (netbsd-arm64-cgo), const TIOCPTMGET ideal-int pkg syscall (netbsd-arm64-cgo), const TIOCPTSNAME = 1076393032
Plain Text - Registered: Tue May 07 11:14:38 GMT 2024 - Last Modified: Thu Aug 08 18:44:16 GMT 2019 - 452.6K bytes - Viewed (0) -
src/bytes/example_test.go
// Output: // 3 // 5 } func ExampleCut() { show := func(s, sep string) { before, after, found := bytes.Cut([]byte(s), []byte(sep)) fmt.Printf("Cut(%q, %q) = %q, %q, %v\n", s, sep, before, after, found) } show("Gopher", "Go") show("Gopher", "ph") show("Gopher", "er") show("Gopher", "Badger") // Output: // Cut("Gopher", "Go") = "", "pher", true
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Mon Mar 04 15:54:40 GMT 2024 - 15K bytes - Viewed (1) -
.github/ISSUE_TEMPLATE/11-language-change.yml
description: Breaking the Go 1 compatibility guarantee is a large cost and requires a large benefit. placeholder: | Yes or No If yes, 1. Show example code before and after the change. validations: required: true - type: textarea id: orthogonality attributes:
Others - Registered: Tue May 07 11:14:38 GMT 2024 - Last Modified: Wed Nov 22 20:49:24 GMT 2023 - 4.7K bytes - Viewed (0) -
api/go1.txt
pkg time, method (*Location) String() string pkg time, method (*ParseError) Error() string pkg time, method (*Ticker) Stop() pkg time, method (*Time) GobDecode([]uint8) error pkg time, method (*Time) UnmarshalJSON([]uint8) error pkg time, method (*Timer) Stop() bool pkg time, method (Duration) Hours() float64 pkg time, method (Duration) Minutes() float64 pkg time, method (Duration) Nanoseconds() int64
Plain Text - Registered: Tue May 07 11:14:38 GMT 2024 - Last Modified: Wed Aug 14 18:58:28 GMT 2013 - 1.7M bytes - Viewed (1) -
api/go1.16.txt
pkg syscall (darwin-arm64), const TIOCPKT_START = 8 pkg syscall (darwin-arm64), const TIOCPKT_START ideal-int pkg syscall (darwin-arm64), const TIOCPKT_STOP = 4 pkg syscall (darwin-arm64), const TIOCPKT_STOP ideal-int pkg syscall (darwin-arm64), const TIOCPTYGNAME = 1082160211 pkg syscall (darwin-arm64), const TIOCPTYGNAME ideal-int pkg syscall (darwin-arm64), const TIOCPTYGRANT = 536900692
Plain Text - Registered: Tue May 07 11:14:38 GMT 2024 - Last Modified: Fri Dec 02 16:30:41 GMT 2022 - 479.2K bytes - Viewed (0)