Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for assertE2I (0.16 sec)

  1. src/cmd/compile/internal/ir/symtab.go

    package ir
    
    import (
    	"cmd/compile/internal/types"
    	"cmd/internal/obj"
    )
    
    // Syms holds known symbols.
    var Syms symsStruct
    
    type symsStruct struct {
    	AssertE2I         *obj.LSym
    	AssertE2I2        *obj.LSym
    	AssertI2I         *obj.LSym
    	AssertI2I2        *obj.LSym
    	Asanread          *obj.LSym
    	Asanwrite         *obj.LSym
    	CgoCheckMemmove   *obj.LSym
    	CgoCheckPtrWrite  *obj.LSym
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Oct 06 17:02:26 UTC 2023
    - 2K bytes
    - Viewed (0)
  2. src/cmd/internal/goobj/builtinlist.go

    	{"runtime.convT", 1},
    	{"runtime.convTnoptr", 1},
    	{"runtime.convT16", 1},
    	{"runtime.convT32", 1},
    	{"runtime.convT64", 1},
    	{"runtime.convTstring", 1},
    	{"runtime.convTslice", 1},
    	{"runtime.assertE2I", 1},
    	{"runtime.assertE2I2", 1},
    	{"runtime.panicdottypeE", 1},
    	{"runtime.panicdottypeI", 1},
    	{"runtime.panicnildottype", 1},
    	{"runtime.typeAssert", 1},
    	{"runtime.interfaceSwitch", 1},
    	{"runtime.ifaceeq", 1},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 21 21:08:03 UTC 2024
    - 7.4K bytes
    - Viewed (0)
  3. src/runtime/iface.go

    //go:linkname reflect_ifaceE2I reflect.ifaceE2I
    func reflect_ifaceE2I(inter *interfacetype, e eface, dst *iface) {
    	*dst = iface{assertE2I(inter, e._type), e.data}
    }
    
    //go:linkname reflectlite_ifaceE2I internal/reflectlite.ifaceE2I
    func reflectlite_ifaceE2I(inter *interfacetype, e eface, dst *iface) {
    	*dst = iface{assertE2I(inter, e._type), e.data}
    }
    
    func iterate_itabs(fn func(*itab)) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 22.5K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/typecheck/_builtin/runtime.go

    func convT32(val uint32) unsafe.Pointer
    func convT64(val uint64) unsafe.Pointer
    func convTstring(val string) unsafe.Pointer
    func convTslice(val []uint8) unsafe.Pointer
    
    // interface type assertions x.(T)
    func assertE2I(inter *byte, typ *byte) *byte
    func assertE2I2(inter *byte, typ *byte) *byte
    func panicdottypeE(have, want, iface *byte)
    func panicdottypeI(have, want, iface *byte)
    func panicnildottype(want *byte)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 21 21:08:03 UTC 2024
    - 10.6K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/typecheck/builtin.go

    	{"convT", funcTag, 57},
    	{"convTnoptr", funcTag, 57},
    	{"convT16", funcTag, 59},
    	{"convT32", funcTag, 61},
    	{"convT64", funcTag, 62},
    	{"convTstring", funcTag, 63},
    	{"convTslice", funcTag, 66},
    	{"assertE2I", funcTag, 67},
    	{"assertE2I2", funcTag, 67},
    	{"panicdottypeE", funcTag, 68},
    	{"panicdottypeI", funcTag, 68},
    	{"panicnildottype", funcTag, 69},
    	{"typeAssert", funcTag, 67},
    	{"interfaceSwitch", funcTag, 70},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 21 21:08:03 UTC 2024
    - 16.2K bytes
    - Viewed (0)
  6. src/runtime/mfinal.go

    					(*eface)(r).data = f.arg
    					if len(ityp.Methods) != 0 {
    						// convert to interface with methods
    						// this conversion is guaranteed to succeed - we checked in SetFinalizer
    						(*iface)(r).tab = assertE2I(ityp, (*eface)(r)._type)
    					}
    				default:
    					throw("bad kind in runfinq")
    				}
    				fingStatus.Or(fingRunningFinalizer)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 01:56:56 UTC 2024
    - 19K bytes
    - Viewed (0)
  7. src/cmd/compile/internal/ssagen/ssa.go

    	ssaCaches = make([]ssa.Cache, base.Flag.LowerC)
    
    	// Set up some runtime functions we'll need to call.
    	ir.Syms.AssertE2I = typecheck.LookupRuntimeFunc("assertE2I")
    	ir.Syms.AssertE2I2 = typecheck.LookupRuntimeFunc("assertE2I2")
    	ir.Syms.AssertI2I = typecheck.LookupRuntimeFunc("assertI2I")
    	ir.Syms.AssertI2I2 = typecheck.LookupRuntimeFunc("assertI2I2")
    	ir.Syms.CgoCheckMemmove = typecheck.LookupRuntimeFunc("cgoCheckMemmove")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 19:44:43 UTC 2024
    - 284.9K bytes
    - Viewed (0)
  8. src/internal/types/testdata/fixedbugs/issue62157.go

    type Matcher[T any] func(T) bool
    
    func Produces[T any](T) Matcher[<-chan T] { return nil }
    
    func Assert1[T any](Matcher[T], T) {}
    func Assert2[T any](T, Matcher[T]) {}
    
    func _() {
    	var ch chan string
    	Assert1(Produces(""), ch)
    	Assert2(ch, Produces(""))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 29 23:22:35 UTC 2023
    - 3.2K bytes
    - Viewed (0)
  9. src/internal/types/testdata/check/builtins0.go

    	assert(x /* ERROR "boolean constant" */)
    	assert(true)
    	assert /* ERROR "failed" */ (false)
    	_ = assert(true)
    
    	var s []byte
    	assert(s... /* ERROR "invalid use of ..." */ )
    }
    
    func assert2() {
    	f1 := func() (x bool) { return }
    	f2 := func() (x bool) { return }
    	assert(f0 /* ERROR "used as value" */ ())
    	assert(f1 /* ERROR "boolean constant" */ ())
    	assert(f2 /* ERROR "boolean constant" */ ())
    }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 29.3K bytes
    - Viewed (0)
Back to top