- Sort Score
- Result 10 results
- Languages All
Results 1 - 6 of 6 for panicmakeslicelen (0.21 sec)
-
test/codegen/slices.go
// amd64:-`.*runtime\.panicmakeslicelen` // amd64:"MOVUPS\tX15" // ppc64x:-`.*runtime\.memclrNoHeapPointers` // ppc64x:-`.*runtime\.makeslice` // ppc64x:-`.*runtime\.panicmakeslicelen` return append(s, make([]int, int64(1<<2))...) } func SliceExtensionConstUint64(s []int) []int { // amd64:-`.*runtime\.memclrNoHeapPointers` // amd64:-`.*runtime\.makeslice` // amd64:-`.*runtime\.panicmakeslicelen` // amd64:"MOVUPS\tX15"
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Feb 23 18:57:27 UTC 2023 - 9.8K bytes - Viewed (0) -
src/runtime/slice.go
if overflow || mem > maxAlloc || len < 0 { panicmakeslicelen() } panicmakeslicecap() } return mallocgc(mem, et, true) } func makeslice64(et *_type, len64, cap64 int64) unsafe.Pointer { len := int(len64) if int64(len) != len64 { panicmakeslicelen() } cap := int(cap64) if int64(cap) != cap64 { panicmakeslicecap() }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 29 16:25:21 UTC 2024 - 12.2K bytes - Viewed (0) -
src/cmd/compile/internal/walk/assign.go
// if l2 >= 0 (likely happens), do nothing nifneg := ir.NewIfStmt(base.Pos, ir.NewBinaryExpr(base.Pos, ir.OGE, l2, ir.NewInt(base.Pos, 0)), nil, nil) nifneg.Likely = true // else panicmakeslicelen() nifneg.Else = []ir.Node{mkcall("panicmakeslicelen", nil, init)} nodes = append(nodes, nifneg) // s := l1 s := typecheck.TempAt(base.Pos, ir.CurFunc, l1.Type()) nodes = append(nodes, ir.NewAssignStmt(base.Pos, s, l1))
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 08 17:09:06 UTC 2024 - 20.3K bytes - Viewed (0) -
src/cmd/compile/internal/typecheck/_builtin/runtime.go
import "unsafe" func newobject(typ *byte) *any func mallocgc(size uintptr, typ *byte, needszero bool) unsafe.Pointer func panicdivide() func panicshift() func panicmakeslicelen() func panicmakeslicecap() func throwinit() func panicwrap() func gopanic(interface{}) func gorecover(*int32) interface{} func goschedguarded() // Note: these declarations are just for wasm port.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 21 21:08:03 UTC 2024 - 10.6K bytes - Viewed (0) -
src/cmd/compile/internal/typecheck/builtin.go
} var runtimeDecls = [...]struct { name string tag int typ int }{ {"newobject", funcTag, 4}, {"mallocgc", funcTag, 8}, {"panicdivide", funcTag, 9}, {"panicshift", funcTag, 9}, {"panicmakeslicelen", funcTag, 9}, {"panicmakeslicecap", funcTag, 9}, {"throwinit", funcTag, 9}, {"panicwrap", funcTag, 9}, {"gopanic", funcTag, 11}, {"gorecover", funcTag, 14}, {"goschedguarded", 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) -
src/cmd/compile/internal/walk/builtin.go
// if len < 0 { panicmakeslicelen() } // panicmakeslicecap() // } nif := ir.NewIfStmt(base.Pos, ir.NewBinaryExpr(base.Pos, ir.OGT, typecheck.Conv(l, types.Types[types.TUINT64]), ir.NewInt(base.Pos, i)), nil, nil) niflen := ir.NewIfStmt(base.Pos, ir.NewBinaryExpr(base.Pos, ir.OLT, l, ir.NewInt(base.Pos, 0)), nil, nil) niflen.Body = []ir.Node{mkcall("panicmakeslicelen", nil, init)}
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Mar 08 22:35:22 UTC 2024 - 31.2K bytes - Viewed (0)