Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 40 for exit_a (0.46 sec)

  1. 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)
  2. pkg/test/framework/suite_test.go

    	var runCalled bool
    	var runSkipped bool
    	var exitCode int
    	runFn := func(ctx *suiteContext) int {
    		runCalled = true
    		runSkipped = ctx.skipped
    		return -1
    	}
    	exitFn := func(code int) {
    		exitCode = code
    	}
    
    	s := newTestSuite("tid", runFn, exitFn, defaultSettingsFn)
    	s.Run()
    
    	g.Expect(runCalled).To(BeTrue())
    	g.Expect(runSkipped).To(BeFalse())
    	g.Expect(exitCode).To(Equal(-1))
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 22:12:34 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  3. 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)
  4. src/syscall/syscall_linux.go

    // from stopped via the core dump bit.
    
    const (
    	mask    = 0x7F
    	core    = 0x80
    	exited  = 0x00
    	stopped = 0x7F
    	shift   = 8
    )
    
    func (w WaitStatus) Exited() bool { return w&mask == exited }
    
    func (w WaitStatus) Signaled() bool { return w&mask != stopped && w&mask != exited }
    
    func (w WaitStatus) Stopped() bool { return w&0xFF == stopped }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 20:12:46 UTC 2024
    - 35.7K bytes
    - Viewed (0)
  5. 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)
  6. platforms/software/testing-base-infrastructure/src/main/java/org/gradle/api/internal/tasks/testing/worker/TestWorker.java

                }
            } finally {
                LOGGER.info("{} finished executing tests.", workerProcessContext.getDisplayName());
    
                // In the event that the main thread exits with an uncaught exception, stop processing
                // and clear out the run queue to unblock any running communication threads
                synchronized(this) {
                    state = State.STOPPED;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 15:59:04 UTC 2024
    - 10K bytes
    - Viewed (0)
  7. src/syscall/syscall_aix.go

    func (w WaitStatus) StopSignal() Signal {
    	if !w.Stopped() {
    		return -1
    	}
    	return Signal(w>>8) & 0xFF
    }
    
    func (w WaitStatus) Exited() bool { return w&0xFF == 0 }
    func (w WaitStatus) ExitStatus() int {
    	if !w.Exited() {
    		return -1
    	}
    	return int((w >> 8) & 0xFF)
    }
    
    func (w WaitStatus) Signaled() bool { return w&0x40 == 0 && w&0xFF != 0 }
    func (w WaitStatus) Signal() Signal {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 13:50:55 UTC 2024
    - 17.9K bytes
    - Viewed (0)
  8. pkg/kubelet/kuberuntime/helpers.go

    		}
    	}
    
    	// If non of them is set, treat it as root.
    	return new(int64), "", nil
    }
    
    // isInitContainerFailed returns true under the following conditions:
    // 1. container has exited and exitcode is not zero.
    // 2. container is in unknown state.
    // 3. container gets OOMKilled.
    func isInitContainerFailed(status *kubecontainer.Status) bool {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 22 02:01:31 UTC 2024
    - 12K bytes
    - Viewed (0)
  9. src/internal/trace/summary.go

    	StartTime    Time   // Timestamp of the first time it started running. 0 if the goroutine never ran.
    	EndTime      Time   // Timestamp of when the goroutine exited. 0 if the goroutine never exited.
    
    	// List of regions in the goroutine, sorted based on the start time.
    	Regions []*UserRegionSummary
    
    	// Statistics of execution time during the goroutine execution.
    	GoroutineExecStats
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 20.7K bytes
    - Viewed (0)
  10. 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)
Back to top