- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 116 for instantiation (0.33 sec)
-
src/internal/types/errors/codes.go
// type is expected: in type or function instantiation. // // Example: // type T int // // var _ T[int] NotAGenericType // WrongTypeArgCount occurs when a type or function is instantiated with an // incorrect number of type arguments, including when a generic type or // function is used without instantiation. //
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Apr 03 22:50:48 UTC 2024 - 33.7K bytes - Viewed (0) -
src/cmd/compile/internal/types2/unify.go
// equivalent, they may be Go identical or at least assignable, or // they may be in the type set of a constraint. // Whether they indeed are identical or assignable is determined // upon instantiation and function argument passing. package types2 import ( "bytes" "fmt" "sort" "strings" ) const ( // Upper limit for recursion depth. Used to catch infinite recursions
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jun 11 16:24:39 UTC 2024 - 27.8K bytes - Viewed (0) -
src/cmd/compile/internal/types2/object.go
func (obj *Var) IsField() bool { return obj.isField } // Origin returns the canonical Var for its receiver, i.e. the Var object // recorded in Info.Defs. // // For synthetic Vars created during instantiation (such as struct fields or // function parameters that depend on type arguments), this will be the // corresponding Var on the generic (uninstantiated) type. For all other Vars // Origin returns the receiver.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 07 20:08:23 UTC 2024 - 20.1K bytes - Viewed (0) -
src/go/types/object.go
func (obj *Var) IsField() bool { return obj.isField } // Origin returns the canonical Var for its receiver, i.e. the Var object // recorded in Info.Defs. // // For synthetic Vars created during instantiation (such as struct fields or // function parameters that depend on type arguments), this will be the // corresponding Var on the generic (uninstantiated) type. For all other Vars // Origin returns the receiver.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 07 20:08:23 UTC 2024 - 20.1K bytes - Viewed (0) -
src/go/types/check.go
unionTypeSets map[*Union]*_TypeSet // computed type sets for union types mono monoGraph // graph for detecting non-monomorphizable instantiation loops firstErr error // first error encountered methods map[*TypeName][]*Func // maps package scope type names to associated non-blank (non-interface) methods
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 30 19:19:55 UTC 2024 - 23.1K bytes - Viewed (0) -
src/cmd/compile/internal/types2/check.go
unionTypeSets map[*Union]*_TypeSet // computed type sets for union types mono monoGraph // graph for detecting non-monomorphizable instantiation loops firstErr error // first error encountered methods map[*TypeName][]*Func // maps package scope type names to associated non-blank (non-interface) methods
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 30 19:19:55 UTC 2024 - 23.3K bytes - Viewed (0) -
subprojects/core-api/src/main/java/org/gradle/api/model/ObjectFactory.java
RegularFileProperty fileProperty(); /** * Creates a new {@link DependencyCollector} used for declaring dependencies. * * <strong>Avoid this method if possible and use managed object instantiation instead.</strong> * * @since 8.6 */ @Incubating DependencyCollector dependencyCollector();
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Mar 12 02:21:10 UTC 2024 - 12.2K bytes - Viewed (0) -
src/cmd/compile/internal/types2/instantiate.go
// Copyright 2021 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. // This file implements instantiation of generic types // through substitution of type parameters by type arguments. package types2 import ( "cmd/compile/internal/syntax" "errors" "fmt" . "internal/types/errors" ) // A genericType implements access to its type parameters.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 03:01:18 UTC 2024 - 12.7K bytes - Viewed (0) -
cmd/kube-scheduler/app/server.go
scheduler.WithParallelism(cc.ComponentConfig.Parallelism), scheduler.WithBuildFrameworkCapturer(func(profile kubeschedulerconfig.KubeSchedulerProfile) { // Profiles are processed during Framework instantiation to set default plugins and configurations. Capturing them for logging completedProfiles = append(completedProfiles, profile) }), ) if err != nil { return nil, nil, err }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon May 27 19:11:24 UTC 2024 - 14.3K bytes - Viewed (0) -
src/go/types/api.go
return tv.mode == commaok || tv.mode == mapindex } // Instance reports the type arguments and instantiated type for type and // function instantiations. For type instantiations, [Type] will be of dynamic // type *[Named]. For function instantiations, [Type] will be of dynamic type // *Signature. type Instance struct { TypeArgs *TypeList Type Type }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 15 19:57:43 UTC 2024 - 17.2K bytes - Viewed (0)