- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 201 for newFoo (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) -
pkg/registry/core/pod/strategy_test.go
newPod := tc.newPod Strategy.PrepareForCreate(genericapirequest.NewContext(), newPod) if errs := Strategy.Validate(genericapirequest.NewContext(), newPod); len(errs) != 0 { t.Errorf("Unexpected error: %v", errs.ToAggregate()) } if diff := cmp.Diff(getLifecycle(newPod), getLifecycle(tc.wantPod)); diff != "" {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 76.2K bytes - Viewed (0) -
pkg/ledger/smt_test.go
ch = make(chan result, 1) smt.update(root, newKeys, newValues, nil, 0, smt.trieHeight, false, true, ch) res = <-ch newRoot := res.update if bytes.Equal(root, newRoot) { t.Fatal("trie not updated") } for i, newKey := range newKeys { newValue, _ := smt.get(newRoot, newKey, nil, 0, smt.trieHeight) if !bytes.Equal(newValues[i], newValue) { t.Fatal("failed to get value") } }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Aug 08 16:43:05 UTC 2023 - 7.9K bytes - Viewed (0) -
src/runtime/race/testdata/regression_test.go
package race_test import ( "testing" ) type LogImpl struct { x int } func NewLog() (l LogImpl) { c := make(chan bool) go func() { _ = l c <- true }() l = LogImpl{} <-c return } var _ LogImpl = NewLog() func MakeMap() map[int]int { return make(map[int]int) } func InstrumentMapLen() { _ = len(MakeMap()) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Nov 03 02:01:34 UTC 2015 - 2.7K bytes - Viewed (0) -
operator/pkg/helmreconciler/prune_test.go
err := yaml.UnmarshalStrict(data, iop) assert.NoError(t, err) h := &HelmReconciler{ client: cl, kubeClient: kube.NewFakeClientWithVersion("24"), opts: &Options{ ProgressLog: progress.NewLog(), Log: clog.NewDefaultLogger(), }, iop: iop, countLock: &sync.Mutex{}, prunedKindSet: map[schema.GroupKind]struct{}{}, } if i == 0 { h1 = h }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Dec 15 12:13:37 UTC 2023 - 5.2K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/TreeMultiset.java
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Mon Apr 01 16:15:01 UTC 2024 - 34.2K bytes - Viewed (0) -
src/cmd/link/testdata/linkname/coro_asm/asm.s
// Copyright 2024 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. TEXT ·newcoro(SB),0,$0-0 CALL runtime·newcoro(SB)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 10 17:05:33 UTC 2024 - 218 bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/build/relnote/relnote.go
delta := lastLine + 2 - newdoc.Blocks[0].Pos().StartLine for _, b := range newdoc.Blocks { addLines(b, delta) } } // Append non-empty blocks to the result document. for _, b := range newdoc.Blocks { if _, ok := b.(*md.Empty); !ok { doc.Blocks = append(doc.Blocks, b) } } // Merge link references. for key, link := range newdoc.Links { if doc.Links[key] != nil {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jun 04 16:19:04 UTC 2024 - 12.7K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/name_anonymous_iterators.cc
int replace(OP op, int count) { OpBuilder builder(op); std::string name = absl::StrFormat("_iterator%d", count++); auto new_op = builder.create<TF::IteratorOp>( op->getLoc(), op->getResultTypes()[0], name, /*container=*/"", op.getOutputTypes(), op.getOutputShapes()); op->getResults()[0].replaceAllUsesWith(new_op->getResults()[0]); if (op->use_empty()) op->erase(); return count; }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Nov 03 12:35:38 UTC 2022 - 2.7K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/admission/plugin/namespace/lifecycle/admission_test.go
}, Status: v1.NamespaceStatus{ Phase: phase, }, }) index++ } return true, namespaceList, nil }) return mockClient } // newPod returns a new pod for the specified namespace func newPod(namespace string) v1.Pod { return v1.Pod{ ObjectMeta: metav1.ObjectMeta{Name: "123", Namespace: namespace}, Spec: v1.PodSpec{ Volumes: []v1.Volume{{Name: "vol"}},
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Mar 06 00:00:21 UTC 2024 - 14.2K bytes - Viewed (0)