- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 568 for execIO (0.15 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) -
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) -
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) -
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) -
src/os/exec.go
// thread state (for example, Linux or Plan 9 name spaces), the new // process will inherit the caller's thread state. // // StartProcess is a low-level interface. The [os/exec] package provides // higher-level interfaces. // // If there is an error, it will be of type [*PathError]. func StartProcess(name string, argv []string, attr *ProcAttr) (*Process, error) { testlog.Open(name)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Jun 10 22:06:47 UTC 2024 - 12.8K bytes - Viewed (0) -
src/cmd/go/internal/work/exec.go
span.Done() } if a.json != nil { a.json.TimeDone = time.Now() } // The actions run in parallel but all the updates to the // shared work state are serialized through b.exec. b.exec.Lock() defer b.exec.Unlock() if err != nil { if b.AllowErrors && a.Package != nil { if a.Package.Error == nil { a.Package.Error = &load.PackageError{Err: err} a.Package.Incomplete = true
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Jun 10 14:46:37 UTC 2024 - 105.6K bytes - Viewed (0) -
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) -
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)