- Sort Score
- Result 10 results
- Languages All
Results 1 - 7 of 7 for Ehat (0.13 sec)
-
src/bytes/buffer_test.go
type panicReader struct{ panic bool } func (r panicReader) Read(p []byte) (int, error) { if r.panic { panic("oops") } return 0, io.EOF } // Make sure that an empty Buffer remains empty when // it is "grown" before a Read that panics func TestReadFromPanicReader(t *testing.T) { // First verify non-panic behaviour var buf Buffer i, err := buf.ReadFrom(panicReader{}) if err != nil {
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/asm/internal/asm/testdata/ppc64.s
// Copyright 2015 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. // This contains the majority of valid opcode combinations // available in cmd/internal/obj/ppc64/asm9.go with // their valid instruction encodings. #include "../../../../../runtime/textflag.h" // In case of index mode instructions, usage of // (Rx)(R0) is equivalent to (Rx+R0)
Others - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Wed Apr 24 15:53:25 GMT 2024 - 49K bytes - Viewed (0) -
doc/go_spec.html
embedded field in a struct <code>x</code> is called <i>promoted</i> if <code>x.f</code> is a legal <a href="#Selectors">selector</a> that denotes that field or method <code>f</code>. </p> <p> Promoted fields act like ordinary fields of a struct except that they cannot be used as field names in <a href="#Composite_literals">composite literals</a> of the struct. </p> <p>
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) -
doc/README.md
then an `api/next` file with the line pkg net/http, function F #12345 should have a corresponding file named `doc/next/6-stdlib/99-minor/net/http/12345.md`. At a minimum, that file should contain either a full sentence or a TODO, ideally referring to a person with the responsibility to complete the note. Use the following forms in your markdown:
Plain Text - Registered: Tue May 07 11:14:38 GMT 2024 - Last Modified: Fri Apr 26 21:24:36 GMT 2024 - 1.9K bytes - Viewed (0) -
doc/next/6-stdlib/99-minor/go/types/66559.md
The [Alias] type now has an [Rhs] method that returns the type on the right-hand side of its declaration: given `type A = B`, the `Rhs` of A
Plain Text - Registered: Tue May 07 11:14:38 GMT 2024 - Last Modified: Wed Apr 24 21:50:16 GMT 2024 - 172 bytes - Viewed (0) -
src/buildall.bash
#!/usr/bin/env bash # Copyright 2015 The Go Authors. All rights reserved. # Use of this source code is governed by a BSD-style # license that can be found in the LICENSE file. # Usage: buildall.bash [-e] [pattern] # # buildall.bash builds the standard library for all Go-supported # architectures. # # Originally the Go build system used it as a smoke test to quickly # flag portability issues in builders named "misc-compile" or "all-compile".
Shell Script - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Tue Apr 23 17:45:23 GMT 2024 - 2.1K bytes - Viewed (0) -
doc/next/3-tools.md
([#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 [stdversion](https://beta.pkg.go.dev/golang.org/x/tools/go/analysis/passes/stdversion) analyzer, which flags references to symbols that are too new for the version
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)