- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 88 for Failure (0.22 sec)
-
src/go/types/conversions.go
// is tricky because we'd have to run updateExprType on the argument first. // (go.dev/issue/21982.) // convertibleTo reports whether T(x) is valid. In the failure case, *cause // may be set to the cause for the failure. // The check parameter may be nil if convertibleTo is invoked through an // exported API call, i.e., when all methods have been type-checked.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 18:51:00 UTC 2024 - 9.1K bytes - Viewed (0) -
src/go/types/mono_test.go
return nil } return errors.New(strings.TrimRight(buf.String(), "\n")) } func TestMonoGood(t *testing.T) { for i, good := range goods { if err := checkMono(t, good); err != nil { t.Errorf("%d: unexpected failure: %v", i, err) } } } func TestMonoBad(t *testing.T) { for i, bad := range bads { if err := checkMono(t, bad); err == nil { t.Errorf("%d: unexpected success", i) } else { t.Log(err) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Apr 28 17:58:07 UTC 2023 - 2.5K bytes - Viewed (0) -
src/plugin/plugin_dlopen.go
pluginsMu.Lock() if p := plugins[filepath]; p != nil { pluginsMu.Unlock() if p.err != "" { return nil, errors.New(`plugin.Open("` + name + `"): ` + p.err + ` (previous failure)`) } <-p.loaded return p, nil } var cErr *C.char h := C.pluginOpen((*C.char)(unsafe.Pointer(&cPath[0])), &cErr) if h == 0 { pluginsMu.Unlock()
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Apr 14 16:55:22 UTC 2023 - 3.9K bytes - Viewed (0) -
src/internal/trace/testdata/testprog/cpu-profile.go
leaf = line.Function.Name } } // runtime.sigprof synthesizes call stacks when "normal traceback is // impossible or has failed", using particular placeholder functions // to represent common failure cases. Look for those functions in // the leaf position as a sign that the call stack and its // symbolization are more complex than this test can handle. //
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 17 18:48:18 UTC 2024 - 3.8K bytes - Viewed (0) -
src/syscall/syscall.go
// the manuals for the appropriate operating system. // These calls return err == nil to indicate success; otherwise // err is an operating system error describing the failure. // On most systems, that error has type [Errno]. // // NOTE: Most of the functions, types, and constants defined in // this package are also available in the [golang.org/x/sys] package.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Feb 26 21:03:59 UTC 2024 - 3.8K bytes - Viewed (0) -
src/runtime/cgo/gcc_libinit.c
// license that can be found in the LICENSE file. //go:build unix // When cross-compiling with clang to linux/armv5, atomics are emulated // and cause a compiler warning. This results in a build failure since // cgo uses -Werror. See #65290. #pragma GCC diagnostic ignored "-Wpragmas" #pragma GCC diagnostic ignored "-Wunknown-warning-option" #pragma GCC diagnostic ignored "-Watomic-alignment" #include <pthread.h>
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Feb 29 01:07:18 UTC 2024 - 5.8K bytes - Viewed (0) -
src/runtime/syscall_aix.go
// as it's never used on AIX // TODO: remove r2 from zsyscall_aix_$GOARCH.go // Syscall is needed because some packages (like net) need it too. // The best way is to return EINVAL and let Golang handles its failure // If the syscall can't fail, this function can redirect it to a real syscall. // // This is exported via linkname to assembly in the syscall package. // //go:nosplit //go:linkname syscall_Syscall
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Dec 14 17:22:18 UTC 2023 - 6.3K bytes - Viewed (0) -
src/testing/example.go
// recovered is the result of invoking recover after running the test, in case it panicked. // // If stdout doesn't match the expected output or if recovered is non-nil, it'll print the cause of failure to stdout. // If the test is chatty/verbose, it'll print a success message to stdout. // If recovered is non-nil, it'll panic with that value. // If the test panicked with nil, or invoked runtime.Goexit, it'll be
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 2.8K bytes - Viewed (0) -
src/crypto/x509/root_unix_test.go
t.Fatalf("setenv %q failed: %v", certDirEnv, err) } certFiles, certDirectories = tc.files, tc.dirs r, err := loadSystemRoots() if err != nil { t.Fatal("unexpected failure:", err) } if r == nil { t.Fatal("nil roots") } // Verify that the returned certs match, otherwise report where the mismatch is. for i, cn := range tc.cns { if i >= r.len() {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Mar 01 00:36:38 UTC 2023 - 6.1K bytes - Viewed (0) -
src/cmd/test2json/main.go
// // When a benchmark runs, it typically produces a single line of output // giving timing results. That line is reported in an event with Action == "output" // and no Test field. If a benchmark logs output or reports a failure // (for example, by using b.Log or b.Error), that extra output is reported // as a sequence of events with Test set to the benchmark name, terminated // by a final event with Action == "bench" or "fail".
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 14 19:41:17 UTC 2024 - 5.1K bytes - Viewed (0)