- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 87 for subprocess (0.14 sec)
-
src/net/http/pprof/testdata/delta_mutex.go
// This binary collects a 1s delta mutex profile and dumps it to os.Stdout. // // This is in a subprocess because we want the base mutex profile to be empty // (as a regression test for https://go.dev/issue/64566) and the only way to // force reset the profile is to create a new subprocess. // // This manually collects the HTTP response and dumps to stdout in order to
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Dec 07 19:52:28 UTC 2023 - 1.2K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/telemetry/internal/configstore/download_windows.go
// a parent is a console process without console is not clearly documented // but empirically we observed the new console is created and attached to the // subprocess in the default setup. // // Ensure no new console is attached to the subprocess by setting CREATE_NO_WINDOW. // https://learn.microsoft.com/en-us/windows/console/creation-of-a-console
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jun 04 14:52:56 UTC 2024 - 1K bytes - Viewed (0) -
.github/actions/people/app/main.py
logging.info("Setting up GitHub Actions git user") subprocess.run(["git", "config", "user.name", "github-actions"], check=True) subprocess.run( ["git", "config", "user.email", "******@****.***"], check=True ) branch_name = "fastapi-people" logging.info(f"Creating a new branch {branch_name}") subprocess.run(["git", "checkout", "-b", branch_name], check=True)
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Tue Mar 26 17:38:21 UTC 2024 - 19.2K bytes - Viewed (0) -
src/cmd/go/testdata/script/run_issue11709.txt
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Feb 19 21:59:50 UTC 2020 - 217 bytes - Viewed (0) -
src/testing/flag_test.go
// character used for JSON framing so that the JSON parser doesn't // misinterpret the subprocess output as output from the parent test. t.Logf("%q", b) } if err != nil { t.Error(err) } }) } } // testFlagHelper is called by the TestFlagHelper subprocess. func testFlagHelper(t *testing.T) { f := flag.Lookup("test.v") if f == nil {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Sep 05 23:35:29 UTC 2023 - 2K bytes - Viewed (0) -
ci/official/containers/linux_arm64/devel.usertools/squash_testlogs.py
internal invocation viewer. """ import collections import os import re import subprocess import sys from junitparser import JUnitXml result = JUnitXml() try: files = subprocess.check_output( ["grep", "-rlE", '(failures|errors)="[1-9]', sys.argv[1]] ) except subprocess.CalledProcessError as e: print("No failures found to log!") exit(0)
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Sep 18 19:00:37 UTC 2023 - 4.8K bytes - Viewed (0) -
src/internal/testenv/testenv_notunix.go
//go:build windows || plan9 || (js && wasm) || wasip1 package testenv import ( "errors" "io/fs" "os" ) // Sigquit is the signal to send to kill a hanging subprocess. // On Unix we send SIGQUIT, but on non-Unix we only have os.Kill. var Sigquit = os.Kill func syscallIsNotSupported(err error) bool { return errors.Is(err, fs.ErrPermission) || errors.Is(err, errors.ErrUnsupported)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 02 05:22:00 UTC 2023 - 550 bytes - Viewed (0) -
src/internal/testenv/testenv_unix.go
// license that can be found in the LICENSE file. //go:build unix package testenv import ( "errors" "io/fs" "syscall" ) // Sigquit is the signal to send to kill a hanging subprocess. // Send SIGQUIT to get a stack trace. var Sigquit = syscall.SIGQUIT func syscallIsNotSupported(err error) bool { if err == nil { return false } var errno syscall.Errno
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Mar 16 17:44:01 UTC 2023 - 994 bytes - Viewed (0) -
test/fixedbugs/issue33275_run.go
// Make sure we don't get an index out of bounds error // while trying to print a map that is concurrently modified. // The runtime might complain (throw) if it detects the modification, // so we have to run the test as a subprocess. package main import ( "os/exec" "strings" ) func main() { out, _ := exec.Command("go", "run", "fixedbugs/issue33275.go").CombinedOutput()
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 23:33:25 UTC 2023 - 717 bytes - Viewed (0) -
test/sieve.go
} } } // The prime sieve: Daisy-chain Filter processes together. func Sieve() { ch := make(chan int) // Create a new channel. go Generate(ch) // Start Generate() as a subprocess. for { prime := <-ch print(prime, "\n") ch1 := make(chan int) go Filter(ch, ch1, prime) ch = ch1 } } func main() { Sieve()
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Feb 24 00:48:19 UTC 2012 - 1K bytes - Viewed (0)