- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 10 for Locher (0.21 sec)
-
src/archive/zip/reader_test.go
} r, err := f.Open() if err != nil { t.Errorf("%v", err) return } // For very large files, just check that the size is correct. // The content is expected to be all zeros. // Don't bother uncompressing: too big. if ft.Content == nil && ft.File == "" && ft.Size > 0 { if size != ft.Size { t.Errorf("%v: uncompressed size %#x, want %#x", ft.Name, size, ft.Size) } r.Close() return }
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Wed Mar 27 18:23:49 GMT 2024 - 55.3K bytes - Viewed (0) -
doc/go1.17_spec.html
to define an interface called <code>Locker</code>: </p> <pre> type Locker interface { Lock() Unlock() } </pre> <p> If <code>S1</code> and <code>S2</code> also implement </p> <pre> func (p T) Lock() { … } func (p T) Unlock() { … } </pre> <p> they implement the <code>Locker</code> interface as well as the <code>File</code> interface.
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) -
src/bytes/example_test.go
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 // Cut("Gopher", "ph") = "Go", "er", true // Cut("Gopher", "er") = "Goph", "", true // Cut("Gopher", "Badger") = "Gopher", "", false } func ExampleCutPrefix() { show := func(s, sep string) {
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Mon Mar 04 15:54:40 GMT 2024 - 15K bytes - Viewed (1) -
src/bytes/bytes_test.go
tests := [...]struct { s string count int errStr string }{ 0: {"--", -2147483647, "negative"}, 1: {"", int(^uint(0) >> 1), ""}, 2: {"-", 10, ""}, 3: {"gopher", 0, ""}, 4: {"-", -1, "negative"}, 5: {"--", -102, "negative"}, 6: {string(make([]byte, 255)), int((^uint(0))/255 + 1), "overflow"}, } for i, tt := range tests {
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Wed Jan 24 16:07:25 GMT 2024 - 56.2K bytes - Viewed (0) -
doc/go_spec.html
to define an interface called <code>Locker</code>: </p> <pre> type Locker interface { Lock() Unlock() } </pre> <p> If <code>S1</code> and <code>S2</code> also implement </p> <pre> func (p T) Lock() { … } func (p T) Unlock() { … } </pre> <p> they implement the <code>Locker</code> interface as well as the <code>File</code> interface.
HTML - Registered: Tue May 07 11:14:38 GMT 2024 - Last Modified: Thu May 02 22:43:51 GMT 2024 - 279.6K bytes - Viewed (0) -
src/cmd/cgo/internal/test/callback_windows.go
if runtime.Compiler != "gc" { // The exact function names are not going to be the same. t.Skip("skipping for non-gc toolchain") } if runtime.GOARCH != "amd64" { // TODO: support SEH on other architectures. t.Skip("skipping on non-amd64") } // Only frames in the test package are checked. want := []string{ "test._Cfunc_backtrace", "test.testCallbackCallersSEH.func1.1",
Go - Registered: Tue Apr 23 11:13:09 GMT 2024 - Last Modified: Wed Nov 29 16:01:37 GMT 2023 - 2.6K bytes - Viewed (0) -
src/cmd/asm/internal/asm/parse.go
return 0 } r, ok := p.registerReference(name) if !ok { return 0 } reg := r - p.arch.Register["R0"] if reg < 0 { // Could happen for an architecture having other registers prefixed by R p.errorf("expected g or R0 through R15; found %s", name) return 0 } return uint16(reg) } // Note: There are two changes in the expression handling here
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Wed Feb 21 14:34:57 GMT 2024 - 36.9K bytes - Viewed (0) -
.github/ISSUE_TEMPLATE/00-bug.yml
Others - Registered: Tue May 07 11:14:38 GMT 2024 - Last Modified: Thu Jan 04 23:31:17 GMT 2024 - 3.3K bytes - Viewed (0) -
doc/next/6-stdlib/99-minor/README
API changes and other small changes to the standard library go here....
Plain Text - Registered: Tue May 07 11:14:38 GMT 2024 - Last Modified: Wed Jan 24 16:44:53 GMT 2024 - 69 bytes - Viewed (0) -
doc/next/3-tools.md
## Tools {#tools} ### Go command {#go-command} Setting the `GOROOT_FINAL` environment variable no longer has an effect ([#62047](https://go.dev/issue/62047)). Distributions that install the `go` command to a location other than `$GOROOT/bin/go` should install a symlink instead of relocating or copying the `go` binary. ### Vet {#vet} The `go vet` subcommand now includes the
Plain Text - Registered: Tue May 07 11:14:38 GMT 2024 - Last Modified: Fri May 03 01:02:40 GMT 2024 - 977 bytes - Viewed (0)