Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for panicSliceB (0.1 sec)

  1. src/runtime/panic.go

    func panicIndex(x int, y int)
    func panicIndexU(x uint, y int)
    func panicSliceAlen(x int, y int)
    func panicSliceAlenU(x uint, y int)
    func panicSliceAcap(x int, y int)
    func panicSliceAcapU(x uint, y int)
    func panicSliceB(x int, y int)
    func panicSliceBU(x uint, y int)
    func panicSlice3Alen(x int, y int)
    func panicSlice3AlenU(x uint, y int)
    func panicSlice3Acap(x int, y int)
    func panicSlice3AcapU(x uint, y int)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 43.8K bytes
    - Viewed (0)
  2. test/codegen/stack.go

    // they might panic in various ways. See issue 31219.
    // amd64:"TEXT\t.*NOSPLIT.*"
    func MightPanic(a []int, i, j, k, s int) {
    	_ = a[i]     // panicIndex
    	_ = a[i:j]   // panicSlice
    	_ = a[i:j:k] // also panicSlice
    	_ = i << s   // panicShift
    	_ = i / j    // panicDivide
    }
    
    // Put a defer in a loop, so second defer is not open-coded
    func Defer() {
    	for i := 0; i < 2; i++ {
    		defer func() {}()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 29 21:29:41 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/ssagen/ssa.go

    		BoundsCheckFunc[ssa.BoundsSliceAcapU] = typecheck.LookupRuntimeFunc("panicSliceAcapU")
    		BoundsCheckFunc[ssa.BoundsSliceB] = typecheck.LookupRuntimeFunc("panicSliceB")
    		BoundsCheckFunc[ssa.BoundsSliceBU] = typecheck.LookupRuntimeFunc("panicSliceBU")
    		BoundsCheckFunc[ssa.BoundsSlice3Alen] = typecheck.LookupRuntimeFunc("panicSlice3Alen")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 19:44:43 UTC 2024
    - 284.9K bytes
    - Viewed (0)
  4. src/cmd/internal/obj/x86/obj6.go

    		return false
    	}
    	switch s.Name {
    	case "runtime.panicdivide", "runtime.panicwrap", "runtime.panicshift":
    		return true
    	}
    	if strings.HasPrefix(s.Name, "runtime.panicIndex") || strings.HasPrefix(s.Name, "runtime.panicSlice") {
    		// These functions do take arguments (in registers),
    		// but use no stack before they do a stack check. We
    		// should include them. See issue 31219.
    		return true
    	}
    	return false
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 08 18:36:45 UTC 2023
    - 40.9K bytes
    - Viewed (0)
Back to top