- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 1,117 for execIO (0.13 sec)
-
migrator/migrator.go
} } return } func (m Migrator) GetQueryAndExecTx() (queryTx, execTx *gorm.DB) { queryTx = m.DB.Session(&gorm.Session{}) execTx = queryTx if m.DB.DryRun { queryTx.DryRun = false execTx = m.DB.Session(&gorm.Session{Logger: &printSQLLogger{Interface: m.DB.Logger}}) } return queryTx, execTx } // AutoMigrate auto migrate values
Registered: Wed Jun 12 16:27:09 UTC 2024 - Last Modified: Fri Apr 26 07:15:49 UTC 2024 - 29K bytes - Viewed (0) -
src/cmd/go/testdata/script/go_version.txt
L1:# test that go version doesn't panic on non-go binaries L2:# See Issue #49181 L3: L4:[exec:/bin/true] cp /bin/true true L5:[exec:C:\windows\system32\help.exe] cp C:\windows\system32\help.exe help.exe L6: L7:go version -m . L8:! stdout . L9:! stderr . ...
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Nov 16 08:58:05 UTC 2021 - 236 bytes - Viewed (0) -
cmd/kube-proxy/app/server_linux.go
// that family. func getIPTables(primaryFamily v1.IPFamily) ([2]utiliptables.Interface, utiliptables.Interface) { execer := exec.New() // Create iptables handlers for both families. Always ordered as IPv4, IPv6 ipt := [2]utiliptables.Interface{ utiliptables.New(execer, utiliptables.ProtocolIPv4), utiliptables.New(execer, utiliptables.ProtocolIPv6), } var iptInterface utiliptables.Interface
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat Jun 08 13:48:54 UTC 2024 - 18.1K bytes - Viewed (0) -
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) -
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) -
cmd/kubeadm/app/preflight/utils.go
"k8s.io/apimachinery/pkg/util/version" utilsexec "k8s.io/utils/exec" ) // GetKubeletVersion is helper function that returns version of kubelet available in $PATH func GetKubeletVersion(execer utilsexec.Interface) (*version.Version, error) { kubeletVersionRegex := regexp.MustCompile(`^\s*Kubernetes v((0|[1-9]\d*)\.(0|[1-9]\d*)\.(0|[1-9]\d*)([-\w.+]*)?)\s*$`) command := execer.Command("kubelet", "--version") out, err := command.Output()
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Sep 07 07:51:36 UTC 2022 - 1.4K bytes - Viewed (0) -
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) -
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) -
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) -
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)