- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 72 for newpod (0.35 sec)
-
pkg/controller/statefulset/stateful_pod_control.go
// with a clientset for writes and listers for reads; for tests we provide stubs. type StatefulPodControlObjectManager interface { CreatePod(ctx context.Context, pod *v1.Pod) error GetPod(namespace, podName string) (*v1.Pod, error) UpdatePod(pod *v1.Pod) error DeletePod(pod *v1.Pod) error CreateClaim(claim *v1.PersistentVolumeClaim) error GetClaim(namespace, claimName string) (*v1.PersistentVolumeClaim, error)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Jun 05 19:06:41 UTC 2024 - 14.9K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/ir/tf_device.cc
// Rewrite the cluster op. rewriter.setInsertionPoint(op); auto new_op = rewriter.create<tf_device::ClusterOp>( op->getLoc(), new_return.getOperandTypes(), op->getOperands(), op->getAttrs()); rewriter.inlineRegionBefore(op.getBodyRegion(), new_op.getBodyRegion(), new_op.getBodyRegion().end()); int idx = 0; for (Value& result : new_results) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 33.4K bytes - Viewed (0) -
tests/create_test.go
} if err := DB.Create(&prod).Error; err != nil { t.Fatalf("failed to create, got error %v", err) } newProd := &CompositeKeyProduct{} if err := DB.First(&newProd).Error; err != nil { t.Fatalf("errors happened when query: %v", err) } else { AssertObjEqual(t, newProd, prod, "ProductID", "LanguageCode", "Code", "Name") } } func TestCreateOnConflictWithDefaultNull(t *testing.T) {
Registered: Wed Jun 12 16:27:09 UTC 2024 - Last Modified: Tue Mar 19 03:50:28 UTC 2024 - 26.4K bytes - Viewed (0) -
tensorflow/c/eager/c_api.cc
TF_Status* status) { tensorflow::ImmediateExecutionOperation* new_op = tensorflow::unwrap(ctx)->CreateOperation(); status->status = new_op->Reset(op_or_function_name, nullptr); if (!status->status.ok()) { new_op->Release(); new_op = nullptr; } return tensorflow::wrap(new_op); } void TFE_DeleteOp(TFE_Op* op) { if (op == nullptr) { return; }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu May 09 08:11:23 UTC 2024 - 44K bytes - Viewed (0) -
internal/ringbuffer/ring_buffer.go
// This setting should be called before any Read or Write operation or after a Reset. func (r *RingBuffer) SetBlocking(block bool) *RingBuffer { r.block = block if block { r.readCond = sync.NewCond(&r.mu) r.writeCond = sync.NewCond(&r.mu) } return r } // WithCancel sets a context to cancel the ring buffer. // When the context is canceled, the ring buffer will be closed with the context error.
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Wed May 15 00:11:04 UTC 2024 - 13.3K bytes - Viewed (0) -
pkg/registry/core/pod/storage/eviction.go
// if the original options included a resourceVersion precondition, don't retry shouldRetry = func(err error) bool { return false } } err = retry.OnError(EvictionsRetry, shouldRetry, func() error { pod, err = getPod(r, ctx, eviction.Name) if err != nil { return err } // Evicting a terminal pod should result in direct deletion of pod as it already caused disruption by the time we are evicting.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Aug 08 11:58:48 UTC 2023 - 18.2K bytes - Viewed (0) -
pkg/scheduler/eventhandlers_test.go
name string newNode *v1.Node oldNode *v1.Node wantEvents []framework.ClusterEvent }{ { name: "no specific changed applied", newNode: st.MakeNode().Unschedulable(false).Obj(), oldNode: st.MakeNode().Unschedulable(false).Obj(), wantEvents: nil, }, { name: "only node spec unavailable changed", newNode: st.MakeNode().Unschedulable(false).Obj(),
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Jan 10 14:38:54 UTC 2024 - 21.5K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/region_control_flow_to_functional.cc
/*extern_values_passthrough=*/false, /*only_one_return_value=*/false, /*allow_return_of_existing=*/true); auto new_op = OpBuilder(regional).create<TF::GeneratorDatasetOp>( regional.getLoc(), regional->getResultTypes(), regional.getInitFuncOtherArgs(), regional.getNextFuncOtherArgs(),
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 28.7K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/executor_tpuv1_island_coarsening.cc
// the islands that are merged if they have a use in an island not merged, // i.e. a value that escapes. llvm::SmallVector<Type, 4> result_types; for (IslandOp new_op : islands) { for (Value result : new_op.getOutputs()) { if (llvm::any_of(result.getUsers(), [&](OpOperand user) { return !wrapped_ops.count(user.getOwner()); })) result_types.push_back(result.getType());
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri May 17 17:58:54 UTC 2024 - 27.6K bytes - Viewed (0) -
pkg/serviceaccount/jwt.go
) // ServiceAccountTokenGetter defines functions to retrieve a named service account and secret type ServiceAccountTokenGetter interface { GetServiceAccount(namespace, name string) (*v1.ServiceAccount, error) GetPod(namespace, name string) (*v1.Pod, error) GetSecret(namespace, name string) (*v1.Secret, error) GetNode(name string) (*v1.Node, error) } type TokenGenerator interface {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Feb 27 22:16:08 UTC 2024 - 10.7K bytes - Viewed (0)