Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 575 for job3 (0.11 sec)

  1. tensorflow/compiler/mlir/quantization/tensorflow/python/integration_test/concurrency_test.py

      def test_multiple_conversion_jobs_with_calibration(self):
        # Ensure that multiple conversion jobs with calibration won't encounter any
        # concurrency issue.
        with self.pool:
          jobs = []
          for _ in range(10):
            jobs.append(self.pool.submit(self._convert_with_calibration))
    
          for job in jobs:
            self.assertIsNotNone(job.result())
    
    
    if __name__ == '__main__':
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Sep 11 00:47:05 UTC 2023
    - 3.6K bytes
    - Viewed (0)
  2. cmd/kube-controller-manager/app/batch.go

    	jobController, err := job.NewController(
    		ctx,
    		controllerContext.InformerFactory.Core().V1().Pods(),
    		controllerContext.InformerFactory.Batch().V1().Jobs(),
    		controllerContext.ClientBuilder.ClientOrDie("job-controller"),
    	)
    	if err != nil {
    		return nil, true, fmt.Errorf("creating Job controller: %v", err)
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Oct 27 11:28:02 UTC 2023
    - 2.5K bytes
    - Viewed (0)
  3. pkg/registry/batch/job/strategy.go

    	}
    
    	return fields
    }
    
    // PrepareForCreate clears the status of a job before creation.
    func (jobStrategy) PrepareForCreate(ctx context.Context, obj runtime.Object) {
    	job := obj.(*batch.Job)
    	generateSelectorIfNeeded(job)
    	job.Status = batch.JobStatus{}
    
    	job.Generation = 1
    
    	if !utilfeature.DefaultFeatureGate.Enabled(features.JobPodFailurePolicy) {
    		job.Spec.PodFailurePolicy = nil
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 08 16:43:24 UTC 2024
    - 18.4K bytes
    - Viewed (0)
  4. pkg/controller/job/doc.go

    See the License for the specific language governing permissions and
    limitations under the License.
    */
    
    // Package job contains logic for watching and synchronizing jobs.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Jul 16 17:48:21 UTC 2016
    - 699 bytes
    - Viewed (0)
  5. cmd/kube-controller-manager/app/options/jobcontroller.go

    func (o *JobControllerOptions) AddFlags(fs *pflag.FlagSet) {
    	if o == nil {
    		return
    	}
    
    	fs.Int32Var(&o.ConcurrentJobSyncs, "concurrent-job-syncs", o.ConcurrentJobSyncs, "The number of job objects that are allowed to sync concurrently. Larger number = more responsive jobs, but more CPU (and network) load")
    }
    
    // ApplyTo fills up JobController config with options.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 12 12:19:39 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  6. pkg/registry/batch/job/storage/storage_test.go

    	defer server.Terminate(t)
    	defer storage.Job.Store.DestroyFunc()
    	test := genericregistrytest.New(t, storage.Job.Store)
    	test.TestGet(validNewJob())
    }
    
    func TestList(t *testing.T) {
    	storage, server := newStorage(t)
    	defer server.Terminate(t)
    	defer storage.Job.Store.DestroyFunc()
    	test := genericregistrytest.New(t, storage.Job.Store)
    	test.TestList(validNewJob())
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 15 14:34:53 UTC 2024
    - 11.2K bytes
    - Viewed (0)
  7. pkg/controller/cronjob/utils.go

    func inActiveList(cj *batchv1.CronJob, uid types.UID) bool {
    	for _, j := range cj.Status.Active {
    		if j.UID == uid {
    			return true
    		}
    	}
    	return false
    }
    
    // inActiveListByName checks if cronjob's status.active has a job with the same
    // name and namespace.
    func inActiveListByName(cj *batchv1.CronJob, job *batchv1.Job) bool {
    	for _, j := range cj.Status.Active {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 09 03:34:25 UTC 2024
    - 10.7K bytes
    - Viewed (0)
  8. cmd/batch-handlers.go

    					}
    				} else {
    					if err := job.Replicate.Start(job.ctx, j.objLayer, *job); err != nil {
    						if !isErrBucketNotFound(err) {
    							batchLogIf(j.ctx, err)
    							j.canceler(job.ID, false)
    							continue
    						}
    						// Bucket not found proceed to delete such a job.
    					}
    				}
    			case job.KeyRotate != nil:
    				if err := job.KeyRotate.Start(job.ctx, j.objLayer, *job); err != nil {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue Jun 11 03:13:30 UTC 2024
    - 56K bytes
    - Viewed (0)
  9. cmd/batch-job-common-types_test.go

    				t.Fatalf("Expected %v but got %v", test.want, got)
    			}
    		})
    	}
    }
    
    func TestBatchJobSizeValidate(t *testing.T) {
    	errInvalidBatchJobSizeFilter := BatchJobYamlErr{
    		msg: "invalid batch-job size filter",
    	}
    
    	tests := []struct {
    		sizeFilter BatchJobSizeFilter
    		err        error
    	}{
    		{
    			// Unspecified size filter is a valid filter
    			sizeFilter: BatchJobSizeFilter{
    				UpperBound: 0,
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jan 08 23:22:28 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/app/job/AllJobScheduler.java

    import org.lastaflute.core.time.TimeManager;
    import org.lastaflute.job.LaCron;
    import org.lastaflute.job.LaJob;
    import org.lastaflute.job.LaJobRunner;
    import org.lastaflute.job.LaJobScheduler;
    
    public class AllJobScheduler implements LaJobScheduler {
    
        private static final Logger logger = LogManager.getLogger(AllJobScheduler.class);
    
        protected static final String APP_TYPE = "JOB";
    
        @Resource
        private TimeManager timeManager;
    
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 3.8K bytes
    - Viewed (0)
Back to top