- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 289 for aliasY (0.16 sec)
-
src/cmd/compile/internal/types2/alias.go
// If a is not an instance of a generic alias, the result is nil. func (a *Alias) TypeArgs() *TypeList { return a.targs } // Rhs returns the type R on the right-hand side of an alias // declaration "type A = R", which may be another alias. func (a *Alias) Rhs() Type { return a.fromRHS } // Unalias returns t if it is not an alias type; // otherwise it follows t's alias chain until it
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 03:01:18 UTC 2024 - 5K bytes - Viewed (0) -
src/go/types/alias.go
actual Type // actual (aliased) type; never an alias } // NewAlias creates a new Alias type with the given type name and rhs. // rhs must not be nil. func NewAlias(obj *TypeName, rhs Type) *Alias { alias := (*Checker)(nil).newAlias(obj, rhs) // Ensure that alias.actual is set (#65455). alias.cleanup() return alias }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 03:01:18 UTC 2024 - 5.1K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/tools/internal/aliases/aliases.go
// license that can be found in the LICENSE file. package aliases import ( "go/token" "go/types" ) // Package aliases defines backward compatible shims // for the types.Alias type representation added in 1.22. // This defines placeholders for x/tools until 1.26. // NewAlias creates a new TypeName in Package pkg that // is an alias for the type rhs. //
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 03 02:38:00 UTC 2024 - 1.1K bytes - Viewed (0) -
test/alias2.go
// Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. // Test basic restrictions on type aliases. package p import ( "reflect" . "reflect" ) type T0 struct{} // Valid type alias declarations. type _ = T0 type _ = int type _ = struct{} type _ = reflect.Value type _ = Value type ( A0 = T0 A1 = int
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 15 15:09:14 UTC 2024 - 2.5K bytes - Viewed (0) -
cluster/gce/upgrade-aliases.sh
detect-master k8s_node_routes_count=$(get-k8s-node-routes-count) if [[ "${k8s_node_routes_count}" -eq 0 ]]; then echo "No k8s node routes found and IP alias should already be enabled. Exiting..." exit 0 fi echo "Found ${k8s_node_routes_count} K8s node routes. Proceeding to upgrade them to IP aliases based connectivity..." detect-k8s-subnetwork if [ -z "${IP_ALIAS_SUBNETWORK}" ]; then echo "No k8s cluster subnetwork found. Exiting..."
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat Jun 01 03:36:35 UTC 2024 - 6K bytes - Viewed (0) -
pilot/pkg/model/push_context_test.go
{Name: "alias2", ExternalName: "concrete"}, }, }, { name: "looping alias", input: []service{ {Name: "alias1", ExternalName: "alias2"}, {Name: "alias2", ExternalName: "alias1"}, }, output: []service{ {Name: "alias1", ExternalName: "alias2"}, {Name: "alias2", ExternalName: "alias1"}, }, }, } for _, tt := range tests {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Sun Apr 21 17:42:54 UTC 2024 - 95.3K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/tools/internal/aliases/aliases_go121.go
//go:build !go1.22 // +build !go1.22 package aliases import ( "go/types" ) // Alias is a placeholder for a go/types.Alias for <=1.21. // It will never be created by go/types. type Alias struct{} func (*Alias) String() string { panic("unreachable") } func (*Alias) Underlying() types.Type { panic("unreachable") } func (*Alias) Obj() *types.TypeName { panic("unreachable") }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 03 02:38:00 UTC 2024 - 962 bytes - Viewed (0) -
analysis/analysis-api-standalone/analysis-api-standalone-base/src/org/jetbrains/kotlin/analysis/api/standalone/base/declarations/KotlinStandaloneDeclarationIndex.kt
/** * Maps a simple name `N` to type aliases `A` in whose definition `N` occurs as the topmost user type, which is a prerequisite for other * classes inheriting from `N` by referring to `A`. Does not support function types (e.g. `Function1`). * * There is no guarantee that the type alias can be inherited from. For example, if its expanded type is final, the type alias is not
Registered: Wed Jun 12 09:53:16 UTC 2024 - Last Modified: Tue Jun 04 22:09:27 UTC 2024 - 2.3K bytes - Viewed (0) -
doc/next/6-stdlib/99-minor/go/types/cl-577715.md
<!-- CL 577715, CL 579076 --> By default, go/types now produces [Alias] type nodes for type aliases. This behavior can be controlled by the `GODEBUG` `gotypesalias` flag.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Jun 05 21:30:00 UTC 2024 - 230 bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/stablehlo/cc/saved_model_import.cc
if (auto alias_itr = function_aliases.find(original_func_name.str()); alias_itr != function_aliases.end()) { const FunctionAlias alias = alias_itr->second; function_aliases[func_name] = alias; } } }); // Remove aliases to function that no-longer exists. absl::erase_if(function_aliases, [&existing_func_names](const auto& item) { return !existing_func_names.contains(item.first);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Apr 24 12:49:45 UTC 2024 - 6.4K bytes - Viewed (0)