- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 172 for Aliases (0.12 sec)
-
src/cmd/vendor/golang.org/x/tools/go/types/typeutil/methodsetcache.go
if cache == nil { return types.NewMethodSet(T) } cache.mu.Lock() defer cache.mu.Unlock() switch T := aliases.Unalias(T).(type) { case *types.Named: return cache.lookupNamed(T).value case *types.Pointer: if N, ok := aliases.Unalias(T.Elem()).(*types.Named); ok { return cache.lookupNamed(N).pointer } } // all other types
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Feb 23 18:08:27 UTC 2024 - 2.1K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/tools/internal/typeparams/free.go
} w.seen[typ] = false defer func() { w.seen[typ] = res }() switch t := typ.(type) { case nil, *types.Basic: // TODO(gri) should nil be handled here? break case *aliases.Alias: return w.Has(aliases.Unalias(t)) case *types.Array: return w.Has(t.Elem()) case *types.Slice: return w.Has(t.Elem()) case *types.Struct: for i, n := 0, t.NumFields(); i < n; i++ {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 02 02:20:05 UTC 2024 - 2.7K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/exec/ThumbnailGenerator.java
protected static class Options { @Option(name = "-s", aliases = "--sessionId", metaVar = "sessionId", usage = "Session ID") protected String sessionId; @Option(name = "-n", aliases = "--name", metaVar = "name", usage = "Name") protected String name; @Option(name = "-p", aliases = "--properties", metaVar = "properties", usage = "Properties File")
Registered: Wed Jun 12 13:08:18 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 8.2K bytes - Viewed (0) -
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/kubeadm/app/cmd/phases/workflow/phase.go
type Phase struct { // name of the phase. // Phase name should be unique among peer phases (phases belonging to // the same workflow or phases belonging to the same parent phase). Name string // Aliases returns the aliases for the phase. Aliases []string // Short description of the phase. Short string // Long returns the long description of the phase. Long string // Example returns the example for the phase.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Aug 26 15:35:58 UTC 2022 - 3.2K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/util/wsstream/legacy.go
// Please use the apimachinery version of the package at: // // k8s.io/apimachinery/pkg/util/httpstream/wsstream package wsstream import apimachinerywsstream "k8s.io/apimachinery/pkg/util/httpstream/wsstream" // Aliases for all exported symbols previously in "conn.go" const ( ChannelWebSocketProtocol = apimachinerywsstream.ChannelWebSocketProtocol Base64ChannelWebSocketProtocol = apimachinerywsstream.Base64ChannelWebSocketProtocol )
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Jun 07 18:21:43 UTC 2023 - 2K bytes - Viewed (0)