Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for panicunsafeslicelen1 (0.36 sec)

  1. src/runtime/unsafe.go

    		throw("checkptr: unsafe.Slice result straddles multiple allocations")
    	}
    }
    
    func panicunsafeslicelen() {
    	// This is called only from compiler-generated code, so we can get the
    	// source of the panic.
    	panicunsafeslicelen1(getcallerpc())
    }
    
    //go:yeswritebarrierrec
    func panicunsafeslicelen1(pc uintptr) {
    	panicCheck1(pc, "unsafe.Slice: len out of range")
    	panic(errorString("unsafe.Slice: len out of range"))
    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/compile/internal/walk/builtin.go

    			// len64 := int64(len)
    			// if int64(int(len64)) != len64 {
    			//     panicunsafeslicelen()
    			// }
    			len64 := typecheck.Conv(len, lenType)
    			nif := ir.NewIfStmt(base.Pos, nil, nil, nil)
    			nif.Cond = ir.NewBinaryExpr(base.Pos, ir.ONE, typecheck.Conv(typecheck.Conv(len64, types.Types[types.TINT]), lenType), len64)
    			nif.Body.Append(mkcall("panicunsafeslicelen", nil, &nif.Body))
    			appendWalkStmt(init, nif)
    		}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 08 22:35:22 UTC 2024
    - 31.2K bytes
    - Viewed (0)
  3. src/cmd/internal/goobj/builtinlist.go

    	{"runtime.block", 1},
    	{"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},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 21 21:08:03 UTC 2024
    - 7.4K bytes
    - Viewed (0)
  4. 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)
  5. src/cmd/compile/internal/typecheck/builtin.go

    	{"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},
    	{"panicunsafestringnilptr", funcTag, 9},
    	{"memmove", funcTag, 123},
    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/cmd/compile/internal/ssagen/ssa.go

    				n.Fun.Sym().Pkg == ir.Pkgs.Runtime &&
    					(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
    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