- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 99 for newPos (0.17 sec)
-
pkg/scheduler/eventhandlers.go
} if isAssumed { return } logger.V(4).Info("Update event for unscheduled pod", "pod", klog.KObj(newPod)) if err := sched.SchedulingQueue.Update(logger, oldPod, newPod); err != nil { utilruntime.HandleError(fmt.Errorf("unable to update %T: %v", newObj, err)) } } func (sched *Scheduler) deletePodFromSchedulingQueue(obj interface{}) {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Mar 07 21:21:04 UTC 2024 - 24K bytes - Viewed (0) -
test/fixedbugs/issue44732.dir/main.go
// license that can be found in the LICENSE file. package main import ( "issue44732.dir/bar" "issue44732.dir/foo" ) func main() { _ = bar.Bar{} _ = foo.NewFoo()
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 08 19:43:19 UTC 2021 - 279 bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/tensorflow/passes/add_dump_tensor_op.cc
new_op->getResult(0), dump_attributes); if (debugger_type_ == DebuggerConfig::DEBUGGER_TYPE_FLOAT_PER_LAYER) { // Swap all uses between call_op and ref_call_op, except for the // particular use that owns DumpTensor. rewriter.replaceUsesWithIf( op.getResult(0), new_op->getResult(0), [](OpOperand &use) -> bool {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri Mar 22 22:55:22 UTC 2024 - 13K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/tensorflow/passes/lift_hashtable_ops_as_args.cc
if (!caller_func) return failure(); builder.setInsertionPoint(call_op); for (auto [lifted_op, arg_idx] : lifted_op_and_arg_idx) { auto new_op = builder.clone(*lifted_op, mapping); call_op->insertOperands(arg_idx, new_op->getResult(0)); } // Try to lift recursively until the main function. if (failed(LiftHashTableOpsToArguments(module_op, caller_func))) { return failure();
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri May 17 17:58:54 UTC 2024 - 8.2K bytes - Viewed (0) -
pkg/controller/ttlafterfinished/ttlafterfinished_controller_test.go
"time" batchv1 "k8s.io/api/batch/v1" corev1 "k8s.io/api/core/v1" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/klog/v2" "k8s.io/klog/v2/ktesting" "k8s.io/utils/pointer" ) func newJob(completionTime, failedTime metav1.Time, ttl *int32) *batchv1.Job { j := &batchv1.Job{ TypeMeta: metav1.TypeMeta{Kind: "Job"}, ObjectMeta: metav1.ObjectMeta{ Name: "foobar", Namespace: metav1.NamespaceDefault,
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sun Jun 18 18:46:26 UTC 2023 - 5.3K bytes - Viewed (0) -
operator/pkg/util/progress/progress_test.go
newExpected := expected + "\n" + e if newExpected != buf.String() { t.Fatalf("expected '%v', \ngot '%v'", newExpected, buf.String()) } expected = newExpected } p := NewLog() cnp := name.PilotComponentName cnpo := name.UserFacingComponentName(cnp) cnb := name.IstioBaseComponentName cnbo := name.UserFacingComponentName(cnb) foo := p.NewComponent(string(cnp)) foo.ReportProgress()
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue May 14 19:23:44 UTC 2024 - 2.1K bytes - Viewed (0) -
pkg/bootstrap/platform/aws.go
} type awsEnv struct { region string availabilityZone string instanceID string } // NewAWS returns a platform environment customized for AWS. // Metadata returned by the AWS Environment is taken link-local address running on each node. func NewAWS(ipv6 bool) Environment { headers := requestHeaders(ipv6) return &awsEnv{ region: getRegion(ipv6, headers),
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Aug 09 03:52:10 UTC 2023 - 4.3K bytes - Viewed (0) -
cmd/kubeadm/app/apis/bootstraptoken/v1/utils.go
token := strings.Replace(string(b), `"`, ``, -1) // Convert the string Token to a BootstrapTokenString object newbts, err := NewBootstrapTokenString(token) if err != nil { return err } bts.ID = newbts.ID bts.Secret = newbts.Secret return nil } // String returns the string representation of the BootstrapTokenString func (bts BootstrapTokenString) String() string {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 26 15:51:39 UTC 2023 - 8.3K bytes - Viewed (0) -
operator/pkg/controller/istiocontrolplane/istiocontrolplane_controller.go
crHash := strings.Join([]string{newIOP.Name, newIOP.Namespace, string(component), host}, "-") cache.RemoveCache(crHash) } } if oldIOP.GetDeletionTimestamp() != newIOP.GetDeletionTimestamp() { metrics.IncrementReconcileRequest("update_deletion_timestamp") return true } if oldIOP.GetGeneration() != newIOP.GetGeneration() {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Apr 30 13:56:46 UTC 2024 - 19.4K bytes - Viewed (0) -
pkg/controller/job/job_controller_test.go
for i := 0; i < count; i++ { newPod := newPod(fmt.Sprintf("pod-%v", rand.String(10)), job) newPod.Status = v1.PodStatus{Phase: status} newPod.Status.ContainerStatuses = []v1.ContainerStatus{ { State: v1.ContainerState{ Terminated: &v1.ContainerStateTerminated{ FinishedAt: testFinishedAt, }, }, }, } newPod.Finalizers = append(newPod.Finalizers, batch.JobTrackingFinalizer)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jun 11 15:36:36 UTC 2024 - 229.2K bytes - Viewed (0)