- Sort Score
- Result 10 results
- Languages All
Results 71 - 80 of 320 for RES (0.02 sec)
-
pilot/pkg/networking/core/fake.go
raw, _ := f.ConfigGen.BuildClusters(p, &model.PushRequest{Push: f.PushContext()}) res := make([]*cluster.Cluster, 0, len(raw)) for _, r := range raw { c := &cluster.Cluster{} if err := r.Resource.UnmarshalTo(c); err != nil { f.t.Fatal(err) } res = append(res, c) } return res } func (f *ConfigGenTest) DeltaClusters( p *model.Proxy, configUpdated sets.Set[model.ConfigKey],
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu May 23 21:07:03 UTC 2024 - 11.5K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/utils/fake_quant_utils.h
OpBuilder &rewriter) const { // We don't want to insert quantize/dequantize if the quantize op exists. auto res = tf_op.getOutputs(); if (!res.hasOneUse() || isa<QuantizeOp>(*res.user_begin())) { return failure(); } // Extract the min/max constant values from the operands. We also consider
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 6.6K bytes - Viewed (0) -
pkg/kube/krt/core.go
Event controllers.EventType } // Items returns both the Old and New object, if present. func (e Event[T]) Items() []T { res := make([]T, 0, 2) if e.Old != nil { res = append(res, *e.Old) } if e.New != nil { res = append(res, *e.New) } return res } // Latest returns only the latest object (New for add/update, Old for delete). func (e Event[T]) Latest() T { if e.New != nil {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri May 10 23:33:56 UTC 2024 - 6.9K bytes - Viewed (0) -
pilot/pkg/serviceregistry/kube/controller/ambient/services_test.go
krttest.GetMockCollection[*v1.Namespace](mock), ) wrapper := builder(krt.TestingDummyContext{}, tt.se) res := slices.Map(wrapper, func(e model.ServiceInfo) *workloadapi.Service { return e.Service }) assert.Equal(t, res, tt.result) }) }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Jun 05 12:29:55 UTC 2024 - 2.9K bytes - Viewed (0) -
tensorflow/compiler/mlir/tf2xla/transforms/legalize_tf_patterns.td
def : Pat<(TF_FFTOp:$res $input), (MHLO_FftOp $input, MHLO_FftTypeValue<"FFT">, (GetInnerDimFromValue $res)), [(CheckInnerDimStatic $input)]>; def : Pat<(TF_IFFTOp:$res $input), (MHLO_FftOp $input, MHLO_FftTypeValue<"IFFT">, (GetInnerDimFromValue $res)), [(CheckInnerDimStatic $input)]>;
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon May 06 18:46:23 UTC 2024 - 34.8K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/build/relnote/relnote.go
func removeEmptySections(bs []md.Block) []md.Block { res := bs[:0] delta := 0 // number of lines by which to adjust positions // Remove preceding headings at same or higher level; they are empty. rem := func(level int) { for len(res) > 0 { last := res[len(res)-1] if lh, ok := last.(*md.Heading); ok && lh.Level >= level { res = res[:len(res)-1] // Adjust subsequent block positions by the size of this block
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jun 04 16:19:04 UTC 2024 - 12.7K bytes - Viewed (0) -
pkg/revisions/tag_watcher.go
} func (p *tagWatcher) HasSynced() bool { return p.queue.HasSynced() } func (p *tagWatcher) GetMyTags() sets.String { res := sets.New(p.revision) for _, wh := range p.index.Lookup(p.revision) { res.Insert(wh.GetLabels()[IstioTagLabel]) } return res } // notifyHandlers notifies all registered handlers on tag change. func (p *tagWatcher) notifyHandlers() { myTags := p.GetMyTags()
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Jun 14 00:12:28 UTC 2024 - 3.3K bytes - Viewed (0) -
pkg/kube/krt/fetch.go
package krt import ( "istio.io/istio/pkg/slices" ) func FetchOne[T any](ctx HandlerContext, c Collection[T], opts ...FetchOption) *T { res := Fetch[T](ctx, c, opts...) switch len(res) { case 0: return nil case 1: return &res[0] default: panic("FetchOne found for more than 1 item") } } func Fetch[T any](ctx HandlerContext, cc Collection[T], opts ...FetchOption) []T {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri May 10 23:33:56 UTC 2024 - 2.6K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/tools/go/analysis/unitchecker/unitchecker.go
tree := make(analysisflags.JSONTree) for _, res := range results { tree.Add(fset, cfg.ID, res.a.Name, res.diagnostics, res.err) } tree.Print() } else { // plain text exit := 0 for _, res := range results { if res.err != nil { log.Println(res.err) exit = 1 } } for _, res := range results { for _, diag := range res.diagnostics {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 03 02:38:00 UTC 2024 - 13K bytes - Viewed (0) -
src/go/types/instantiate.go
// Prefer to re-use existing types from expanding context, if it exists, to reduce // the memory pinned by the Named type. updateContexts := func(res Type) Type { for i := len(ctxts) - 1; i >= 0; i-- { res = ctxts[i].update(hashes[i], orig, targs, res) } return res } // typ may already have been instantiated with identical type arguments. In // that case, re-use the existing instance.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 03:01:18 UTC 2024 - 12.8K bytes - Viewed (0)