- Sort Score
- Result 10 results
- Languages All
Results 1 - 5 of 5 for Se (0.02 sec)
-
src/net/error_unix.go
// license that can be found in the LICENSE file. //go:build unix || js || wasip1 package net import "syscall" func isConnError(err error) bool { if se, ok := err.(syscall.Errno); ok { return se == syscall.ECONNRESET || se == syscall.ECONNABORTED } return false
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 11 20:54:12 UTC 2023 - 382 bytes - Viewed (0) -
src/cmd/cgo/internal/test/issue18146.go
// some systems (problem seen on Darwin, // Dragonfly, OpenBSD) the fork call will fail // with EAGAIN. if pe, ok := err.(*os.PathError); ok { err = pe.Err } if se, ok := err.(syscall.Errno); ok && (se == syscall.EAGAIN || se == syscall.EMFILE) { time.Sleep(time.Millisecond) continue } t.Error(err) return } cmds = append(cmds, cmd) } failures := 0
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Sep 05 23:35:32 UTC 2023 - 2.8K bytes - Viewed (0) -
src/runtime/internal/wasitest/testdata/tcpecho.go
// are no more pre-opens. for preopenFd := uintptr(3); ; preopenFd++ { f := os.NewFile(preopenFd, "") l, err := net.FileListener(f) f.Close() var se syscall.Errno switch errors.As(err, &se); se { case syscall.ENOTSOCK: continue case syscall.EBADF: err = nil } return l, err }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 25 00:12:41 UTC 2023 - 1.4K bytes - Viewed (0) -
test/typeparam/graph.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Mar 26 19:58:28 UTC 2024 - 5.7K bytes - Viewed (0) -
src/mime/quotedprintable/writer_test.go
{in: "foo bar \n", want: "foo bar =20\r\n", wantB: "foo bar =0A"}, {in: "foo bar \n ", want: "foo bar =20\r\n=20", wantB: "foo bar =0A=20"}, {in: "¡Hola Señor!", want: "=C2=A1Hola Se=C3=B1or!"}, { in: "\t !\"#$%&'()*+,-./ :;<>?@[\\]^_`{|}~", want: "\t !\"#$%&'()*+,-./ :;<>?@[\\]^_`{|}~", }, { in: strings.Repeat("a", 75), want: strings.Repeat("a", 75), }, {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Sep 06 17:36:47 UTC 2022 - 5.1K bytes - Viewed (0)