Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for panicunsafeslicenilptr (0.31 sec)

  1. src/runtime/unsafe.go

    	panic(errorString("unsafe.Slice: len out of range"))
    }
    
    func panicunsafeslicenilptr() {
    	// This is called only from compiler-generated code, so we can get the
    	// source of the panic.
    	panicunsafeslicenilptr1(getcallerpc())
    }
    
    //go:yeswritebarrierrec
    func panicunsafeslicenilptr1(pc uintptr) {
    	panicCheck1(pc, "unsafe.Slice: ptr is nil and len is not zero")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 21:51:18 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  2. src/cmd/internal/goobj/builtinlist.go

    	{"runtime.makeslice", 1},
    	{"runtime.makeslice64", 1},
    	{"runtime.makeslicecopy", 1},
    	{"runtime.growslice", 1},
    	{"runtime.unsafeslicecheckptr", 1},
    	{"runtime.panicunsafeslicelen", 1},
    	{"runtime.panicunsafeslicenilptr", 1},
    	{"runtime.unsafestringcheckptr", 1},
    	{"runtime.panicunsafestringlen", 1},
    	{"runtime.panicunsafestringnilptr", 1},
    	{"runtime.memmove", 1},
    	{"runtime.memclrNoHeapPointers", 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/cmd/compile/internal/typecheck/_builtin/runtime.go

    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()
    
    func memmove(to *any, frm *any, length uintptr)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 21 21:08:03 UTC 2024
    - 10.6K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/typecheck/builtin.go

    	{"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},
    	{"panicunsafestringnilptr", funcTag, 9},
    	{"memmove", funcTag, 123},
    	{"memclrNoHeapPointers", funcTag, 124},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 21 21:08:03 UTC 2024
    - 16.2K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/walk/builtin.go

    			gtZero := ir.NewBinaryExpr(base.Pos, ir.OGT, typecheck.Conv(len, lenType), ir.NewInt(base.Pos, 0))
    			nifPtr.Cond =
    				ir.NewLogicalExpr(base.Pos, ir.OANDAND, isNil, gtZero)
    			nifPtr.Body.Append(mkcall("panicunsafeslicenilptr", nil, &nifPtr.Body))
    			appendWalkStmt(init, nifPtr)
    
    			h := ir.NewSliceHeaderExpr(n.Pos(), sliceType,
    				typecheck.Conv(ptr, types.Types[types.TUNSAFEPTR]),
    				typecheck.Conv(len, types.Types[types.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)
  6. src/cmd/compile/internal/ssagen/ssa.go

    					(fn == "throwinit" || fn == "gopanic" || fn == "panicwrap" || fn == "block" ||
    						fn == "panicmakeslicelen" || fn == "panicmakeslicecap" || fn == "panicunsafeslicelen" ||
    						fn == "panicunsafeslicenilptr" || fn == "panicunsafestringlen" || fn == "panicunsafestringnilptr" ||
    						fn == "panicrangestate") {
    				m := s.mem()
    				b := s.endBlock()
    				b.Kind = ssa.BlockExit
    				b.SetControl(m)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 19:44:43 UTC 2024
    - 284.9K bytes
    - Viewed (0)
Back to top