Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 525 for aframe (0.1 sec)

  1. src/runtime/callers_test.go

    	return ret[:runtime.Callers(0, ret)] // line 27
    }
    
    func testCallers(t *testing.T, pcs []uintptr, pan bool) {
    	m := make(map[string]int, len(pcs))
    	frames := runtime.CallersFrames(pcs)
    	for {
    		frame, more := frames.Next()
    		if frame.Function != "" {
    			m[frame.Function] = frame.Line
    		}
    		if !more {
    			break
    		}
    	}
    
    	var seen []string
    	for k := range m {
    		seen = append(seen, k)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Aug 28 21:36:31 UTC 2023
    - 12.1K bytes
    - Viewed (0)
  2. src/runtime/start_line_test.go

    	}
    
    	frames := runtime.CallersFrames(pcs[:])
    	frame, _ := frames.Next()
    
    	inlined := frame.Func == nil // Func always set to nil for inlined frames
    	if wantInlined != inlined {
    		panic(fmt.Sprintf("caller %s inlined got %v want %v", frame.Function, inlined, wantInlined))
    	}
    
    	return runtime.FrameStartLine(&frame)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 20 22:54:22 UTC 2023
    - 2.6K bytes
    - Viewed (0)
  3. src/runtime/cgo/gcc_linux_ppc64x.S

     * callee-save, so they must be saved explicitly.
     */
    .globl crosscall_ppc64
    crosscall_ppc64:
    	// Start with standard C stack frame layout and linkage
    	mflr	%r0
    	std	%r0, 16(%r1)	// Save LR in caller's frame
    	mfcr	%r0
    	std	%r0, 8(%r1)	// Save CR in caller's frame
    	stdu	%r1, -FRAME_SIZE(%r1)
    	std	%r2, 24(%r1)
    
    	FOR_EACH_GPR std
    	FOR_EACH_FPR stfd
    	FOR_EACH_VR stvx
    
    	// Set up Go ABI constant registers
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 04 18:03:04 UTC 2023
    - 2K bytes
    - Viewed (0)
  4. test/fixedbugs/issue8048.go

    	// corresponding to this panicked frame and ignore
    	// the frame entirely.
    	var x *int
    	var b bool
    	if b {
    		y := make([]int, 1)
    		runtime.GC()
    		x = &y[0]
    	}
    	println(*x)
    }
    
    func test2() {
    	// Same as test1, but the fault happens in the function with the defer.
    	// The runtime should see the defer and garbage collect the frame
    	// as if the PC were immediately after the defer statement.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 02 13:43:18 UTC 2016
    - 2K bytes
    - Viewed (0)
  5. src/runtime/symtab.go

    	switch len(ci.frames) {
    	case 0: // In the rare case when there are no frames at all, we return Frame{}.
    		return
    	case 1:
    		frame = ci.frames[0]
    		ci.frames = ci.frameStore[:0]
    	case 2:
    		frame = ci.frames[0]
    		ci.frameStore[0] = ci.frames[1]
    		ci.frames = ci.frameStore[:1]
    	default:
    		frame = ci.frames[0]
    		ci.frames = ci.frames[1:]
    	}
    	more = len(ci.frames) > 0
    	if frame.funcInfo.valid() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 40K bytes
    - Viewed (0)
  6. src/runtime/cgo/signal_ios_arm64.s

    	// Build a 32-byte stack frame for us for this call.
    	// Saved LR (none available) is at the bottom,
    	// then the PC argument for setsigsegv,
    	// then a copy of the LR for us to restore.
    	MOVD.W $0, -32(RSP)
    	MOVD R1, 8(RSP)
    	MOVD R2, 16(RSP)
    	BL runtime·setsigsegv(SB)
    	MOVD 8(RSP), R1
    	MOVD 16(RSP), R2
    
    	// Build a 16-byte stack frame for the simulated
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Oct 06 22:54:58 UTC 2020
    - 1.8K bytes
    - Viewed (0)
  7. src/cmd/trace/regions.go

    <th>Region type</th>
    <th>Count</th>
    <th>Duration distribution (complete tasks)</th>
    </tr>
    {{range $}}
      <tr>
        <td><pre>{{printf "%q" .Type}}<br>{{.Frame.Func}} @ {{printf "0x%x" .Frame.PC}}<br>{{.Frame.File}}:{{.Frame.Line}}</pre></td>
        <td><a href="/userregion?type={{.Type}}&pc={{.Frame.PC | printf "%x"}}">{{.Histogram.Count}}</a></td>
        <td>{{.Histogram.ToHTML (.UserRegionURL)}}</td>
      </tr>
    {{end}}
    </table>
    </body>
    </html>
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 14.3K bytes
    - Viewed (0)
  8. src/strings/search.go

    	// badCharSkip[b] is len(pattern).
    	//
    	// Whenever a mismatch is found with byte b in the text, we can safely
    	// shift the matching frame at least badCharSkip[b] until the next time
    	// the matching char could be in alignment.
    	badCharSkip [256]int
    
    	// goodSuffixSkip[i] defines how far we can shift the matching frame given
    	// that the suffix pattern[i+1:] matches, but the byte pattern[i] does
    	// not. There are two cases to consider:
    	//
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Aug 07 18:49:51 UTC 2023
    - 4.1K bytes
    - Viewed (0)
  9. tensorflow/compiler/jit/deadness_analysis.cc

    // the same root frame are placed adjacent to each other.  This grouping enables
    // processing the graph per root frame at a time and guarantees that when a root
    // frame is being processed, nodes in the downstream frames have not yet been
    // processed.  This property is important because we need to process an entire
    // frame to know whether the optimistic mode converges or not.  In other words,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Mar 12 06:33:33 UTC 2024
    - 60.4K bytes
    - Viewed (0)
  10. src/runtime/mkpreempt.go

    	}
    	if l.stack%16 != 0 {
    		l.stack += 8 // SP needs 16-byte alignment
    	}
    
    	// allocate frame, save PC of interrupted instruction (in LR)
    	p("MOVD R30, %d(RSP)", -l.stack)
    	p("SUB $%d, RSP", l.stack)
    	p("MOVD R29, -8(RSP)") // save frame pointer (only used on Linux)
    	p("SUB $8, RSP, R29")  // set up new frame pointer
    	// On iOS, save the LR again after decrementing SP. We run the
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Nov 20 17:19:36 UTC 2023
    - 15.3K bytes
    - Viewed (0)
Back to top