- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for Chen (0.18 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) -
doc/go_spec.html
and yield a result of the same type as the operands. The left operand is evaluated, and then the right if the condition requires it. </p> <pre class="grammar"> && conditional AND p && q is "if p then q else false" || conditional OR p || q is "if p then true else q" ! NOT !p is "not p" </pre>
HTML - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Fri Apr 26 00:39:16 GMT 2024 - 279.6K bytes - Viewed (0) -
doc/README.md
`doc/next/*stdlib/*minor`. The files should be in the subdirectory for the package with the new API, and should be named after the issue number of the API proposal. For example, if the directory `6-stdlib/99-minor` is present, 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`.
Plain Text - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Fri Apr 26 21:24:36 GMT 2024 - 1.9K bytes - Viewed (0)