- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 111 for typeVar (0.15 sec)
-
pkg/config/schema/kubetypes/common.go
"istio.io/istio/pkg/config/schema/gvk" "istio.io/istio/pkg/ptr" "istio.io/istio/pkg/typemap" ) func MustGVRFromType[T runtime.Object]() schema.GroupVersionResource { if gk, ok := getGvk(ptr.Empty[T]()); ok { gr, ok := gvk.ToGVR(gk) if !ok { panic(fmt.Sprintf("unknown GVR for GVK %v", gk)) } return gr } if rp := typemap.Get[RegisterType[T]](registeredTypes); rp != nil { return (*rp).GetGVR() }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Apr 17 16:38:40 UTC 2024 - 2.2K bytes - Viewed (0) -
pilot/cmd/pilot-agent/metrics/metrics.go
scrapeErrors = monitoring.NewSum( "scrape_failures_total", "The total number of failed scrapes.", ) EnvoyScrapeErrors = scrapeErrors.With(typeTag.Value(ScrapeTypeEnvoy)) AppScrapeErrors = scrapeErrors.With(typeTag.Value(ScrapeTypeApp)) AgentScrapeErrors = scrapeErrors.With(typeTag.Value(ScrapeTypeAgent)) // ScrapeTotals records total number of scrapes. ScrapeTotals = monitoring.NewSum( "scrapes_total",
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Jul 24 04:04:42 UTC 2023 - 1.8K bytes - Viewed (0) -
staging/src/k8s.io/apimachinery/pkg/conversion/converter.go
ignoredUntypedConversions map[typePair]struct{} } // NewConverter creates a new Converter object. // Arg NameFunc is just for backward compatibility. func NewConverter(NameFunc) *Converter { c := &Converter{ conversionFuncs: NewConversionFuncs(), generatedConversionFuncs: NewConversionFuncs(), ignoredUntypedConversions: make(map[typePair]struct{}), } c.RegisterUntypedConversionFunc(
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat Jun 25 16:23:43 UTC 2022 - 7.4K bytes - Viewed (0) -
src/go/types/context.go
defer ctxt.mu.Unlock() for _, e := range ctxt.typeMap[h] { if inst == nil || Identical(inst, e.instance) { return e.instance } if debug { // Panic during development to surface any imperfections in our hash. panic(fmt.Sprintf("%s and %s are not identical", inst, e.instance)) } } ctxt.typeMap[h] = append(ctxt.typeMap[h], ctxtEntry{ orig: orig, targs: targs,
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Apr 03 18:48:38 UTC 2024 - 4.4K bytes - Viewed (0) -
src/cmd/compile/internal/types/identity.go
// same pointer (t1 == t2), so there's no chance of chasing // cycles ad infinitum, so no need for a depth counter. if assumedEqual == nil { assumedEqual = make(map[typePair]struct{}) } else if _, ok := assumedEqual[typePair{t1, t2}]; ok { return true } assumedEqual[typePair{t1, t2}] = struct{}{} switch t1.kind { case TIDEAL: // Historically, cmd/compile used a single "untyped // number" type, so all untyped number types were
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Aug 22 20:57:01 UTC 2023 - 4.6K bytes - Viewed (0) -
src/cmd/compile/internal/types2/context.go
defer ctxt.mu.Unlock() for _, e := range ctxt.typeMap[h] { if inst == nil || Identical(inst, e.instance) { return e.instance } if debug { // Panic during development to surface any imperfections in our hash. panic(fmt.Sprintf("%s and %s are not identical", inst, e.instance)) } } ctxt.typeMap[h] = append(ctxt.typeMap[h], ctxtEntry{ orig: orig, targs: targs,
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Aug 28 17:29:21 UTC 2023 - 4.3K bytes - Viewed (0) -
build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/source/model/TypeMetaData.java
builder.append("..."); } return builder.toString(); } public TypeMetaData addTypeArg(TypeMetaData typeArg) { if (typeArgs == null) { typeArgs = new ArrayList<TypeMetaData>(); } typeArgs.add(typeArg); return this; } @Override public void visitTypes(Action<TypeMetaData> action) { if (wildcard) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Dec 09 08:14:05 UTC 2020 - 6.1K bytes - Viewed (0) -
src/cmd/vet/testdata/stdversion/stdversion.go
package stdversion import "reflect"
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 03 01:02:40 UTC 2024 - 142 bytes - Viewed (0) -
pilot/pkg/config/kube/crdclient/metrics.go
package crdclient import ( "istio.io/istio/pkg/monitoring" ) var ( typeTag = monitoring.CreateLabel("type") eventTag = monitoring.CreateLabel("event") k8sEvents = monitoring.NewSum( "pilot_k8s_cfg_events", "Events from k8s config.", ) ) func incrementEvent(kind, event string) { k8sEvents.With(typeTag.Value(kind), eventTag.Value(event)).Increment()
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Jul 17 20:25:52 UTC 2023 - 953 bytes - Viewed (0) -
src/cmd/link/internal/ld/typelink.go
"cmd/link/internal/loader" "cmd/link/internal/sym" "sort" ) type byTypeStr []typelinkSortKey type typelinkSortKey struct { TypeStr string Type loader.Sym } func (s byTypeStr) Less(i, j int) bool { return s[i].TypeStr < s[j].TypeStr } func (s byTypeStr) Len() int { return len(s) } func (s byTypeStr) Swap(i, j int) { s[i], s[j] = s[j], s[i] }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Aug 03 21:13:25 UTC 2020 - 1.9K bytes - Viewed (0)