- Sort Score
- Result 10 results
- Languages All
Results 11 - 18 of 18 for causal (0.5 sec)
-
doc/next/6-stdlib/99-minor/net/63116.md
The [DNSError] type now wraps errors caused by timeouts or cancellation. For example, `errors.Is(someDNSErr, context.DeadlineExceedeed)`
Plain Text - Registered: Tue May 07 11:14:38 GMT 2024 - Last Modified: Wed Apr 24 13:37:36 GMT 2024 - 198 bytes - Viewed (0) -
src/bytes/example_test.go
fmt.Printf("%q\n", bytes.Split([]byte("a,b,c"), []byte(","))) fmt.Printf("%q\n", bytes.Split([]byte("a man a plan a canal panama"), []byte("a "))) fmt.Printf("%q\n", bytes.Split([]byte(" xyz "), []byte(""))) fmt.Printf("%q\n", bytes.Split([]byte(""), []byte("Bernardo O'Higgins"))) // Output: // ["a" "b" "c"] // ["" "man " "plan " "canal panama"] // [" " "x" "y" "z" " "] // [""] } func ExampleSplitN() {
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Mon Mar 04 15:54:40 GMT 2024 - 15K bytes - Viewed (1) -
api/go1.20.txt
pkg bytes, func Clone([]uint8) []uint8 #45038 pkg bytes, func CutPrefix([]uint8, []uint8) ([]uint8, bool) #42537 pkg bytes, func CutSuffix([]uint8, []uint8) ([]uint8, bool) #42537 pkg context, func Cause(Context) error #51365 pkg context, func WithCancelCause(Context) (Context, CancelCauseFunc) #51365 pkg context, type CancelCauseFunc func(error) #51365 pkg crypto/ecdh, func P256() Curve #52221
Plain Text - Registered: Tue May 07 11:14:38 GMT 2024 - Last Modified: Fri Feb 17 21:23:32 GMT 2023 - 602.6K bytes - Viewed (0) -
src/builtin/builtin.go
// termination sequence is called panicking and can be controlled by the // built-in function recover. // // Starting in Go 1.21, calling panic with a nil interface value or an // untyped nil causes a run-time error (a different panic). // The GODEBUG setting panicnil=1 disables the run-time error. func panic(v any) // The recover built-in function allows a program to manage behavior of a
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Thu Apr 11 20:22:45 GMT 2024 - 12.7K bytes - Viewed (0) -
doc/go_spec.html
to by <code>x</code>. If <code>x</code> is <code>nil</code>, an attempt to evaluate <code>*x</code> will cause a <a href="#Run_time_panics">run-time panic</a>. </p> <pre> &x &a[f(2)] &Point{2, 3} *p *pf(x) var x *int = nil *x // causes a run-time panic &*x // causes a run-time panic </pre> <h3 id="Receive_operator">Receive operator</h3> <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) -
src/archive/tar/writer.go
// the format is explicitly chosen. // This ensures nominal usage of WriteHeader (without specifying the format) // does not always result in the PAX format being chosen, which // causes a 1KiB increase to every header. if tw.hdr.Format == FormatUnknown { tw.hdr.ModTime = tw.hdr.ModTime.Round(time.Second) tw.hdr.AccessTime = time.Time{} tw.hdr.ChangeTime = time.Time{} }
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Fri Oct 13 18:36:46 GMT 2023 - 19.6K bytes - Viewed (0) -
doc/go_mem.html
and <i>w'</i> happens before <i>r</i>. That is, each read must observe a value written by a preceding or concurrent write. </p> <p> Additionally, observation of acausal and “out of thin air” writes is disallowed. </p> <p> Reads of memory locations larger than a single machine word are encouraged but not required to meet the same semantics as word-sized memory locations,
HTML - Registered: Tue May 07 11:14:38 GMT 2024 - Last Modified: Mon Mar 04 15:54:42 GMT 2024 - 26.6K bytes - Viewed (0) -
src/cmd/asm/internal/asm/endtoend_test.go
} if len(output) > 0 && output[0] == want { output = output[1:] } else { t.Errorf("missing output: %q", want) } } for len(output) > 0 { if output[0] == "" { // spurious blank caused by Split on "\n" output = output[1:] continue } t.Errorf("unexpected output: %q", output[0]) output = output[1:] } // Checked printing. // Now check machine code layout.
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Thu Dec 07 18:42:59 GMT 2023 - 11.6K bytes - Viewed (0)