- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 140 for Aliases (0.11 sec)
-
src/cmd/vendor/golang.org/x/tools/go/analysis/passes/composite/composite.go
func isLocalType(pass *analysis.Pass, typ types.Type) bool { switch x := aliases.Unalias(typ).(type) { case *types.Struct: // struct literals are local types return true case *types.Pointer: return isLocalType(pass, x.Elem()) case interface{ Obj() *types.TypeName }: // *Named or *TypeParam (aliases were removed already) // names in package foo are local to foo_test too
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 02 02:20:05 UTC 2024 - 4.4K bytes - Viewed (0) -
test/alias2.go
func (A0) m1() {} // ERROR "T0\.m1 already declared|redefinition of .m1." func (A0) m2() {} // Type aliases and the original type name can be used interchangeably. var _ A0 = T0{} var _ T0 = A0{} // But aliases and original types cannot be used with new types based on them. var _ N0 = T0{} // ERROR "cannot use T0{} \(value of type T0\) as N0 value in variable declaration"
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 15 15:09:14 UTC 2024 - 2.5K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/tools/go/types/typeutil/ui.go
// license that can be found in the LICENSE file. package typeutil // This file defines utilities for user interfaces that display types. import ( "go/types" "golang.org/x/tools/internal/aliases" ) // IntuitiveMethodSet returns the intuitive method set of a type T, // which is the set of methods you can call on an addressable value of // that type. //
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 02 02:20:05 UTC 2024 - 1.7K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/tools/internal/typeparams/common.go
// In this case, GenericAssignableTo reports that instantiations of Container // are assignable to the corresponding instantiation of Interface. func GenericAssignableTo(ctxt *types.Context, V, T types.Type) bool { V = aliases.Unalias(V) T = aliases.Unalias(T) // If V and T are not both named, or do not have matching non-empty type // parameter lists, fall back on types.AssignableTo. VN, Vnamed := V.(*types.Named)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 03 02:38:00 UTC 2024 - 4.3K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/stablehlo/cc/saved_model_import.h
// Gets the function aliases from the SavedModel. absl::StatusOr<absl::flat_hash_map<FunctionName, FunctionAlias>> GetFunctionAliases(absl::string_view saved_model_path, const std::unordered_set<std::string>& tags); // Updates the function aliases. `module_op` may have different // function names from the original model, so it re-associates the aliases
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Apr 24 12:49:45 UTC 2024 - 4.2K bytes - Viewed (0) -
cmd/kube-controller-manager/app/bootstrap.go
"k8s.io/kubernetes/pkg/controller/bootstrap" ) func newBootstrapSignerControllerDescriptor() *ControllerDescriptor { return &ControllerDescriptor{ name: names.BootstrapSignerController, aliases: []string{"bootstrapsigner"}, initFunc: startBootstrapSignerController, isDisabledByDefault: true, } }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Oct 27 11:28:02 UTC 2023 - 2.4K 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/tensorflow_to_stablehlo/tf_to_stablehlo.cc
quant::stablehlo::GetFunctionAliases(input_path, tag_set)); quant::stablehlo::UpdateFunctionAliases(function_aliases, *module_op); absl::c_for_each(function_aliases, [&](const auto& aliases) { return aliased_function_names.insert(aliases.first); }); } std::optional<tensorflow::Session*> session; if (saved_model_bundle) { session = saved_model_bundle->GetSession(); }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue May 21 22:58:42 UTC 2024 - 5.5K bytes - Viewed (0) -
analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirSymbolInfoProvider.kt
// necessary condition for it. Type aliases are not a problem here: Java code cannot access Kotlin type aliases. (Currently, // deprecation annotation type aliases do not work in Kotlin, either, but this might change in the future.)
Registered: Wed Jun 12 09:53:16 UTC 2024 - Last Modified: Wed May 22 06:28:34 UTC 2024 - 7.6K bytes - Viewed (0) -
cmd/kube-controller-manager/app/discovery.go
) func newEndpointSliceControllerDescriptor() *ControllerDescriptor { return &ControllerDescriptor{ name: names.EndpointSliceController, aliases: []string{"endpointslice"}, initFunc: startEndpointSliceController, } }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Oct 27 11:28:02 UTC 2023 - 3.1K bytes - Viewed (0)