- Sort Score
- Result 10 results
- Languages All
Results 61 - 70 of 128 for getgid (0.16 sec)
-
src/cmd/link/internal/ld/testdata/deadcode/globalmap.go
package main import "os" // Too small to trigger deadcode (currently) var small = map[string]int{"foo": 1} // Has side effects, which prevent deadcode var effect = map[string]int{"foo": os.Getpid()} // Large and side-effect free var large = map[string]int{ "11": 1, "12": 2, "13": 3, "14": 4, "15": 5, "16": 6, "17": 7, "18": 8, "19": 9, "110": 10, "21": 1, "22": 2, "23": 3, "24": 4, "25": 5, "26": 6, "27": 7, "28": 8, "29": 9, "210": 10,
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Feb 06 20:56:47 UTC 2023 - 1.2K bytes - Viewed (0) -
testing/internal-performance-testing/src/main/groovy/org/gradle/performance/fixture/PidInstrumentation.groovy
private final File pidFileInitScript = createPidFileInitScript(pidFile) List<String> getGradleArgs() { ["--init-script", pidFileInitScript.absolutePath] } String getPid() { pidFile.text } private static File createPidFile() { def pidFile = File.createTempFile("build-under-test", ".pid") pidFile.deleteOnExit() pidFile }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 1.9K bytes - Viewed (0) -
test/sigchld.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 23:33:25 UTC 2023 - 381 bytes - Viewed (0) -
src/runtime/testdata/testprog/segv.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Jun 05 15:24:08 UTC 2023 - 479 bytes - Viewed (0) -
src/runtime/testdata/testprog/syscalls_none.go
// license that can be found in the LICENSE file. //go:build !linux // +build !linux package main func gettid() int { return 0 } func tidExists(tid int) (exists, supported bool, err error) { return false, false, nil } func getcwd() (string, error) { return "", nil } func unshareFs() error { return nil } func chdir(path string) error { return nil
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Mar 21 20:00:09 UTC 2024 - 471 bytes - Viewed (0) -
src/runtime/testdata/testprogcgo/segv.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Jun 05 15:24:08 UTC 2023 - 525 bytes - Viewed (0) -
pkg/util/procfs/procfs_linux_test.go
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Oct 20 07:13:28 UTC 2022 - 3.1K bytes - Viewed (0) -
src/cmd/go/testdata/script/test2json_interrupt.txt
) func FuzzInterrupt(f *testing.F) { pids := os.Getenv("GO_TEST_INTERRUPT_PIDS") if pids == "" { // This is the main test process. // Set the environment variable for fuzz workers. pid := os.Getpid() ppid := os.Getppid() os.Setenv("GO_TEST_INTERRUPT_PIDS", fmt.Sprintf("%d,%d", ppid, pid)) } sentInterrupt := false f.Fuzz(func(t *testing.T, orig string) { if !sentInterrupt {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Dec 08 03:52:44 UTC 2022 - 1.7K bytes - Viewed (0) -
src/cmd/go/testdata/script/test_fuzz_fuzztime.txt
func FuzzFast(f *testing.F) { f.Fuzz(func (*testing.T, []byte) {}) } -- fuzz_count_test.go -- package fuzz import ( "fmt" "os" "testing" ) func FuzzTestCount(f *testing.F) { pid := os.Getpid() n := 0 f.Fuzz(func(t *testing.T, _ []byte) { name := fmt.Sprintf("count/%v.%d", pid, n) if err := os.WriteFile(name, nil, 0666); err != nil { t.Fatal(err) } n++ }) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Feb 01 20:09:52 UTC 2024 - 3.1K bytes - Viewed (0) -
platforms/core-runtime/daemon-protocol/src/main/java/org/gradle/launcher/daemon/diagnostics/DaemonDiagnostics.java
this.daemonLog = daemonLog; this.pid = pid; } /** * @return pid. Can be null, it means the daemon was not able to identify its pid. */ public @Nullable Long getPid() { return pid; } public File getDaemonLog() { return daemonLog; } @Override public String toString() { return "{" + "pid=" + pid
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed May 29 10:50:51 UTC 2024 - 2.2K bytes - Viewed (0)