- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 1,714 for errp (0.07 sec)
-
src/syscall/exec_bsd.go
} if !cred.NoSetGroups { _, _, err1 = RawSyscall(SYS_SETGROUPS, ngroups, groups, 0) if err1 != 0 { goto childerror } } _, _, err1 = RawSyscall(SYS_SETGID, uintptr(cred.Gid), 0, 0) if err1 != 0 { goto childerror } _, _, err1 = RawSyscall(SYS_SETUID, uintptr(cred.Uid), 0, 0) if err1 != 0 { goto childerror } } // Chdir
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Sep 29 18:51:35 UTC 2023 - 7.9K bytes - Viewed (0) -
src/os/removeall_noat.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Mar 29 16:24:51 UTC 2022 - 3.1K bytes - Viewed (0) -
src/cmd/internal/objfile/plan9obj.go
ssym, err := findPlan9Symbol(f, sname) if err != nil { return nil, err } esym, err := findPlan9Symbol(f, ename) if err != nil { return nil, err } sect := f.Section("text") if sect == nil { return nil, err } data, err := sect.Data() if err != nil { return nil, err } textStart := f.LoadAddress + f.HdrSize
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Sep 21 01:01:44 UTC 2017 - 3.5K bytes - Viewed (0) -
src/syscall/exec_unix.go
for { n, err = readlen(p[0], (*byte)(unsafe.Pointer(&err1)), int(unsafe.Sizeof(err1))) if err != EINTR { break } } Close(p[0]) if err != nil || n != 0 { if n == int(unsafe.Sizeof(err1)) { err = Errno(err1) } if err == nil { err = EPIPE } // Child failed; wait for it to exit, to make sure // the zombies don't accumulate. _, err1 := Wait4(pid, &wstatus, 0, nil)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Feb 26 21:03:59 UTC 2024 - 8.7K bytes - Viewed (0) -
src/strconv/fp_test.go
return 0, false } e, err1 := strconv.Atoi(exp) if err1 != nil { println("bad p", exp) return 0, false } return float32(float64(n) * pow2(e)), true } f64, err1 := strconv.ParseFloat(s, 32) f1 := float32(f64) if err1 != nil { return 0, false } return f1, true } func TestFp(t *testing.T) { f, err := os.Open("testdata/testfp.txt") if err != nil {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Oct 06 15:53:04 UTC 2021 - 2.9K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/mod/sumdb/tlog/tile.go
// First the tiles needed for the tree hash. th, err := HashFromTile(tiles[stxTileOrder[len(stx)-1]], data[stxTileOrder[len(stx)-1]], stx[len(stx)-1]) if err != nil { return nil, err } for i := len(stx) - 2; i >= 0; i-- { h, err := HashFromTile(tiles[stxTileOrder[i]], data[stxTileOrder[i]], stx[i]) if err != nil { return nil, err } th = NodeHash(h, th) } if th != r.tree.Hash {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 03 02:38:00 UTC 2024 - 13K bytes - Viewed (0) -
operator/pkg/util/errs_test.go
} errs = AppendErr(errs, nil) if got, want := errs.String(), ""; got != want { t.Errorf("got: %s, want: %s", got, want) } errs = AppendErr(errs, fmt.Errorf("err1")) if got, want := errs.String(), "err1"; got != want { t.Errorf("got: %s, want: %s", got, want) } errs = AppendErr(errs, nil) errs = AppendErr(errs, fmt.Errorf("err2")) if got, want := errs.String(), "err1, err2"; got != want {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri May 29 20:42:01 UTC 2020 - 3K bytes - Viewed (0) -
src/errors/example_test.go
const name, id = "bimmler", 17 err := fmt.Errorf("user %q (id %d) not found", name, id) if err != nil { fmt.Print(err) } // Output: user "bimmler" (id 17) not found } func ExampleJoin() { err1 := errors.New("err1") err2 := errors.New("err2") err := errors.Join(err1, err2) fmt.Println(err) if errors.Is(err, err1) { fmt.Println("err is err1") } if errors.Is(err, err2) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Aug 16 02:08:40 UTC 2023 - 2.2K bytes - Viewed (0) -
src/time/format_test.go
_, err := Parse(ANSIC, test.date) switch { case test.ok && err == nil: // OK case !test.ok && err != nil: if !strings.Contains(err.Error(), "day out of range") { t.Errorf("%q: expected 'day' error, got %v", test.date, err) } case test.ok && err != nil: t.Errorf("%q: unexpected error: %v", test.date, err) case !test.ok && err == nil:
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 00:58:29 UTC 2024 - 36.4K bytes - Viewed (0) -
pkg/kubelet/volumemanager/cache/desired_state_of_world_test.go
generatedVolumeName1, err1 := dsw.AddPodToVolume(util.GetUniquePodName(v.pod1), v.pod1, volumeSpec1, volumeSpec1.Name(), "", nil) generatedVolumeName2, err2 := dsw.AddPodToVolume(util.GetUniquePodName(v.pod2), v.pod2, volumeSpec2, volumeSpec2.Name(), "", nil) if err1 != nil { t.Fatalf("test %q: AddPodToVolume failed. Expected: <no error> Actual: <%v>", name, err1) } if err2 != nil {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 34K bytes - Viewed (0)