Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for lookup_type (0.15 sec)

  1. src/runtime/runtime-gdb.py

    	except gdb.error:
    		pass
    
    
    def lookup_type(name):
    	try:
    		return gdb.lookup_type(name)
    	except gdb.error:
    		pass
    	try:
    		return gdb.lookup_type('struct ' + name)
    	except gdb.error:
    		pass
    	try:
    		return gdb.lookup_type('struct ' + name[1:]).pointer()
    	except gdb.error:
    		pass
    
    
    def iface_commontype(obj):
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 10 12:59:20 UTC 2023
    - 15.4K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tfr/python/tfr_gen.py

        if val_and_lookup_type:
          (val, lookup_type) = val_and_lookup_type
        elif node.id in TFR_BUILTINS:
          val = node.id
          lookup_type = anno.getanno(node, anno.Static.TYPES, types.FunctionType)
        else:
          op_def, _ = self._op_defs.lookup(node.id)
          val = op_def.name
          lookup_type = anno.getanno(node, anno.Static.TYPES, types.FunctionType)
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Apr 27 15:27:03 UTC 2022
    - 55.8K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/lite/transforms/optimize.cc

    Type GetEmbeddingLookupShape(Value lookup, Value value) {
      auto lookup_type = mlir::cast<ShapedType>(lookup.getType());
      if (!lookup_type.hasStaticShape()) {
        return nullptr;
      }
      auto value_type = mlir::cast<ShapedType>(value.getType());
      if (!value_type.hasStaticShape() || value_type.getRank() != 2) {
        return nullptr;
      }
      SmallVector<int64_t> new_shape = {lookup_type.getNumElements(),
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Apr 30 00:40:15 UTC 2024
    - 102.3K bytes
    - Viewed (0)
  4. src/go/doc/reader.go

    func (r *reader) isVisible(name string) bool {
    	return r.mode&AllDecls != 0 || token.IsExported(name)
    }
    
    // lookupType returns the base type with the given name.
    // If the base type has not been encountered yet, a new
    // type with the given name but no associated declaration
    // is added to the type map.
    func (r *reader) lookupType(name string) *namedType {
    	if name == "" || name == "_" {
    		return nil // no type docs for anonymous types
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 27.5K bytes
    - Viewed (0)
  5. src/cmd/link/internal/wasm/asm.go

    					wi := readWasmImport(ldr, lsym)
    					hostImportMap[fn] = int64(len(hostImports))
    					hostImports = append(hostImports, &wasmFunc{
    						Module: wi.Module,
    						Name:   wi.Name,
    						Type: lookupType(&wasmFuncType{
    							Params:  fieldsToTypes(wi.Params),
    							Results: fieldsToTypes(wi.Results),
    						}, &types),
    					})
    				} else {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jan 22 16:17:48 UTC 2024
    - 21.9K bytes
    - Viewed (0)
  6. src/go/doc/exports.go

    		// Don't filter type parameters here, by analogy with function parameters
    		// which are not filtered for top-level function declarations.
    		if name := s.Name.Name; token.IsExported(name) {
    			r.filterType(r.lookupType(s.Name.Name), s.Type)
    			return true
    		} else if IsPredeclared(name) {
    			if r.shadowedPredecl == nil {
    				r.shadowedPredecl = make(map[string]bool)
    			}
    			r.shadowedPredecl[name] = true
    		}
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 01 18:18:07 UTC 2022
    - 8.5K bytes
    - Viewed (0)
  7. cmd/batch-handlers.go

    		Creds:        credentials.NewStaticV4(cred.AccessKey, cred.SecretKey, cred.SessionToken),
    		Secure:       u.Scheme == "https",
    		Transport:    getRemoteInstanceTransport(),
    		BucketLookup: lookupStyle(r.Source.Path),
    	})
    	if err != nil {
    		return err
    	}
    
    	c.SetAppInfo("minio-"+batchJobPrefix, r.APIVersion+" "+job.ID)
    	core := &miniogo.Core{Client: c}
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue Jun 11 03:13:30 UTC 2024
    - 56K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/types2/lookup.go

    	prev := make(map[Type]int) // index at which type was previously seen
    	for _, e := range list {
    		if i, found := lookupType(prev, e.typ); found {
    			list[i].multiples = true
    			// ignore this entry
    		} else {
    			prev[e.typ] = n
    			list[n] = e
    			n++
    		}
    	}
    	return list[:n]
    }
    
    func lookupType(m map[Type]int, typ Type) (int, bool) {
    	// fast path: maybe the types are equal
    	if i, found := m[typ]; found {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 22 19:32:17 UTC 2024
    - 19.8K bytes
    - Viewed (0)
  9. src/go/types/lookup.go

    	prev := make(map[Type]int) // index at which type was previously seen
    	for _, e := range list {
    		if i, found := lookupType(prev, e.typ); found {
    			list[i].multiples = true
    			// ignore this entry
    		} else {
    			prev[e.typ] = n
    			list[n] = e
    			n++
    		}
    	}
    	return list[:n]
    }
    
    func lookupType(m map[Type]int, typ Type) (int, bool) {
    	// fast path: maybe the types are equal
    	if i, found := m[typ]; found {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 03 18:48:38 UTC 2024
    - 19.9K bytes
    - Viewed (0)
Back to top