Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 123 for updateStats (0.18 sec)

  1. tensorflow/cc/training/queue_runner.cc

      if (coord_ != nullptr) {
        coord_->WaitForStop();
      }
      if (!cancel_op_name_.empty()) {
        UpdateStatus(RealRun(sess, cancel_op_name_, false));
      }
      stopped_ = true;
    }
    
    Status QueueRunner::Join() {
      thread_pool_.reset();
      mutex_lock l(mu_);
      return status_;
    }
    
    void QueueRunner::UpdateStatus(const Status& status) {
      {
        mutex_lock l(mu_);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Apr 13 08:30:37 UTC 2024
    - 7K bytes
    - Viewed (0)
  2. pkg/kube/kclient/clienttest/test_helpers.go

    	res, err := t.c.Update(object)
    	if err != nil {
    		t.t.Fatalf("update %v/%v: %v", object.GetNamespace(), object.GetName(), err)
    	}
    	return res
    }
    
    func (t TestWriter[T]) UpdateStatus(object T) T {
    	t.t.Helper()
    	res, err := t.c.UpdateStatus(object)
    	if err != nil {
    		t.t.Fatalf("update status %v/%v: %v", object.GetNamespace(), object.GetName(), err)
    	}
    	return res
    }
    
    func (t TestWriter[T]) CreateOrUpdate(object T) T {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Feb 23 19:18:21 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  3. tensorflow/cc/ops/const_op.h

                              .Input(orig_const)
                              .Attr("DstT", DataTypeToEnum<DstT>::v());
      scope.UpdateBuilder(&cast_builder);
      Node* ret;
      scope.UpdateStatus(cast_builder.Finalize(scope.graph(), &ret));
      if (!scope.ok()) return Output();
      scope.UpdateStatus(scope.DoShapeInference(ret));
      return Output(ret, 0);
    }
    
    template <typename T>
    Output Const(const Scope& scope, const T& v, const TensorShape shape) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Sep 17 09:17:01 UTC 2020
    - 2.8K bytes
    - Viewed (0)
  4. pkg/controller/storageversionmigrator/storageversionmigrator.go

    		}
    	} else {
    		// we can't migrate a resource that doesn't exist in the GC
    		_, err = svmc.kubeClient.StoragemigrationV1alpha1().
    			StorageVersionMigrations().
    			UpdateStatus(
    				ctx,
    				setStatusConditions(toBeProcessedSVM, svmv1alpha1.MigrationFailed, migrationFailedStatusReason),
    				metav1.UpdateOptions{},
    			)
    		if err != nil {
    			return err
    		}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 9.5K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apiserver/pkg/storageversion/updater.go

    			return err
    		}
    		// assign the calculated status to the object just created, then update status
    		createdSV.Status = updatedSV.Status
    		_, err = c.UpdateStatus(context.TODO(), createdSV, metav1.UpdateOptions{})
    		return err
    	}
    	_, err = c.UpdateStatus(context.TODO(), updatedSV, metav1.UpdateOptions{})
    	return err
    }
    
    // localUpdateStorageVersion updates the input storageversion with given server storageversion info.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jun 29 22:40:54 UTC 2023
    - 6.9K bytes
    - Viewed (0)
  6. pilot/pkg/config/memory/controller.go

    			config: config,
    			event:  model.EventUpdate,
    		})
    	}
    	return
    }
    
    func (c *Controller) UpdateStatus(config config.Config) (newRevision string, err error) {
    	oldconfig := c.configStore.Get(config.GroupVersionKind, config.Name, config.Namespace)
    	if newRevision, err = c.configStore.UpdateStatus(config); err == nil {
    		c.monitor.ScheduleProcessEvent(ConfigEvent{
    			old:    *oldconfig,
    			config: config,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Jun 26 13:54:32 UTC 2023
    - 4.7K bytes
    - Viewed (0)
  7. staging/src/k8s.io/apiserver/pkg/storageversion/manager.go

    	managedStatus map[schema.GroupResource]*updateStatus
    }
    
    type updateStatus struct {
    	done    bool
    	lastErr error
    }
    
    // NewDefaultManager creates a new defaultManager.
    func NewDefaultManager() Manager {
    	s := &defaultManager{}
    	s.completed.Store(false)
    	s.managedResourceInfos = make(map[*ResourceInfo]struct{})
    	s.managedStatus = make(map[schema.GroupResource]*updateStatus)
    	return s
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jul 14 17:47:19 UTC 2023
    - 10.5K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apiextensions-apiserver/pkg/client/clientset/clientset/typed/apiextensions/v1/customresourcedefinition.go

    		Body(customResourceDefinition).
    		Do(ctx).
    		Into(result)
    	return
    }
    
    // UpdateStatus was generated because the type contains a Status member.
    // Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 14 10:52:54 UTC 2024
    - 12K bytes
    - Viewed (0)
  9. pilot/pkg/autoregistration/internal/state/store.go

    				return nil
    			}
    		}
    	}
    
    	// replace the updated status
    	wle := status.UpdateConfigCondition(*cfg, condition)
    	// update the status
    	_, err := s.store.UpdateStatus(wle)
    	if err != nil {
    		return fmt.Errorf("error while updating WorkloadEntry health status for %s: %w", proxyID, err)
    	}
    	log.Debugf("updated health status of %v to %v", proxyID, condition)
    	return nil
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 23 17:08:31 UTC 2023
    - 3.3K bytes
    - Viewed (0)
  10. staging/src/k8s.io/apiextensions-apiserver/pkg/client/clientset/clientset/typed/apiextensions/v1beta1/customresourcedefinition.go

    		Body(customResourceDefinition).
    		Do(ctx).
    		Into(result)
    	return
    }
    
    // UpdateStatus was generated because the type contains a Status member.
    // Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 14 10:52:54 UTC 2024
    - 12.1K bytes
    - Viewed (0)
Back to top