Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for unsafeslicecheckptr (0.17 sec)

  1. src/cmd/compile/internal/walk/builtin.go

    	sliceType := n.Type()
    
    	lenType := types.Types[types.TINT64]
    	unsafePtr := typecheck.Conv(ptr, types.Types[types.TUNSAFEPTR])
    
    	// If checkptr enabled, call runtime.unsafeslicecheckptr to check ptr and len.
    	// for simplicity, unsafeslicecheckptr always uses int64.
    	// Type checking guarantees that TIDEAL len/cap are positive and fit in an int.
    	// The case of len or cap overflow when converting TUINT or TUINTPTR to TINT
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 08 22:35:22 UTC 2024
    - 31.2K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/typecheck/_builtin/runtime.go

    func makeslicecopy(typ *byte, tolen int, fromlen int, from unsafe.Pointer) unsafe.Pointer
    func growslice(oldPtr *any, newLen, oldCap, num int, et *byte) (ary []any)
    func unsafeslicecheckptr(typ *byte, ptr unsafe.Pointer, len int64)
    func panicunsafeslicelen()
    func panicunsafeslicenilptr()
    func unsafestringcheckptr(ptr unsafe.Pointer, len int64)
    func panicunsafestringlen()
    func panicunsafestringnilptr()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 21 21:08:03 UTC 2024
    - 10.6K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/typecheck/builtin.go

    	{"selectgo", funcTag, 115},
    	{"block", funcTag, 9},
    	{"makeslice", funcTag, 116},
    	{"makeslice64", funcTag, 117},
    	{"makeslicecopy", funcTag, 118},
    	{"growslice", funcTag, 120},
    	{"unsafeslicecheckptr", funcTag, 121},
    	{"panicunsafeslicelen", funcTag, 9},
    	{"panicunsafeslicenilptr", funcTag, 9},
    	{"unsafestringcheckptr", funcTag, 122},
    	{"panicunsafestringlen", funcTag, 9},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 21 21:08:03 UTC 2024
    - 16.2K bytes
    - Viewed (0)
Back to top