Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 745 for execR (0.12 sec)

  1. src/runtime/mklockrank.go

      scavenge,
      sweep,
      sweepWaiters,
      testR,
      wakeableSleep
    # Above SCHED are things that can call into the scheduler.
    < SCHED
    # Below SCHED is the scheduler implementation.
    < allocmR,
      execR;
    allocmR, execR, hchan < sched;
    sched < allg, allp;
    
    # Channels
    NONE < notifyList;
    hchan, notifyList < sudog;
    
    hchan, pollDesc, wakeableSleep < timers;
    timers, timerSend < timer < netpollInit;
    
    # Semaphores
    NONE < root;
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 17:47:01 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  2. src/cmd/go/internal/toolchain/exec.go

    		cmd := exec.Command(exe, os.Args[1:]...)
    		cmd.Stdin = os.Stdin
    		cmd.Stdout = os.Stdout
    		cmd.Stderr = os.Stderr
    		err := cmd.Run()
    		if err != nil {
    			if e, ok := err.(*exec.ExitError); ok && e.ProcessState != nil {
    				if e.ProcessState.Exited() {
    					os.Exit(e.ProcessState.ExitCode())
    				}
    				base.Fatalf("exec %s: %s", gotoolchain, e.ProcessState)
    			}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Dec 19 14:42:39 UTC 2023
    - 1.6K bytes
    - Viewed (0)
  3. src/internal/testenv/exec.go

    // inappropriate recursion in TestMain functions.
    //
    // To check for exec support outside of a test, just try to exec the command.
    // If exec is not supported, testenv.SyscallIsNotSupported will return true
    // for the resulting error.
    func MustHaveExec(t testing.TB) {
    	tryExecOnce.Do(func() {
    		tryExecErr = tryExec()
    	})
    	if tryExecErr != nil {
    		t.Skipf("skipping test: cannot exec subprocess on %s/%s: %v", runtime.GOOS, runtime.GOARCH, tryExecErr)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Oct 27 17:53:23 UTC 2023
    - 7.5K bytes
    - Viewed (0)
  4. pkg/probe/exec/exec.go

    limitations under the License.
    */
    
    package exec
    
    import (
    	"bytes"
    	"errors"
    
    	utilfeature "k8s.io/apiserver/pkg/util/feature"
    	remote "k8s.io/cri-client/pkg"
    	"k8s.io/kubernetes/pkg/features"
    	"k8s.io/kubernetes/pkg/kubelet/util/ioutils"
    	"k8s.io/kubernetes/pkg/probe"
    
    	"k8s.io/klog/v2"
    	"k8s.io/utils/exec"
    )
    
    const (
    	maxReadLength = 10 * 1 << 10 // 10KB
    )
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 14 08:58:18 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  5. src/cmd/dist/exec.go

    package main
    
    import (
    	"os/exec"
    	"strings"
    )
    
    // setDir sets cmd.Dir to dir, and also adds PWD=dir to cmd's environment.
    func setDir(cmd *exec.Cmd, dir string) {
    	cmd.Dir = dir
    	if cmd.Env != nil {
    		// os/exec won't set PWD automatically.
    		setEnv(cmd, "PWD", dir)
    	}
    }
    
    // setEnv sets cmd.Env so that key = value.
    func setEnv(cmd *exec.Cmd, key, value string) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jul 20 21:52:09 UTC 2023
    - 957 bytes
    - Viewed (0)
  6. src/runtime/testdata/testprogcgo/exec.go

    	sigemptyset(&mask);
    	pthread_sigmask(SIG_SETMASK, NULL, &mask);
    }
    
    int SIGINTBlocked() {
    	return sigismember(&mask, SIGINT);
    }
    */
    import "C"
    
    import (
    	"fmt"
    	"io/fs"
    	"os"
    	"os/exec"
    	"os/signal"
    	"sync"
    	"syscall"
    )
    
    func init() {
    	register("CgoExecSignalMask", CgoExecSignalMask)
    }
    
    func CgoExecSignalMask() {
    	if len(os.Args) > 2 && os.Args[2] == "testsigint" {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Dec 13 18:45:54 UTC 2021
    - 2.1K bytes
    - Viewed (0)
  7. subprojects/core/src/main/java/org/gradle/api/tasks/Exec.java

     *     return standardOutput.toString()
     *   }
     * }
     * </pre>
     */
    @DisableCachingByDefault(because = "Gradle would require more information to cache this task")
    public abstract class Exec extends AbstractExecTask<Exec> {
        public Exec() {
            super(Exec.class);
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sun May 12 10:33:12 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  8. src/os/exec_windows_test.go

    	}
    	r, err := Open(name)
    	if err != nil {
    		t.Fatal(err)
    	}
    	defer r.Close()
    	const n = 100
    	var execs [n]string
    	// First create n executables.
    	for i := 0; i < n; i++ {
    		// Rewind r.
    		if _, err := r.Seek(0, io.SeekStart); err != nil {
    			t.Fatal(err)
    		}
    		name := filepath.Join(t.TempDir(), "test.exe")
    		execs[i] = name
    		w, err := Create(name)
    		if err != nil {
    			t.Fatal(err)
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jul 26 15:13:24 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  9. src/debug/elf/testdata/gcc-386-freebsd-exec

    Andrew Gerrand <******@****.***> 1441330476 +0000
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 04 02:59:49 UTC 2015
    - 5.6K bytes
    - Viewed (0)
  10. test/stress/runstress.go

    		log.Fatalf("stressExec: exec output = %q; want %q", out, wantOutput)
    	}
    	Println("did exec")
    }
    
    func stressExec() {
    	gate := make(chan bool, 10) // max execs at once
    	for {
    		gate <- true
    		go func() {
    			doAnExec()
    			<-gate
    		}()
    	}
    }
    
    func ringf(in <-chan int, out chan<- int, donec chan bool) {
    	for {
    		var n int
    		select {
    		case <-donec:
    			return
    		case n = <-in:
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:21:35 UTC 2024
    - 3.6K bytes
    - Viewed (0)
Back to top