- Sort Score
- Num 10 results
- Language All
Results 11 - 15 of 15 for TestError (0.12 seconds)
-
src/archive/tar/reader_test.go
} case testWriteTo: f := &testFile{ops: tf.ops} got, err := fr.WriteTo(f) if _, ok := err.(testError); ok { t.Errorf("test %d.%d, WriteTo(): %v", i, j, err) } else if got != tf.wantCnt || err != tf.wantErr { t.Errorf("test %d.%d, WriteTo() = (%d, %v), want (%d, %v)", i, j, got, err, tf.wantCnt, tf.wantErr)Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Tue Dec 30 15:28:53 GMT 2025 - 47.5K bytes - Click Count (0) -
internal/rest/client_test.go
want bool }{ { name: "url.Error", err: &url.Error{Op: "PUT", URL: "http://localhost/1234", Err: restError("remote server offline")}, target: &url.Error{}, want: true, }, { name: "net.Error", err: &url.Error{Op: "PUT", URL: "http://localhost/1234", Err: restError("remote server offline")}, want: true, }, { name: "net.Error-unmatched", err: errors.New("something"),Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 1.9K bytes - Click Count (0) -
internal/rest/client.go
url *url.URL auth func() string sync.RWMutex // mutex for lastErr lastErr error lastErrTime time.Time } type restError string func (e restError) Error() string { return string(e) } func (e restError) Timeout() bool { return true } // Given a string of the form "host", "host:port", or "[ipv6::address]:port", // return true if the string includes a port.
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 14.7K bytes - Click Count (0) -
api/go1.txt
pkg syscall (linux-386), type Timex struct, Calcnt int32 pkg syscall (linux-386), type Timex struct, Constant int32 pkg syscall (linux-386), type Timex struct, Errcnt int32 pkg syscall (linux-386), type Timex struct, Esterror int32 pkg syscall (linux-386), type Timex struct, Freq int32 pkg syscall (linux-386), type Timex struct, Jitcnt int32 pkg syscall (linux-386), type Timex struct, Jitter int32
Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Wed Aug 14 18:58:28 GMT 2013 - 1.7M bytes - Click Count (0) -
api/go1.2.txt
pkg syscall (linux-arm-cgo), type Timex struct, Constant int32 pkg syscall (linux-arm-cgo), type Timex struct, Errcnt int32 pkg syscall (linux-arm-cgo), type Timex struct, Esterror int32 pkg syscall (linux-arm-cgo), type Timex struct, Freq int32 pkg syscall (linux-arm-cgo), type Timex struct, Jitcnt int32 pkg syscall (linux-arm-cgo), type Timex struct, Jitter int32
Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Fri Oct 18 04:36:59 GMT 2013 - 1.9M bytes - Click Count (1)