- Sort Score
- Result 10 results
- Languages All
Results 1 - 6 of 6 for nproc (0.04 sec)
-
src/runtime/mgc.go
trackLimiterEvent = pp.limiterEvent.start(limiterEventIdleMarkWork, startTime) } decnwait := atomic.Xadd(&work.nwait, -1) if decnwait == work.nproc { println("runtime: work.nwait=", decnwait, "work.nproc=", work.nproc) throw("work.nwait was > work.nproc") } systemstack(func() { // Mark our goroutine preemptible so its stack // can be scanned. This lets two mark workers
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 29 16:25:21 UTC 2024 - 62K bytes - Viewed (0) -
src/internal/trace/order.go
return fmt.Errorf("expected no thread but had one") } // Check proc requirements. if reqs.Proc == event.MustHave && ctx.P == NoProc { return fmt.Errorf("expected a proc but didn't have one") } else if reqs.Proc == event.MustNotHave && ctx.P != NoProc { return fmt.Errorf("expected no proc but had one") } // Check goroutine requirements.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Jun 03 14:56:25 UTC 2024 - 52.4K bytes - Viewed (0) -
configure.py
if not paths: raise FileNotFoundError( "Can't find 'find_cuda_config.py' script inside working directory") proc = subprocess.Popen( [environ_cp['PYTHON_BIN_PATH'], paths[0]] + cuda_libraries, stdout=subprocess.PIPE, env=maybe_encode_env(environ_cp)) if proc.wait(): # Errors from find_cuda_config.py were sent to stderr. print('Asking for detailed CUDA configuration...\n')
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Jun 10 04:32:44 UTC 2024 - 53.8K bytes - Viewed (1) -
src/os/os_test.go
func TestReadFileProc(t *testing.T) { t.Parallel() // Linux files in /proc report 0 size, // but then if ReadFile reads just a single byte at offset 0, // the read at offset 1 returns EOF instead of more data. // ReadFile has a minimum read size of 512 to work around this, // but test explicitly that it's working. name := "/proc/sys/fs/pipe-max-size" if _, err := Stat(name); err != nil { t.Skip(err) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 83.1K bytes - Viewed (0) -
hack/local-up-cluster.sh
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat May 25 02:33:52 UTC 2024 - 53.3K bytes - Viewed (0) -
src/cmd/dist/build.go
xprintf("Installed commands in %s\n", gorootBin) if gohostos == "plan9" { // Check that GOROOT/bin is bound before /bin. pid := strings.Replace(readfile("#c/pid"), " ", "", -1) ns := fmt.Sprintf("/proc/%s/ns", pid) if !strings.Contains(readfile(ns), fmt.Sprintf("bind -b %s /bin", gorootBin)) { xprintf("*** You need to bind %s before /bin.\n", gorootBin) } } else {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 20 18:34:40 UTC 2024 - 54K bytes - Viewed (0)