Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for nproc (0.04 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. hack/local-up-cluster.sh

      if [ $? == "1" ]; then
        echo "time out on waiting for coredns deployment"
        exit 1
      fi
    
      # bump log level
      echo "6" | sudo tee /proc/sys/kernel/printk
    
      # loop through and grab all things in dmesg
      dmesg > "${LOG_DIR}/dmesg.log"
      dmesg -w --human >> "${LOG_DIR}/dmesg.log" &
    }
    
    function start_kubelet {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 25 02:33:52 UTC 2024
    - 53.3K bytes
    - Viewed (0)
  6. 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)
Back to top