Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 44 for Terminate (0.12 sec)

  1. pkg/controller/job/job_controller.go

    			}
    		} else if considerPodFailed || (jobCtx.finishedCondition != nil && !isSuccessCriteriaMetCondition(jobCtx.finishedCondition)) {
    			// When the job is considered finished, every non-terminated pod is considered failed.
    			ix := getCompletionIndex(pod.Annotations)
    			if !jobCtx.uncounted.failed.Has(string(pod.UID)) && (!isIndexed || (ix != unknownCompletionIndex && ix < int(*jobCtx.job.Spec.Completions))) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jun 10 23:56:37 UTC 2024
    - 77.6K bytes
    - Viewed (0)
  2. pkg/kubelet/kuberuntime/kuberuntime_manager_test.go

    				ContainersToStart:     []int{},
    			},
    			resetStatusFn: func(status *kubecontainer.PodStatus) {
    				m.startupManager.Remove(status.ContainerStatuses[2].ID)
    			},
    		},
    		"restart terminated restartable init container and next init container": {
    			mutatePodFn: func(pod *v1.Pod) { pod.Spec.RestartPolicy = v1.RestartPolicyAlways },
    			mutateStatusFn: func(pod *v1.Pod, status *kubecontainer.PodStatus) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 14 16:09:17 UTC 2024
    - 96K bytes
    - Viewed (0)
  3. src/testing/testing.go

    // The directory is automatically removed when the test and
    // all its subtests complete.
    // Each subsequent call to t.TempDir returns a unique directory;
    // if the directory creation fails, TempDir terminates the test by calling Fatal.
    func (c *common) TempDir() string {
    	c.checkFuzzFn("TempDir")
    	// Use a single parent directory for all the temporary directories
    	// created by a test, each numbered sequentially.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 76.1K bytes
    - Viewed (0)
  4. pkg/controller/cronjob/cronjob_controllerv2_test.go

    			jobCreateError: &errors.StatusError{ErrStatus: metav1.Status{Details: &metav1.StatusDetails{Causes: []metav1.StatusCause{
    				{
    					Type:    v1.NamespaceTerminatingCause,
    					Message: fmt.Sprintf("namespace %s is being terminated", metav1.NamespaceDefault),
    					Field:   "metadata.namespace",
    				}}}}},
    			concurrencyPolicy:          "Allow",
    			schedule:                   onTheHour,
    			deadline:                   noDead,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 70.8K bytes
    - Viewed (0)
  5. src/os/os_test.go

    		t.Skip(err)
    	}
    	data, err := ReadFile(name)
    	if err != nil {
    		t.Fatal(err)
    	}
    	if len(data) == 0 || data[len(data)-1] != '\n' {
    		t.Fatalf("read %s: not newline-terminated: %q", name, data)
    	}
    }
    
    func TestDirFSReadFileProc(t *testing.T) {
    	t.Parallel()
    
    	fsys := DirFS("/")
    	name := "proc/sys/fs/pipe-max-size"
    	if _, err := fs.Stat(fsys, name); err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 83.1K bytes
    - Viewed (0)
  6. pkg/kubelet/kuberuntime/kuberuntime_container.go

    // containers, we have reduced the number of outstanding init containers still
    // present. This reduces load on the container garbage collector by only
    // preserving the most recent terminated init container.
    func (m *kubeGenericRuntimeManager) pruneInitContainersBeforeStart(ctx context.Context, pod *v1.Pod, podStatus *kubecontainer.PodStatus) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 54.7K bytes
    - Viewed (0)
  7. src/cmd/compile/internal/ssa/debug.go

    	pending.startValue = v.ID
    	for i, slot := range state.varSlots[varID] {
    		pending.pieces[i] = curLoc[slot]
    	}
    }
    
    // writePendingEntry writes out the pending entry for varID, if any,
    // terminated at endBlock/Value.
    func (state *debugState) writePendingEntry(varID VarID, endBlock, endValue ID) {
    	pending := state.pendingEntries[varID]
    	if !pending.present {
    		return
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 19:44:43 UTC 2024
    - 58.4K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/syntax/parser.go

    	}
    
    	s := new(LabeledStmt)
    	s.pos = p.pos()
    	s.Label = label
    
    	p.want(_Colon)
    
    	if p.tok == _Rbrace {
    		// We expect a statement (incl. an empty statement), which must be
    		// terminated by a semicolon. Because semicolons may be omitted before
    		// an _Rbrace, seeing an _Rbrace implies an empty statement.
    		e := new(EmptyStmt)
    		e.pos = p.pos()
    		s.Stmt = e
    		return s
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 62.9K bytes
    - Viewed (0)
  9. src/runtime/map.go

    		return
    	}
    
    	if h.flags&hashWriting != 0 {
    		fatal("concurrent map writes")
    	}
    
    	h.flags ^= hashWriting
    
    	// Mark buckets empty, so existing iterators can be terminated, see issue #59411.
    	markBucketsEmpty := func(bucket unsafe.Pointer, mask uintptr) {
    		for i := uintptr(0); i <= mask; i++ {
    			b := (*bmap)(add(bucket, i*uintptr(t.BucketSize)))
    			for ; b != nil; b = b.overflow(t) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 57.6K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tensorflow/transforms/sparsecore/embedding_pipelining.cc

      // walked if 'predecessors' is true and output dependencies are walked if
      // 'successors' is true. In either case, if a discoverd Op is in the
      // 'ops_to_avoid' set, then the dependency walking is terminated.
      llvm::SetVector<Operation*> ops_to_process(*operations);
      llvm::SetVector<Operation*> new_ops;
    
      while (!ops_to_process.empty()) {
        for (Operation* op : ops_to_process) {
          if (predecessors) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 92.9K bytes
    - Viewed (0)
Back to top