- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 67 for getgid (0.14 sec)
-
src/internal/coverage/cfile/emit.go
// of a test coverage run. If updates the 'cfname' and 'cf' fields in // 's', returning an error if something went wrong. func (s *emitState) openCounterFile(metaHash [16]byte) error { processID := os.Getpid() fn := fmt.Sprintf(coverage.CounterFileTempl, coverage.CounterFilePref, metaHash, processID, time.Now().UnixNano()) s.cfname = filepath.Join(s.outdir, fn) s.cftmp = filepath.Join(s.outdir, "tmp."+fn) var err error
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 09:57:47 UTC 2024 - 18.9K bytes - Viewed (0) -
src/runtime/sys_linux_ppc64x.s
SYSCALL $SYS_getpid MOVW R3, R3 // arg 1 pid MOVW sig+0(FP), R4 // arg 2 SYSCALL $SYS_kill RET TEXT ·getpid(SB),NOSPLIT|NOFRAME,$0-8 SYSCALL $SYS_getpid MOVD R3, ret+0(FP) RET TEXT ·tgkill(SB),NOSPLIT|NOFRAME,$0-24 MOVD tgid+0(FP), R3 MOVD tid+8(FP), R4 MOVD sig+16(FP), R5 SYSCALL $SYS_tgkill RET TEXT runtime·setitimer(SB),NOSPLIT|NOFRAME,$0-24
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 18:17:17 UTC 2024 - 18.1K bytes - Viewed (0) -
src/runtime/sys_darwin.go
//go:cgo_import_dynamic libc_pthread_sigmask pthread_sigmask "/usr/lib/libSystem.B.dylib" //go:cgo_import_dynamic libc_sigaltstack sigaltstack "/usr/lib/libSystem.B.dylib" //go:cgo_import_dynamic libc_getpid getpid "/usr/lib/libSystem.B.dylib" //go:cgo_import_dynamic libc_kill kill "/usr/lib/libSystem.B.dylib" //go:cgo_import_dynamic libc_setitimer setitimer "/usr/lib/libSystem.B.dylib"
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:17:26 UTC 2024 - 23.9K bytes - Viewed (0) -
src/os/exec/exec_test.go
// (and thus cannot run as an ordinary Test function, since the testing // package monkey-patches those variables before running tests). func TestMain(m *testing.M) { flag.Parse() pid := os.Getpid() if os.Getenv("GO_EXEC_TEST_PID") == "" { os.Setenv("GO_EXEC_TEST_PID", strconv.Itoa(pid)) if runtime.GOOS == "windows" { // Normalize environment so that test behavior is consistent.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Jun 07 20:13:53 UTC 2024 - 48.4K bytes - Viewed (0) -
pilot/cmd/pilot-agent/status/server.go
return } _, err = w.Write(b) if err != nil { w.WriteHeader(http.StatusInternalServerError) } } // notifyExit sends SIGTERM to itself func notifyExit() { p, err := os.FindProcess(os.Getpid()) if err != nil { log.Error(err) } if err := p.Signal(syscall.SIGTERM); err != nil { log.Errorf("failed to send SIGTERM to self: %v", err) } }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu May 23 15:07:03 UTC 2024 - 31.1K bytes - Viewed (1) -
src/cmd/go/internal/fsys/fsys.go
func Trace(op, path string) { if !doTrace { return } traceMu.Lock() defer traceMu.Unlock() fmt.Fprintf(traceFile, "%d gofsystrace %s %s\n", os.Getpid(), op, path) if pattern := gofsystracestack.Value(); pattern != "" { if match, _ := pathpkg.Match(pattern, path); match { traceFile.Write(debug.Stack()) } } } var ( doTrace bool
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Jun 06 18:35:34 UTC 2024 - 22.7K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/endpoints/handlers/patch.go
if err != nil { return nil, err } return nil, errors.NewConflict(p.resource.GroupResource(), p.name, fmt.Errorf("uid mismatch: the provided object specified uid %s, and no existing object was found", accessor.GetUID())) } // if this object supports namespace info if objectMeta, err := meta.Accessor(objToUpdate); err == nil { // ensure namespace on the object is correct, or error if a conflicting namespace was set in the object
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue May 28 08:48:22 UTC 2024 - 28.5K bytes - Viewed (0) -
pkg/istio-agent/agent.go
// will break due to permission errors if we start envoy as 1337. // This is a mode used for permission-less docker, where iptables can't be // used. a.envoyOpts.AgentIsRoot = os.Getuid() == 0 && strings.HasSuffix(a.cfg.DNSAddr, ":53") envoyProxy := envoy.NewProxy(a.envoyOpts) drainDuration := a.proxyConfig.TerminationDrainDuration.AsDuration() localHostAddr := localHostIPv4 if a.cfg.IsIPv6 {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Jun 05 10:02:56 UTC 2024 - 26.7K bytes - Viewed (0) -
src/os/os_windows_test.go
} } func TestNetworkSymbolicLink(t *testing.T) { testenv.MustHaveSymlink(t) const _NERR_ServerNotStarted = syscall.Errno(2114) dir := t.TempDir() chdir(t, dir) pid := os.Getpid() shareName := fmt.Sprintf("GoSymbolicLinkTestShare%d", pid) sharePath := filepath.Join(dir, shareName) testDir := "TestDir" err := os.MkdirAll(filepath.Join(sharePath, testDir), 0777) if err != nil {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 41.8K bytes - Viewed (0) -
src/net/http/fs_test.go
if err := testenv.Command(t, "strace", "-f", "-q", os.Args[0], "-test.run=^$").Run(); err != nil { t.Skipf("skipping; failed to run strace: %v", err) } filename := fmt.Sprintf("1kb-%d", os.Getpid()) filepath := path.Join(os.TempDir(), filename) if err := os.WriteFile(filepath, bytes.Repeat([]byte{'a'}, 1<<10), 0755); err != nil { t.Fatal(err) } defer os.Remove(filepath)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 15 23:39:44 UTC 2024 - 49.9K bytes - Viewed (0)