Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 210 for execIO (0.6 sec)

  1. src/internal/poll/sendfile_windows.go

    	for n > 0 {
    		chunkSize := maxChunkSizePerCall
    		if chunkSize > n {
    			chunkSize = n
    		}
    
    		o.qty = uint32(chunkSize)
    		o.o.Offset = uint32(curpos)
    		o.o.OffsetHigh = uint32(curpos >> 32)
    
    		nw, err := execIO(o, func(o *operation) error {
    			return syscall.TransmitFile(o.fd.Sysfd, o.handle, o.qty, 0, &o.o, nil, syscall.TF_WRITE_BEHIND)
    		})
    		if err != nil {
    			return written, err
    		}
    
    		curpos += int64(nw)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 26 18:12:56 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  2. pkg/proxy/conntrack/conntrack.go

    	ClearEntriesForPortNAT(dest string, port int, protocol v1.Protocol) error
    }
    
    // execCT implements Interface by execing the conntrack tool
    type execCT struct {
    	execer exec.Interface
    }
    
    var _ Interface = &execCT{}
    
    func NewExec(execer exec.Interface) Interface {
    	return &execCT{execer: execer}
    }
    
    // noConnectionToDelete is the error string returned by conntrack when no matching connections are found
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jan 15 18:09:05 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  3. 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)
  4. 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)
  5. cmd/kubeadm/app/preflight/checks_linux.go

    		InPathCheck{executable: "nsenter", mandatory: true, exec: execer},
    		InPathCheck{executable: "ebtables", mandatory: false, exec: execer},
    		InPathCheck{executable: "ethtool", mandatory: false, exec: execer},
    		InPathCheck{executable: "socat", mandatory: false, exec: execer},
    		InPathCheck{executable: "tc", mandatory: false, exec: execer},
    		InPathCheck{executable: "touch", mandatory: false, exec: execer})
    	return checks
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 06:58:01 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  6. pkg/proxy/conntrack/conntrack_test.go

    	v1 "k8s.io/api/core/v1"
    	"k8s.io/utils/exec"
    	fakeexec "k8s.io/utils/exec/testing"
    )
    
    var success = func() ([]byte, []byte, error) { return []byte("1 flow entries have been deleted"), nil, nil }
    var nothingToDelete = func() ([]byte, []byte, error) {
    	return []byte(""), nil, fmt.Errorf("conntrack v1.4.2 (conntrack-tools): 0 flow entries have been deleted")
    }
    
    type testCT struct {
    	execCT
    
    	fcmd *fakeexec.FakeCmd
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jan 15 18:08:36 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  7. 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)
  8. 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)
  9. 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)
  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