Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 168 for _typ (0.05 sec)

  1. src/cmd/compile/internal/ssa/rewritegeneric.go

    	// result: (Add64 (Add64 <typ.UInt64> (Add64 <typ.UInt64> (Lsh64x64 <typ.UInt64> (ZeroExt32to64 (Div32u <typ.UInt32> (Trunc64to32 <typ.UInt32> (Rsh64Ux64 <typ.UInt64> x (Const64 <typ.UInt64> [32]))) (Const32 <typ.UInt32> [int32(c)]))) (Const64 <typ.UInt64> [32])) (ZeroExt32to64 (Div32u <typ.UInt32> (Trunc64to32 <typ.UInt32> x) (Const32 <typ.UInt32> [int32(c)])))) (Mul64 <typ.UInt64> (ZeroExt32to64 <typ.UInt64> (Mod32u <typ.UInt32> (Trunc64to32 <typ.UInt32> (Rsh64Ux64 <typ.UInt64>...
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 22 18:24:47 UTC 2024
    - 812.2K bytes
    - Viewed (0)
  2. src/runtime/pinner.go

    }
    
    func pinnerGetPtr(i *any) unsafe.Pointer {
    	e := efaceOf(i)
    	etyp := e._type
    	if etyp == nil {
    		panic(errorString("runtime.Pinner: argument is nil"))
    	}
    	if kind := etyp.Kind_ & abi.KindMask; kind != abi.Pointer && kind != abi.UnsafePointer {
    		panic(errorString("runtime.Pinner: argument is not a pointer: " + toRType(etyp).string()))
    	}
    	if inUserArenaChunk(uintptr(e.data)) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 04 14:29:45 UTC 2024
    - 11K bytes
    - Viewed (0)
  3. src/cmd/vendor/golang.org/x/tools/go/analysis/passes/copylock/copylock.go

    				}
    				return append(subpath, typ.String())
    			}
    		}
    		return nil
    	}
    
    	for {
    		atyp, ok := typ.Underlying().(*types.Array)
    		if !ok {
    			break
    		}
    		typ = atyp.Elem()
    	}
    
    	ttyp, ok := typ.Underlying().(*types.Tuple)
    	if ok {
    		for i := 0; i < ttyp.Len(); i++ {
    			subpath := lockPath(tpkg, ttyp.At(i).Type(), seen)
    			if subpath != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  4. src/cmd/cover/testdata/pkgcfg/a/a.go

    package a
    
    type Atyp int
    
    func (ap *Atyp) Set(q int) {
    	*ap = Atyp(q)
    }
    
    func (ap Atyp) Get() int {
    	inter := func(q Atyp) int {
    		return int(q)
    	}
    	return inter(ap)
    }
    
    var afunc = func(x int) int {
    	return x + 1
    }
    var Avar = afunc(42)
    
    func A(x int) int {
    	if x == 0 {
    		return 22
    	} else if x == 1 {
    		return 33
    	}
    	return 44
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Sep 28 11:48:40 UTC 2022
    - 330 bytes
    - Viewed (0)
  5. src/cmd/compile/internal/types2/interface.go

    	t.check = nil
    	t.embedPos = nil
    }
    
    func (check *Checker) interfaceType(ityp *Interface, iface *syntax.InterfaceType, def *TypeName) {
    	addEmbedded := func(pos syntax.Pos, typ Type) {
    		ityp.embeddeds = append(ityp.embeddeds, typ)
    		if ityp.embedPos == nil {
    			ityp.embedPos = new([]syntax.Pos)
    		}
    		*ityp.embedPos = append(*ityp.embedPos, pos)
    	}
    
    	for _, f := range iface.MethodList {
    		if f.Name == nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Nov 09 17:24:42 UTC 2023
    - 6.2K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/types2/typeparam.go

    		id = check.nextID
    	}
    	typ := &TypeParam{check: check, id: id, obj: obj, index: -1, bound: constraint}
    	if obj.typ == nil {
    		obj.typ = typ
    	}
    	// iface may mutate typ.bound, so we must ensure that iface() is called
    	// at least once before the resulting TypeParam escapes.
    	if check != nil {
    		check.needsCleanup(typ)
    	} else if constraint != nil {
    		typ.iface()
    	}
    	return typ
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 20:03:31 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  7. src/go/types/typeparam.go

    		id = check.nextID
    	}
    	typ := &TypeParam{check: check, id: id, obj: obj, index: -1, bound: constraint}
    	if obj.typ == nil {
    		obj.typ = typ
    	}
    	// iface may mutate typ.bound, so we must ensure that iface() is called
    	// at least once before the resulting TypeParam escapes.
    	if check != nil {
    		check.needsCleanup(typ)
    	} else if constraint != nil {
    		typ.iface()
    	}
    	return typ
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 20:03:31 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/types2/typeset.go

    	if tset, _ := unionSets[utyp]; tset != nil {
    		return tset
    	}
    
    	// avoid infinite recursion (see also computeInterfaceTypeSet)
    	unionSets[utyp] = new(_TypeSet)
    
    	var allTerms termlist
    	for _, t := range utyp.terms {
    		var terms termlist
    		u := under(t.typ)
    		if ui, _ := u.(*Interface); ui != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 13.6K bytes
    - Viewed (0)
  9. test/fixedbugs/issue9604b.go

    	_type{"uint16", 16, false},
    	_type{"int32", 32, true},
    	_type{"uint32", 32, false},
    	_type{"int64", 64, true},
    	_type{"uint64", 64, false},
    	_type{"int", 8 * uint(unsafe.Sizeof(int(0))), true},
    	_type{"uint", 8 * uint(unsafe.Sizeof(uint(0))), false},
    	_type{"uintptr", 8 * uint(unsafe.Sizeof((*byte)(nil))), false},
    }
    
    type binop struct {
    	name string
    	eval func(x, y *big.Int) *big.Int
    }
    
    var binops = []binop{
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:25 UTC 2023
    - 4.8K bytes
    - Viewed (0)
  10. src/cmd/compile/internal/reflectdata/helpers.go

    // element type.
    func sliceElemRType(pos src.XPos, typ *types.Type) ir.Node {
    	base.AssertfAt(typ.IsSlice(), pos, "want slice type, have %v", typ)
    	return TypePtrAt(pos, typ.Elem())
    }
    
    // concreteRType asserts that typ is not an interface type, and
    // returns an expression that yields the *runtime._type value
    // representing typ.
    func concreteRType(pos src.XPos, typ *types.Type) ir.Node {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 12 04:50:32 UTC 2023
    - 7.1K bytes
    - Viewed (0)
Back to top