Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for Rm (0.25 sec)

  1. pkg/controller/job/job_controller.go

    	var rm, left []*v1.Pod
    
    	if isIndexedJob(job) {
    		rm = make([]*v1.Pod, 0, rmAtLeast)
    		left = make([]*v1.Pod, 0, len(pods)-rmAtLeast)
    		rm, left = appendDuplicatedIndexPodsForRemoval(rm, left, pods, int(*job.Spec.Completions))
    	} else {
    		left = pods
    	}
    
    	if len(rm) < rmAtLeast {
    		sort.Sort(controller.ActivePods(left))
    		rm = append(rm, left[:rmAtLeast-len(rm)]...)
    	}
    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. src/cmd/compile/internal/ssa/rewrite.go

    		// Open a log file to write log to. We open in append
    		// mode because all.bash runs the compiler lots of times,
    		// and we want the concatenation of all of those logs.
    		// This means, of course, that users need to rm the old log
    		// to get fresh data.
    		// TODO: all.bash runs compilers in parallel. Need to synchronize logging somehow?
    		w, err := os.OpenFile(filepath.Join(os.Getenv("GOROOT"), "src", "rulelog"),
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 19:02:52 UTC 2024
    - 64.2K bytes
    - Viewed (0)
Back to top