- Sort Score
- Result 10 results
- Languages All
Results 1 - 6 of 6 for subprocess (0.33 sec)
-
src/net/http/serve_test.go
if body != "Hello world.\n" { panic("Got body: " + body) } } }) } // A benchmark for profiling the server without the HTTP client code. // The client code runs in a subprocess. // // For use like: // // $ go test -c // $ ./http.test -test.run='^$' -test.bench='^BenchmarkServer$' -test.benchtime=15s -test.cpuprofile=http.prof // $ go tool pprof http.test http.prof
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Jun 07 17:57:01 UTC 2024 - 202K bytes - Viewed (0) -
doc/go1.17_spec.html
} } } // 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 fmt.Print(prime, "\n") ch1 := make(chan int) go filter(ch, ch1, prime) ch = ch1 } } func main() { sieve() } </pre>
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Apr 11 20:22:45 UTC 2024 - 211.6K bytes - Viewed (0) -
src/encoding/json/testdata/code.json.gz
n_t":1297743092},{"name":"command_line_interface.cc","kids":[],"cl_weight":0.028647215558761104,"touches":4,"min_t":1285863249,"max_t":1301748385,"mean_t":1297743092},{"name":"subprocess.cc","kids":[],"cl_weight":0.028647215558761104,"touches":4,"min_t":1285863249,"max_t":1301748385,"mean_t":1297743092},{"name":"subprocess.h","kids":[],"cl_weight":0.028647215558761104,"touches":4,"min_t":1285863249,"max_t":1301748385,"mean_t":1297743092},{"name":"zip_writer.cc","kids":[],"cl_weight":0.0286472155...
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Mar 25 04:02:36 UTC 2016 - 117.6K bytes - Viewed (0) -
cmd/admin-handlers.go
} anonymizeProcInfo := func(p *madmin.ProcInfo) { p.CmdLine = anonymizeCmdLine(p.CmdLine) anonymizeAddr(p) } getAndWriteProcInfo := func() { if query.Get("sysprocess") == "true" { localProcInfo := madmin.GetProcInfo(healthCtx, globalLocalNodeName) anonymizeProcInfo(&localProcInfo) healthInfo.Sys.ProcInfo = append(healthInfo.Sys.ProcInfo, localProcInfo)
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Fri May 24 23:05:23 UTC 2024 - 98K bytes - Viewed (0) -
src/cmd/go/internal/work/exec.go
fmt.Fprintf(h, "GOEXPERIMENT=%q\n", cfg.CleanGOEXPERIMENT) } // TODO(rsc): Convince compiler team not to add more magic environment variables, // or perhaps restrict the environment variables passed to subprocesses. // Because these are clumsy, undocumented special-case hacks // for debugging the compiler, they are not settable using 'go env -w', // and so here we use os.Getenv, not cfg.Getenv. magic := []string{
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Jun 10 14:46:37 UTC 2024 - 105.6K bytes - Viewed (0) -
src/cmd/go/alldocs.go
// The value of this flag is the maximum number of tests to run // simultaneously. // While fuzzing, the value of this flag is the maximum number of // subprocesses that may call the fuzz function simultaneously, regardless of // whether T.Parallel is called. // By default, -parallel is set to the value of GOMAXPROCS.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jun 11 16:54:28 UTC 2024 - 142.4K bytes - Viewed (0)