Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 114 for exit_a (0.28 sec)

  1. pkg/kubelet/kuberuntime/helpers_test.go

    		description string
    	}{
    		{
    			status: &kubecontainer.Status{
    				State:    kubecontainer.ContainerStateExited,
    				ExitCode: 1,
    			},
    			isFailed:    true,
    			description: "Init container in exited state and non-zero exit code should return true",
    		},
    		{
    			status: &kubecontainer.Status{
    				State: kubecontainer.ContainerStateUnknown,
    			},
    			isFailed:    true,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 11.7K bytes
    - Viewed (0)
  2. src/syscall/syscall_solaris.go

    }
    
    // Wait status is 7 bits at bottom, either 0 (exited),
    // 0x7F (stopped), or a signal number that caused an exit.
    // The 0x80 bit is whether there was a core dump.
    // An extra number (exit code, signal causing a stop)
    // is in the high bits.
    
    type WaitStatus uint32
    
    const (
    	mask  = 0x7F
    	core  = 0x80
    	shift = 8
    
    	exited  = 0
    	stopped = 0x7F
    )
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 26 21:03:59 UTC 2024
    - 15.7K bytes
    - Viewed (0)
  3. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/AbstractContinuousIntegrationTest.groovy

            throwOnBuildFailure()
            result
        }
    
        protected ExecutionResult buildTriggeredAndSucceeded() {
            if (!gradle.isRunning()) {
                throw new UnexpectedBuildFailure("Gradle has exited")
            }
            waitForBuild()
            throwOnBuildFailure()
            result
        }
    
        private void throwOnBuildFailure() {
            if (result instanceof ExecutionFailure) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 11.6K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apimachinery/pkg/util/wait/loop_test.go

    	if attempt != 0 {
    		t.Fatalf("should still be waiting for condition")
    	}
    	fakeClock.Step(2 * time.Millisecond)
    
    	select {
    	case <-doneCh:
    	case <-time.After(time.Second):
    		t.Fatalf("should have exited after a single loop")
    	}
    	if attempt != 1 {
    		t.Fatalf("expected attempt")
    	}
    }
    
    func Test_loopConditionUntilContext_semantic(t *testing.T) {
    	defaultCallback := func(_ int) (bool, error) {
    		return false, nil
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Oct 19 02:48:08 UTC 2023
    - 15.8K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/rangefunc/rewrite.go

    after the entire loop has exited (it might retain a copy of the body
    function, or pass it to another goroutine) -- each generated loop has
    its own #stateK variable that is used to check for permitted call
    patterns to the yield function for a loop body.
    
    The state values are:
    
    abi.RF_DONE = 0      // body of loop has exited in a non-panic way
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:05:44 UTC 2024
    - 41.6K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/util/concurrent/MoreExecutors.java

      /**
       * Converts the given ThreadPoolExecutor into an ExecutorService that exits when the application
       * is complete. It does so by using daemon threads and adding a shutdown hook to wait for their
       * completion.
       *
       * <p>This is mainly for fixed thread pools. See {@link Executors#newFixedThreadPool(int)}.
       *
       * @param executor the executor to modify to make sure it exits when the application is finished
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed May 15 10:40:05 UTC 2024
    - 39K bytes
    - Viewed (0)
  7. platforms/documentation/docs/src/snippets/native-binaries/google-test/groovy/libs/googleTest/1.7.0/include/gtest/internal/gtest-death-test-internal.h

    // --gtest_internal_run_death_test flags.
    
    // In describing the results of death tests, these terms are used with
    // the corresponding definitions:
    //
    // exit status:  The integer exit information in the format specified
    //               by wait(2)
    // exit code:    The integer code passed to exit(3), _exit(2), or
    //               returned from main()
    class GTEST_API_ DeathTest {
     public:
      // Create returns false if there was an error determining the
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 13.1K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/util/concurrent/AbstractFutureTest.java

                    errorMessage.set("SetException call exited before future was complete.");
                  }
                }
              });
          executor.execute(
              new Runnable() {
                @Override
                public void run() {
                  future.cancel(true);
                  if (!future.isDone()) {
                    errorMessage.set("Cancel call exited before future was complete.");
                  }
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Jun 11 16:13:05 UTC 2024
    - 46.7K bytes
    - Viewed (0)
  9. cni/pkg/repair/repaircontroller.go

    		// If we are filtering on init container termination message and the termination message of 'state' does not match, exit
    		trimmedTerminationMessage := strings.TrimSpace(c.cfg.InitTerminationMsg)
    		return trimmedTerminationMessage == "" || trimmedTerminationMessage == strings.TrimSpace(state.Message)
    	}
    	// Helper function; checks that container exit code matches filter
    	matchExitCode := func(state *corev1.ContainerStateTerminated) bool {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sat Feb 10 00:31:55 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  10. pkg/kubelet/pleg/generic.go

    // is introduced here to complete the state transition scenarios.
    type plegContainerState string
    
    const (
    	plegContainerRunning     plegContainerState = "running"
    	plegContainerExited      plegContainerState = "exited"
    	plegContainerUnknown     plegContainerState = "unknown"
    	plegContainerNonExistent plegContainerState = "non-existent"
    )
    
    func convertState(state kubecontainer.State) plegContainerState {
    	switch state {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 19.3K bytes
    - Viewed (0)
Back to top