- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 1,117 for execIO (1.93 sec)
-
src/internal/poll/fd_windows.go
// if the user is doing their own overlapped I/O. // See issue #21172. // // In general the code below avoids calling the execIO // function for non-network sockets. If some method does // somehow call execIO, then execIO, and therefore the // calling method, will return an error, because // fd.pd.runtimeCtx will be 0. err = fd.pd.init(fd) } if logInitFD != nil {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Jan 31 16:50:42 UTC 2024 - 34.1K bytes - Viewed (0) -
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) -
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) -
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) -
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) -
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) -
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) -
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) -
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) -
src/os/exec/exec.go
// can instead override the error using an errors.Is check: // // path, err := exec.LookPath("prog") // if errors.Is(err, exec.ErrDot) { // err = nil // } // if err != nil { // log.Fatal(err) // } // use(path) // // and // // cmd := exec.Command("prog") // if errors.Is(cmd.Err, exec.ErrDot) { // cmd.Err = nil // } // if err := cmd.Run(); err != nil { // log.Fatal(err) // } //
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Jun 07 20:13:53 UTC 2024 - 41.4K bytes - Viewed (0)