Search Options

Results per page
Sort
Preferred Languages
Advance

Results 141 - 150 of 977 for kill (0.07 sec)

  1. src/net/http/cgi/integration_test.go

    	if len(p) > 0 {
    		n, err = w.w.Write(p)
    		w.n -= n
    	}
    	if w.n == 0 {
    		err = errors.New("past write limit")
    	}
    	return
    }
    
    // If there's an error copying the child's output to the parent, test
    // that we kill the child.
    func TestKillChildAfterCopyError(t *testing.T) {
    	testenv.MustHaveExec(t)
    
    	h := &Handler{
    		Path: os.Args[0],
    		Root: "/test.go",
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 07 18:42:44 UTC 2023
    - 5.5K bytes
    - Viewed (0)
  2. src/internal/fuzz/worker.go

    	}()
    
    	sig := os.Interrupt
    	if runtime.GOOS == "windows" {
    		// Per https://golang.org/pkg/os/#Signal, “Interrupt is not implemented on
    		// Windows; using it with os.Process.Signal will return an error.”
    		// Fall back to Kill instead.
    		sig = os.Kill
    	}
    
    	t := time.NewTimer(workerTimeoutDuration)
    	for {
    		select {
    		case <-w.termC:
    			// Worker terminated.
    			t.Stop()
    			<-closeC
    			w.cmd = nil
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 26 19:58:28 UTC 2024
    - 37.7K bytes
    - Viewed (0)
  3. src/mime/quotedprintable/reader_test.go

    				s, _ := br.ReadString('\n')
    				if s != "" {
    					qpres <- errors.New(s)
    					if cmd.Process != nil {
    						// It can get stuck on invalid input, like:
    						// echo -n "0000= " | qprint -d
    						cmd.Process.Kill()
    					}
    				}
    			}()
    			go func() {
    				want, err := cmd.Output()
    				if err == nil {
    					qpres <- want
    				}
    			}()
    			select {
    			case got := <-qpres:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  4. src/cmd/vendor/golang.org/x/sys/unix/syscall_darwin.go

    /*
     * Wrapped
     */
    
    //sys	fcntl(fd int, cmd int, arg int) (val int, err error)
    
    //sys	kill(pid int, signum int, posix int) (err error)
    
    func Kill(pid int, signum syscall.Signal) (err error) { return kill(pid, int(signum), 1) }
    
    //sys	ioctl(fd int, req uint, arg uintptr) (err error)
    //sys	ioctlPtr(fd int, req uint, arg unsafe.Pointer) (err error) = SYS_IOCTL
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Oct 10 16:32:44 UTC 2023
    - 20.7K bytes
    - Viewed (0)
  5. pkg/kubelet/types/pod_update_test.go

    			expected: "create",
    		},
    		{
    			sp:       SyncPodUpdate,
    			expected: "update",
    		},
    		{
    			sp:       SyncPodSync,
    			expected: "sync",
    		},
    		{
    			sp:       SyncPodKill,
    			expected: "kill",
    		},
    		{
    			sp:       50,
    			expected: "unknown",
    		},
    	}
    	for _, test := range tests {
    		t.Run(test.expected, func(t *testing.T) {
    			syncPodString := test.sp.String()
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Apr 21 08:20:50 UTC 2023
    - 10.4K bytes
    - Viewed (0)
  6. src/syscall/syscall_openbsd.go

    //sysnb	Getrusage(who int, rusage *Rusage) (err error)
    //sysnb	Getsid(pid int) (sid int, err error)
    //sysnb	Gettimeofday(tv *Timeval) (err error)
    //sysnb	Getuid() (uid int)
    //sys	Issetugid() (tainted bool)
    //sys	Kill(pid int, signum Signal) (err error)
    //sys	Kqueue() (fd int, err error)
    //sys	Lchown(path string, uid int, gid int) (err error)
    //sys	Link(path string, link string) (err error)
    //sys	Listen(s int, backlog int) (err error)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Nov 02 10:34:00 UTC 2023
    - 7K bytes
    - Viewed (0)
  7. src/runtime/sys_openbsd2.go

    //go:cgo_import_dynamic libc_sysctl sysctl "libc.so"
    //go:cgo_import_dynamic libc_fcntl fcntl "libc.so"
    //go:cgo_import_dynamic libc_getpid getpid "libc.so"
    //go:cgo_import_dynamic libc_kill kill "libc.so"
    //go:cgo_import_dynamic libc_kqueue kqueue "libc.so"
    //go:cgo_import_dynamic libc_kevent kevent "libc.so"
    
    //go:cgo_import_dynamic libc_sigaction sigaction "libc.so"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 8.7K bytes
    - Viewed (0)
  8. pkg/envoy/proxy.go

    		// This means access logs will be written once we have ~250 requests, or ever 1s, which ever comes first.
    		// Reducing this to 1s optimizes for UX while retaining performance.
    		// At low QPS access logs are unlikely a bottleneck, and these users will now see logs after 1s rather than 10s.
    		// At high QPS (>250 QPS) we will log the same amount as we will log due to exceeding buffer size, rather
    		// than the flush interval.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 05 10:02:56 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  9. docs/site-replication/run-multi-site-oidc.sh

    	cat /tmp/minio1_1.log
    	echo "minio2 ============"
    	cat /tmp/minio2_1.log
    	echo "minio3 ============"
    	cat /tmp/minio3_1.log
    
    	exit 1
    }
    
    cleanup() {
    	echo "Cleaning up instances of MinIO"
    	pkill minio
    	pkill -9 minio
    	rm -rf /tmp/minio{1,2,3}
    }
    
    cleanup
    
    unset MINIO_KMS_KES_CERT_FILE
    unset MINIO_KMS_KES_KEY_FILE
    unset MINIO_KMS_KES_ENDPOINT
    unset MINIO_KMS_KES_KEY_NAME
    
    export MINIO_CI_CD=1
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Sat May 18 18:19:01 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  10. src/syscall/syscall_netbsd.go

    //sysnb	Getrusage(who int, rusage *Rusage) (err error)
    //sysnb	Getsid(pid int) (sid int, err error)
    //sysnb	Gettimeofday(tv *Timeval) (err error)
    //sysnb	Getuid() (uid int)
    //sys	Issetugid() (tainted bool)
    //sys	Kill(pid int, signum Signal) (err error)
    //sys	Kqueue() (fd int, err error)
    //sys	Lchown(path string, uid int, gid int) (err error)
    //sys	Link(path string, link string) (err error)
    //sys	Listen(s int, backlog int) (err error)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Sep 20 18:12:35 UTC 2023
    - 7.8K bytes
    - Viewed (0)
Back to top