Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 113 for _typ (0.05 sec)

  1. src/cmd/compile/internal/ssa/_gen/generic.rules

          (Mul64 <typ.UInt64>
            (ZeroExt32to64 <typ.UInt64>
              (Mod32u <typ.UInt32>
                (Trunc64to32 <typ.UInt32> (Rsh64Ux64 <typ.UInt64> x (Const64 <typ.UInt64> [32])))
                (Const32 <typ.UInt32> [int32(c)])))
            (Const64 <typ.UInt64> [int64((1<<32)/c)])))
          (ZeroExt32to64
            (Div32u <typ.UInt32>
              (Add32 <typ.UInt32>
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 22:21:05 UTC 2024
    - 135.3K bytes
    - Viewed (0)
  2. src/runtime/mfinal.go

    		return
    	}
    	e := efaceOf(&obj)
    	etyp := e._type
    	if etyp == nil {
    		throw("runtime.SetFinalizer: first argument is nil")
    	}
    	if etyp.Kind_&abi.KindMask != abi.Pointer {
    		throw("runtime.SetFinalizer: first argument is " + toRType(etyp).string() + ", not pointer")
    	}
    	ot := (*ptrtype)(unsafe.Pointer(etyp))
    	if ot.Elem == nil {
    		throw("nil elem type!")
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 01:56:56 UTC 2024
    - 19K bytes
    - Viewed (0)
  3. src/go/types/signature.go

    			rtyp, _ := deref(recv.typ)
    			atyp := Unalias(rtyp)
    			if !isValid(atyp) {
    				return // error was reported before
    			}
    			// spec: "The type denoted by T is called the receiver base type; it must not
    			// be a pointer or interface type and it must be declared in the same package
    			// as the method."
    			switch T := atyp.(type) {
    			case *Named:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 29 22:06:18 UTC 2024
    - 13K bytes
    - Viewed (0)
  4. src/unique/clone.go

    func buildArrayCloneSeq(typ *abi.Type, seq *cloneSeq, baseOffset uintptr) {
    	atyp := typ.ArrayType()
    	etyp := atyp.Elem
    	offset := baseOffset
    	for range atyp.Len {
    		switch etyp.Kind() {
    		case abi.String:
    			seq.stringOffsets = append(seq.stringOffsets, offset)
    		case abi.Struct:
    			buildStructCloneSeq(etyp, seq, offset)
    		case abi.Array:
    			buildArrayCloneSeq(etyp, seq, offset)
    		}
    		offset += etyp.Size()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sun May 05 00:24:21 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  5. src/reflect/type.go

    	mt.TFlag = 0
    	mt.Hash = fnv1(etyp.Hash, 'm', byte(ktyp.Hash>>24), byte(ktyp.Hash>>16), byte(ktyp.Hash>>8), byte(ktyp.Hash))
    	mt.Key = ktyp
    	mt.Elem = etyp
    	mt.Bucket = bucketOf(ktyp, etyp)
    	mt.Hasher = func(p unsafe.Pointer, seed uintptr) uintptr {
    		return typehash(ktyp, p, seed)
    	}
    	mt.Flags = 0
    	if ktyp.Size_ > abi.MapMaxKeyBytes {
    		mt.KeySize = uint8(goarch.PtrSize)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 85.5K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/types2/signature.go

    			rtyp, _ := deref(recv.typ)
    			atyp := Unalias(rtyp)
    			if !isValid(atyp) {
    				return // error was reported before
    			}
    			// spec: "The type denoted by T is called the receiver base type; it must not
    			// be a pointer or interface type and it must be declared in the same package
    			// as the method."
    			switch T := atyp.(type) {
    			case *Named:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 21:33:05 UTC 2024
    - 12.6K bytes
    - Viewed (0)
  7. src/runtime/iface.go

    	stringEface any = stringInterfacePtr("")
    	sliceEface  any = sliceInterfacePtr(nil)
    
    	uint16Type *_type = efaceOf(&uint16Eface)._type
    	uint32Type *_type = efaceOf(&uint32Eface)._type
    	uint64Type *_type = efaceOf(&uint64Eface)._type
    	stringType *_type = efaceOf(&stringEface)._type
    	sliceType  *_type = efaceOf(&sliceEface)._type
    )
    
    // The conv and assert functions below do very similar things.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 22.5K bytes
    - Viewed (0)
  8. 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)
  9. 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)
  10. 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)
Back to top