Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 877 for execIO (0.57 sec)

  1. src/syscall/exec_libc.go

    // syscall defines this global on our behalf to avoid a build dependency on other platforms
    func init() {
    	execveLibc = execve
    }
    
    // Fork, dup fd onto 0..len(fd), and exec(argv0, argvv, envv) in child.
    // If a dup or exec fails, write the errno error to pipe.
    // (Pipe is close-on-exec so if exec succeeds, it will be closed.)
    // In the child, this function must not acquire any locks, because
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 29 18:51:35 UTC 2023
    - 8.2K bytes
    - Viewed (0)
  2. src/syscall/syscall_openbsd_libc.go

    //go:build openbsd && !mips64
    
    package syscall
    
    import (
    	"internal/abi"
    )
    
    var dupTrampoline = abi.FuncPCABI0(libc_dup3_trampoline)
    
    func init() {
    	execveOpenBSD = execve
    }
    
    func syscallInternal(trap, a1, a2, a3 uintptr) (r1, r2 uintptr, err Errno) {
    	// OpenBSD 7.5+ no longer supports indirect syscalls. A number of Go
    	// packages make use of syscall.Syscall with SYS_IOCTL since it is
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat May 04 07:51:20 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  3. 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)
  4. src/syscall/exec_unix.go

    // execveLibc is non-nil on OS using libc syscall, set to execve in exec_libc.go; this
    // avoids a build dependency for other platforms.
    var execveLibc func(path uintptr, argv uintptr, envp uintptr) Errno
    var execveDarwin func(path *byte, argv **byte, envp **byte) error
    var execveOpenBSD func(path *byte, argv **byte, envp **byte) error
    
    // Exec invokes the execve(2) system call.
    func Exec(argv0 string, argv []string, envv []string) (err error) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 26 21:03:59 UTC 2024
    - 8.7K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. src/database/sql/driver/driver.go

    type Execer interface {
    	Exec(query string, args []Value) (Result, error)
    }
    
    // ExecerContext is an optional interface that may be implemented by a [Conn].
    //
    // If a [Conn] does not implement [ExecerContext], the [database/sql.DB.Exec]
    // will fall back to [Execer]; if the Conn does not implement Execer either,
    // [database/sql.DB.Exec] will first prepare a query, execute the statement, and then
    // close the statement.
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 23 09:04:12 UTC 2023
    - 20.9K bytes
    - Viewed (0)
  8. cmd/kubeadm/app/preflight/checks.go

    	}
    
    	// non-windows checks
    	checks = addSwapCheck(checks)
    	checks = addExecChecks(checks, execer)
    	checks = append(checks,
    		SystemVerificationCheck{},
    		HostnameCheck{nodeName: nodeReg.Name},
    		KubeletVersionCheck{KubernetesVersion: k8sVersion, exec: execer},
    		ServiceCheck{Service: "kubelet", CheckIfActive: false},
    		PortOpenCheck{port: kubeadmconstants.KubeletPort})
    	return checks
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jun 03 11:20:55 UTC 2024
    - 39.5K bytes
    - Viewed (0)
  9. cmd/service.go

    	// the file it points to has been changed we will use the updated symlink.
    	argv0, err := exec.LookPath(os.Args[0])
    	if err != nil {
    		return err
    	}
    
    	// Invokes the execve system call.
    	// Re-uses the same pid. This preserves the pid over multiple server-respawns.
    	return syscall.Exec(argv0, os.Args, os.Environ())
    }
    
    // freezeServices will freeze all incoming S3 API calls.
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed Feb 28 07:02:14 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  10. src/syscall/syscall_darwin.go

    //sys   mmap(addr uintptr, length uintptr, prot int, flag int, fd int, pos int64) (ret uintptr, err error)
    //sys   munmap(addr uintptr, length uintptr) (err error)
    //sysnb fork() (pid int, err error)
    //sysnb execve(path *byte, argv **byte, envp **byte) (err error)
    //sysnb exit(res int) (err error)
    //sys	sysctl(mib []_C_int, old *byte, oldlen *uintptr, new *byte, newlen uintptr) (err error)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:16:50 UTC 2024
    - 11K bytes
    - Viewed (0)
Back to top