- Sort Score
- Result 10 results
- Languages All
Results 61 - 70 of 168 for Getgid (0.15 sec)
-
tensorflow/compiler/mlir/tensorflow/transforms/test_resource_alias_analysis.cc
auto aliases = llvm::to_vector<4>(analysis.GetResourceAliases(value)); llvm::sort(aliases, [&](Value v1, Value v2) { return get_id(v1) < get_id(v2); }); llvm::interleaveComma(aliases, diag, [&](Value v) { diag << get_id(v); }); } }; // Assign a unique ID to each value seen in this function. func.walk([&](Operation* op) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Apr 19 00:13:50 UTC 2022 - 4.4K bytes - Viewed (0) -
src/syscall/exec_solaris_test.go
//go:build solaris package syscall import "unsafe" //go:cgo_import_dynamic libc_Getpgid getpgid "libc.so" //go:cgo_import_dynamic libc_Getpgrp getpgrp "libc.so" //go:linkname libc_Getpgid libc_Getpgid //go:linkname libc_Getpgrp libc_Getpgrp var ( libc_Getpgid, libc_Getpgrp libcFunc ) func Getpgid(pid int) (pgid int, err error) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Mar 22 04:41:27 UTC 2024 - 1.1K bytes - Viewed (0) -
src/cmd/go/testdata/script/test_fuzz_non_crash_signal.txt
) func FuzzNonCrash(f *testing.F) { f.Fuzz(func(*testing.T, bool) { pid := syscall.Getpid() if err := syscall.Kill(pid, syscall.SIGTERM); err != nil { panic(err) } // signal may not be received immediately. Wait for it. select{} }) } func FuzzKill(f *testing.F) { f.Fuzz(func(*testing.T, bool) { pid := syscall.Getpid() if err := syscall.Kill(pid, syscall.SIGKILL); err != nil { panic(err) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Mar 16 16:53:11 UTC 2023 - 1.9K bytes - Viewed (0) -
platforms/core-runtime/launcher/src/main/java/org/gradle/launcher/daemon/registry/DaemonInfo.java
lastBusy = clock.getCurrentTime(); } this.state = state; return this; } @Override public String getUid() { return context.getUid(); } @Override public Long getPid() { return context.getPid(); } @Override public Address getAddress() { return address; } public DaemonContext getContext() {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:29:13 UTC 2023 - 5.2K bytes - Viewed (0) -
src/syscall/exec_aix_test.go
//go:build aix package syscall import "unsafe" //go:cgo_import_dynamic libc_Getpgid getpgid "libc.a/shr_64.o" //go:cgo_import_dynamic libc_Getpgrp getpgrp "libc.a/shr_64.o" //go:linkname libc_Getpgid libc_Getpgid //go:linkname libc_Getpgrp libc_Getpgrp var ( libc_Getpgid, libc_Getpgrp libcFunc ) func Getpgid(pid int) (pgid int, err error) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Mar 22 04:41:27 UTC 2024 - 1.1K bytes - Viewed (0) -
src/runtime/testdata/testprog/lockosthread.go
runtime.LockOSThread() if mainTID != 0 && gettid() != mainTID { println("failed to start goroutine on main thread") os.Exit(1) } // Exit with the thread locked, which should exit the // main thread. ready <- true }() <-ready time.Sleep(1 * time.Millisecond) // Check that this goroutine is still running on a different // thread. if mainTID != 0 && gettid() == mainTID {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Mar 21 20:00:09 UTC 2024 - 6.6K bytes - Viewed (0) -
src/syscall/exec_unix_test.go
"testing" "time" ) type command struct { pipe io.WriteCloser proc *exec.Cmd test *testing.T } func (c *command) Info() (pid, pgrp int) { pid = c.proc.Process.Pid pgrp, err := syscall.Getpgid(pid) if err != nil { c.test.Fatal(err) } return } func (c *command) Start() { if err := c.proc.Start(); err != nil { c.test.Fatal(err) } } func (c *command) Stop() {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Mar 22 04:41:27 UTC 2024 - 7.9K bytes - Viewed (0) -
build/pause/linux/orphan.c
#include <unistd.h> int main() { pid_t pid; pid = fork(); if (pid == 0) { while (getppid() > 1) ; printf("Child exiting: pid=%d ppid=%d\n", getpid(), getppid()); return 0; } else if (pid > 0) { printf("Parent exiting: pid=%d ppid=%d\n", getpid(), getppid()); return 0; } perror("Could not create child"); return 1;
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat Sep 26 13:26:24 UTC 2020 - 1014 bytes - Viewed (0) -
pkg/kubelet/server/stats/fs_resource_analyzer.go
for _, pod := range s.statsProvider.GetPods() { if value, found := oldCache[pod.GetUID()]; !found { newCache[pod.GetUID()] = newVolumeStatCalculator(s.statsProvider, s.calcPeriod, pod, s.eventRecorder).StartOnce() } else { newCache[pod.GetUID()] = value } } // Stop entries for pods that have been deleted for uid, entry := range oldCache {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Mar 09 16:16:37 UTC 2021 - 3.3K bytes - Viewed (0) -
platforms/core-runtime/launcher/src/main/java/org/gradle/launcher/daemon/server/DaemonRegistryUnavailableExpirationStrategy.java
@Override public Long apply(DaemonInfo info) { return info.getPid(); } }); if (!allDaemonPids.contains(daemonContext.getPid())) { return new DaemonExpirationResult(GRACEFUL_EXPIRE, REGISTRY_ENTRY_UNEXPECTEDLY_LOST); } }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:29:13 UTC 2023 - 3.4K bytes - Viewed (0)