Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for assertE2I2 (0.11 sec)

  1. src/cmd/compile/internal/typecheck/_builtin/runtime.go

    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)
    func typeAssert(s *byte, typ *byte) *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)
  2. src/cmd/compile/internal/typecheck/builtin.go

    	{"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},
    	{"ifaceeq", funcTag, 72},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 21 21:08:03 UTC 2024
    - 16.2K bytes
    - Viewed (0)
  3. src/runtime/mfinal.go

    		}
    	case fint.Kind_&abi.KindMask == abi.Interface:
    		ityp := (*interfacetype)(unsafe.Pointer(fint))
    		if len(ityp.Methods) == 0 {
    			// ok - satisfies empty interface
    			goto okarg
    		}
    		if itab := assertE2I2(ityp, efaceOf(&obj)._type); itab != nil {
    			goto okarg
    		}
    	}
    	throw("runtime.SetFinalizer: cannot pass " + toRType(etyp).string() + " to finalizer " + toRType(ftyp).string())
    okarg:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 01:56:56 UTC 2024
    - 19K bytes
    - Viewed (0)
  4. src/runtime/iface.go

    	if t == nil {
    		// explicit conversions require non-nil interface value.
    		panic(&TypeAssertionError{nil, nil, &inter.Type, ""})
    	}
    	return getitab(inter, t, false)
    }
    
    func assertE2I2(inter *interfacetype, t *_type) *itab {
    	if t == nil {
    		return nil
    	}
    	return getitab(inter, t, true)
    }
    
    // typeAssert builds an itab for the concrete type t and the
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 22.5K bytes
    - Viewed (0)
Back to top