- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 81 for _typ (0.04 sec)
-
src/cmd/compile/internal/types2/validtype.go
func (check *Checker) validType0(pos syntax.Pos, typ Type, nest, path []*Named) bool { typ = Unalias(typ) if check.conf.Trace { if t, _ := typ.(*Named); t != nil && t.obj != nil /* obj should always exist but be conservative */ { pos = t.obj.pos } check.indent++ check.trace(pos, "validType(%s) nest %v, path %v", typ, pathString(makeObjList(nest)), pathString(makeObjList(path))) defer func() {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Mar 15 13:22:37 UTC 2024 - 10.2K bytes - Viewed (0) -
src/go/types/validtype.go
func (check *Checker) validType0(pos token.Pos, typ Type, nest, path []*Named) bool { typ = Unalias(typ) if check.conf._Trace { if t, _ := typ.(*Named); t != nil && t.obj != nil /* obj should always exist but be conservative */ { pos = t.obj.pos } check.indent++ check.trace(pos, "validType(%s) nest %v, path %v", typ, pathString(makeObjList(nest)), pathString(makeObjList(path))) defer func() {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Apr 03 18:48:38 UTC 2024 - 10.3K bytes - Viewed (0) -
src/cmd/compile/internal/rangefunc/rewrite.go
Body: &syntax.BlockStmt{ List: []syntax.Stmt{}, Rbrace: end, }, } r.rangefuncBodyClosures[bodyFunc] = true setPos(bodyFunc, start) for i := 0; i < ftyp.Params().Len(); i++ { typ := ftyp.Params().At(i).Type() var paramVar *types2.Var if i < len(lhs) && def { // Reuse range variable as parameter. x := lhs[i] paramVar = r.info.Defs[x.(*syntax.Name)].(*types2.Var)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:05:44 UTC 2024 - 41.6K bytes - Viewed (0) -
src/cmd/fix/typecheck.go
// set sets the type of n to typ. // If isDecl is true, n is being declared. set := func(n ast.Expr, typ string, isDecl bool) { if typeof[n] != "" || typ == "" { if typeof[n] != typ { assign[typ] = append(assign[typ], n) } return } typeof[n] = typ // If we obtained typ from the declaration of x // propagate the type to all the uses.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Nov 16 22:02:42 UTC 2022 - 20.1K bytes - Viewed (0) -
src/runtime/netpoll.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 15 19:57:43 UTC 2024 - 20.7K bytes - Viewed (0) -
src/runtime/race.go
const raceenabled = true // For all functions accepting callerpc and pc, // callerpc is a return PC of the function that calls this function, // pc is start PC of the function that calls this function. func raceReadObjectPC(t *_type, addr unsafe.Pointer, callerpc, pc uintptr) { kind := t.Kind_ & abi.KindMask if kind == abi.Array || kind == abi.Struct { // for composite objects we have to read every address
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 17 18:37:29 UTC 2024 - 20.4K bytes - Viewed (0) -
src/cmd/compile/internal/walk/switch.go
if t.IsEmptyInterface() { var typ ir.Node if s.srcName.Type().IsEmptyInterface() { // E->E, nothing to do, type is already correct. typ = srcItab } else { // I->E, load type out of itab typ = itabType(srcItab) typ.SetPos(ncase.Pos()) } val = ir.NewBinaryExpr(ncase.Pos(), ir.OMAKEFACE, typ, srcData) } else {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 04 17:34:01 UTC 2024 - 30.1K bytes - Viewed (0) -
cmd/erasure-metadata.go
fmt.Fprint(h, meta.TransitionedObjName) fmt.Fprint(h, meta.TransitionVersionID) } // If metadata says encrypted, ask for it in quorum. if etyp, ok := crypto.IsEncrypted(meta.Metadata); ok { fmt.Fprint(h, etyp) } // If compressed, look for compressed FileInfo only if meta.IsCompressed() { fmt.Fprint(h, meta.Metadata[ReservedMetadataPrefix+"compression"]) }
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Fri May 24 23:05:23 UTC 2024 - 19.4K bytes - Viewed (0) -
src/go/internal/gcimporter/iimport.go
case 'V': typ := r.typ() r.declare(types.NewVar(pos, r.currPkg, name, typ)) default: errorf("unexpected tag: %v", tag) } } func (r *importReader) declare(obj types.Object) { obj.Pkg().Scope().Insert(obj) } func (r *importReader) value() (typ types.Type, val constant.Value) { typ = r.typ() if r.p.exportVersion >= iexportVersionGo1_18 {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 19.2K bytes - Viewed (0) -
src/cmd/compile/internal/types2/builtins.go
// both argument types must be identical if !Identical(x.typ, y.typ) { check.errorf(x, InvalidComplex, invalidOp+"%v (mismatched types %s and %s)", call, x.typ, y.typ) return } // the argument types must be of floating-point type // (applyTypeFunc never calls f with a type parameter) f := func(typ Type) Type { assert(!isTypeParam(typ)) if t, _ := under(typ).(*Basic); t != nil { switch t.kind {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 30 19:19:55 UTC 2024 - 27.1K bytes - Viewed (0)