Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 35 for exit_1 (0.14 sec)

  1. src/iter/iter.go

    					runtime.Goexit()
    				} else {
    					panic(panicValue)
    				}
    			}
    		}
    	}
    	return next, stop
    }
    
    // goexitPanicValue is a sentinel value indicating that an iterator
    // exited via runtime.Goexit.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 19:09:28 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  2. src/os/exec/exec_test.go

    			t.Errorf("from exit 42 got exit %q, want %q", s, want)
    		}
    	} else {
    		t.Fatalf("expected *exec.ExitError from exit 42; got %T: %v", err, err)
    	}
    }
    
    func TestExitCode(t *testing.T) {
    	t.Parallel()
    
    	// Test that exit code are returned correctly
    	cmd := helperCommand(t, "exit", "42")
    	cmd.Run()
    	want := 42
    	if runtime.GOOS == "plan9" {
    		want = 1
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 20:13:53 UTC 2024
    - 48.4K bytes
    - Viewed (0)
  3. pkg/kubelet/kuberuntime/kuberuntime_manager_test.go

    			},
    		},
    		"Kill pod if all containers exited except ephemeral container": {
    			mutatePodFn: func(pod *v1.Pod) {
    				pod.Spec.RestartPolicy = v1.RestartPolicyNever
    			},
    			mutateStatusFn: func(status *kubecontainer.PodStatus) {
    				// all regular containers exited
    				for i := 0; i < 3; i++ {
    					status.ContainerStatuses[i].State = kubecontainer.ContainerStateExited
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 14 16:09:17 UTC 2024
    - 96K bytes
    - Viewed (0)
  4. src/runtime/coro.go

    		// as lightweight as absolutely possible.
    		// (The atomic load is free on x86 but not free elsewhere.)
    		next := c.gp
    		if next.ptr() == nil {
    			throw("coroswitch on exited coro")
    		}
    		var self guintptr
    		self.set(gp)
    		if c.gp.cas(next, self) {
    			gnext = next.ptr()
    			break
    		}
    	}
    
    	// Check if we're switching to ourselves. This case is able to break our
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 19:09:18 UTC 2024
    - 7.4K bytes
    - Viewed (0)
  5. src/os/exec/exec.go

    	// of unexpected delay in Wait: a child process that fails to exit after the
    	// associated Context is canceled, and a child process that exits but leaves
    	// its I/O pipes unclosed.
    	//
    	// The WaitDelay timer starts when either the associated Context is done or a
    	// call to Wait observes that the child process has exited, whichever occurs
    	// first. When the delay has elapsed, the command shuts down the child process
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 20:13:53 UTC 2024
    - 41.4K bytes
    - Viewed (0)
  6. pkg/kubelet/container/runtime.go

    	Status(ctx context.Context) (*RuntimeStatus, error)
    	// GetPods returns a list of containers grouped by pods. The boolean parameter
    	// specifies whether the runtime returns all containers including those already
    	// exited and dead containers (used for garbage collection).
    	GetPods(ctx context.Context, all bool) ([]*Pod, error)
    	// GarbageCollect removes dead containers using the specified container gc policy
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 07 00:05:23 UTC 2024
    - 27.8K bytes
    - Viewed (0)
  7. pkg/kubelet/kuberuntime/kuberuntime_container.go

    			})
    		}
    	}
    
    	return volumeMounts
    }
    
    // getKubeletContainers lists containers managed by kubelet.
    // The boolean parameter specifies whether returns all containers including
    // those already exited and dead containers (used for garbage collection).
    func (m *kubeGenericRuntimeManager) getKubeletContainers(ctx context.Context, allContainers bool) ([]*runtimeapi.Container, error) {
    	filter := &runtimeapi.ContainerFilter{}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 54.7K bytes
    - Viewed (0)
  8. src/os/signal/doc.go

    program to simply exit by pressing ^C, and you can cause it to exit
    with a stack dump by pressing ^\.
    
    # Default behavior of signals in Go programs
    
    By default, a synchronous signal is converted into a run-time panic. A
    SIGHUP, SIGINT, or SIGTERM signal causes the program to exit. A
    SIGQUIT, SIGILL, SIGTRAP, SIGABRT, SIGSTKFLT, SIGEMT, or SIGSYS signal
    causes the program to exit with a stack dump. A SIGTSTP, SIGTTIN, or
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 18:11:00 UTC 2024
    - 11K bytes
    - Viewed (0)
  9. src/cmd/vendor/golang.org/x/sys/unix/zerrors_linux_arm64.go

    	{12, "SIGUSR2", "user defined signal 2"},
    	{13, "SIGPIPE", "broken pipe"},
    	{14, "SIGALRM", "alarm clock"},
    	{15, "SIGTERM", "terminated"},
    	{16, "SIGSTKFLT", "stack fault"},
    	{17, "SIGCHLD", "child exited"},
    	{18, "SIGCONT", "continued"},
    	{19, "SIGSTOP", "stopped (signal)"},
    	{20, "SIGTSTP", "stopped"},
    	{21, "SIGTTIN", "stopped (tty input)"},
    	{22, "SIGTTOU", "stopped (tty output)"},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 34.2K bytes
    - Viewed (0)
  10. src/cmd/vendor/golang.org/x/sys/unix/zerrors_linux_386.go

    	{12, "SIGUSR2", "user defined signal 2"},
    	{13, "SIGPIPE", "broken pipe"},
    	{14, "SIGALRM", "alarm clock"},
    	{15, "SIGTERM", "terminated"},
    	{16, "SIGSTKFLT", "stack fault"},
    	{17, "SIGCHLD", "child exited"},
    	{18, "SIGCONT", "continued"},
    	{19, "SIGSTOP", "stopped (signal)"},
    	{20, "SIGTSTP", "stopped"},
    	{21, "SIGTTIN", "stopped (tty input)"},
    	{22, "SIGTTOU", "stopped (tty output)"},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 34.2K bytes
    - Viewed (0)
Back to top