Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 211 for Aliases (0.15 sec)

  1. 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)
  2. 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)
  3. 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)
  4. tensorflow/compiler/mlir/tensorflow/transforms/test_resource_alias_analysis.cc

          if (analysis.IsUnknownResource(value)) {
            diag << "Unknown";
          } else {
            auto aliases = llvm::to_vector<4>(analysis.GetResourceAliases(value));
            llvm::sort(aliases,
                       [&](Value v1, Value v2) { return get_id(v1) < get_id(v2); });
            llvm::interleaveComma(aliases, diag,
                                  [&](Value v) { diag << get_id(v); });
          }
        };
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Apr 19 00:13:50 UTC 2022
    - 4.4K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. src/main/config/es/fess_user_group.json

    {
      "fess_user.group" : {
        "aliases" : { },
        "mappings" : {
          "group" : {
            "properties" : {
              "gidNumber" : {
                "type" : "long"
              },
              "name" : {
                "type" : "keyword"
              }
            }
          }
        },
        "settings" : {
          "index" : {
            "creation_date" : "1509021058796",
            "number_of_shards" : "5",
            "number_of_replicas" : "1",
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Dec 02 13:14:56 UTC 2021
    - 587 bytes
    - Viewed (0)
Back to top