Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of about 10,000 for typC (0.15 sec)

  1. src/go/internal/gcimporter/ureader.go

    }
    
    func (pr *pkgReader) typIdx(info typeInfo, dict *readerDict) types.Type {
    	idx := info.idx
    	var where *types.Type
    	if info.derived {
    		where = &dict.derivedTypes[idx]
    		idx = dict.derived[idx].idx
    	} else {
    		where = &pr.typs[idx]
    	}
    
    	if typ := *where; typ != nil {
    		return typ
    	}
    
    	var typ types.Type
    	{
    		r := pr.tempReader(pkgbits.RelocType, idx, pkgbits.SyncTypeIdx)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 16.6K bytes
    - Viewed (0)
  2. src/internal/reflectlite/value.go

    		target = v.ptr
    	}
    	x = x.assignTo("reflectlite.Set", v.typ(), target)
    	if x.flag&flagIndir != 0 {
    		typedmemmove(v.typ(), v.ptr, x.ptr)
    	} else {
    		*(*unsafe.Pointer)(v.ptr) = x.ptr
    	}
    }
    
    // Type returns v's type.
    func (v Value) Type() Type {
    	f := v.flag
    	if f == 0 {
    		panic(&ValueError{"reflectlite.Value.Type", abi.Invalid})
    	}
    	// Method values not supported.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 17:01:54 UTC 2024
    - 13.6K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/typecheck/builtin.go

    	typs[31] = newSig(params(typs[5]), nil)
    	typs[32] = types.NewArray(typs[0], 32)
    	typs[33] = types.NewPtr(typs[32])
    	typs[34] = newSig(params(typs[33], typs[28], typs[28]), params(typs[28]))
    	typs[35] = newSig(params(typs[33], typs[28], typs[28], typs[28]), params(typs[28]))
    	typs[36] = newSig(params(typs[33], typs[28], typs[28], typs[28], typs[28]), params(typs[28]))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 21 21:08:03 UTC 2024
    - 16.2K bytes
    - Viewed (0)
  4. src/go/parser/parser.go

    				if typ.Dir == ast.RECV {
    					// error: (<-type) is (<-(<-chan T))
    					p.errorExpected(typ.Arrow, "'chan'")
    				}
    				arrow, typ.Begin, typ.Arrow = typ.Arrow, arrow, arrow
    				dir, typ.Dir = typ.Dir, ast.RECV
    				typ, ok = typ.Value.(*ast.ChanType)
    			}
    			if dir == ast.SEND {
    				p.errorExpected(arrow, "channel type")
    			}
    
    			return x
    		}
    
    		// <-(expr)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Dec 08 20:07:50 UTC 2023
    - 72.2K bytes
    - Viewed (0)
  5. src/cmd/vendor/golang.org/x/tools/internal/analysisinternal/analysis.go

    		if names, ok := matches[obj.Type()]; ok {
    			matches[obj.Type()] = append(names, ident.Name)
    		} else {
    			// If the object type does not exactly match
    			// any of the target types, greedily find the first
    			// target type that the object type can satisfy.
    			for typ := range matches {
    				if equivalentTypes(obj.Type(), typ) {
    					matches[typ] = append(matches[typ], ident.Name)
    				}
    			}
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 11.7K bytes
    - Viewed (0)
  6. src/cmd/vendor/golang.org/x/tools/go/ast/inspector/inspector.go

    				events[push].typ = typ            // set type of push
    				stack[parent].typ |= typ | ev.typ // parent's typ contains push and pop's typs.
    				events[push].index = len(events)  // make push refer to pop
    
    				stack = stack[:top]
    				events = append(events, ev)
    			}
    			return true
    		})
    	}
    
    	return events
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jul 12 20:38:21 UTC 2023
    - 6.6K bytes
    - Viewed (0)
  7. src/reflect/value.go

    }
    
    func (v Value) typeSlow() Type {
    	if v.flag == 0 {
    		panic(&ValueError{"reflect.Value.Type", Invalid})
    	}
    
    	typ := v.typ()
    	if v.flag&flagMethod == 0 {
    		return toRType(v.typ())
    	}
    
    	// Method value.
    	// v.typ describes the receiver, not the method type.
    	i := int(v.flag) >> flagMethodShift
    	if v.typ().Kind() == abi.Interface {
    		// Method on interface.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 21:17:41 UTC 2024
    - 119.9K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/ssa/expand_calls.go

    		return m0
    
    	case types.TSTRING:
    		m0 = x.rewriteWideSelectToStores(pos, b, container, m0, x.typs.BytePtr, rc.next(x.typs.BytePtr))
    		pos = pos.WithNotStmt()
    		m0 = x.rewriteWideSelectToStores(pos, b, container, m0, x.typs.Int, rc.next(x.typs.Int))
    		return m0
    
    	case types.TINTER:
    		m0 = x.rewriteWideSelectToStores(pos, b, container, m0, x.typs.Uintptr, rc.next(x.typs.Uintptr))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 28 05:13:40 UTC 2023
    - 31.9K bytes
    - Viewed (0)
  9. src/cmd/compile/internal/ssagen/ssa.go

    }
    
    // newObject returns an SSA value denoting new(typ).
    func (s *state) newObject(typ *types.Type, rtype *ssa.Value) *ssa.Value {
    	if typ.Size() == 0 {
    		return s.newValue1A(ssa.OpAddr, types.NewPtr(typ), ir.Syms.Zerobase, s.sb)
    	}
    	if rtype == nil {
    		rtype = s.reflectType(typ)
    	}
    	return s.rtcall(ir.Syms.Newobject, true, []*types.Type{types.NewPtr(typ)}, rtype)[0]
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 19:44:43 UTC 2024
    - 284.9K bytes
    - Viewed (0)
  10. src/go/types/typexpr.go

    				}
    			}
    		}
    	}).describef(e, "check var type %s", typ)
    }
    
    // definedType is like typ but also accepts a type name def.
    // If def != nil, e is the type specification for the type named def, declared
    // in a type declaration, and def.typ.underlying will be set to the type of e
    // before any components of e are type-checked.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 16.3K bytes
    - Viewed (0)
Back to top