Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 195 for aframe (0.22 sec)

  1. src/internal/trace/traceviewer/emitter.go

    	}
    	last := len(stk) - 1
    	frame := stk[last]
    	stk = stk[:last]
    
    	node, ok := parent.children[frame.PC]
    	if !ok {
    		e.frameSeq++
    		node.id = e.frameSeq
    		node.children = make(map[uint64]frameNode)
    		parent.children[frame.PC] = node
    		e.c.ConsumeViewerFrame(strconv.Itoa(node.id), format.Frame{Name: fmt.Sprintf("%v:%v", frame.Fn, frame.Line), Parent: parent.id})
    	}
    	return e.buildBranch(node, stk)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 21 21:29:58 UTC 2023
    - 20.4K bytes
    - Viewed (0)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. okhttp/src/main/kotlin/okhttp3/internal/ws/WebSocketReader.kt

          reason: String,
        )
      }
    
      /**
       * Process the next protocol frame.
       *
       *  * If it is a control frame this will result in a single call to [FrameCallback].
       *  * If it is a message frame this will result in a single call to [FrameCallback.onReadMessage].
       *    If the message spans multiple frames, each interleaved control frame will result in a
       *    corresponding call to [FrameCallback].
       */
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 9.8K bytes
    - Viewed (0)
  7. src/runtime/stack_test.go

    	// and that we see TestTracebackSystemstack.
    	countIn, countOut := 0, 0
    	frames := CallersFrames(pcs)
    	var tb strings.Builder
    	for {
    		frame, more := frames.Next()
    		fmt.Fprintf(&tb, "\n%s+0x%x %s:%d", frame.Function, frame.PC-frame.Entry, frame.File, frame.Line)
    		switch frame.Function {
    		case "runtime.TracebackSystemstack":
    			countIn++
    		case "runtime_test.TestTracebackSystemstack":
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jun 14 00:03:57 UTC 2023
    - 23.1K bytes
    - Viewed (0)
  8. src/cmd/vendor/github.com/google/pprof/internal/symbolizer/symbolizer.go

    		l.IsFolded = false
    		for i, frame := range stack {
    			if frame.Func != "" {
    				m.HasFunctions = true
    			}
    			if frame.File != "" {
    				m.HasFilenames = true
    			}
    			if frame.Line != 0 {
    				m.HasLineNumbers = true
    			}
    			f := addFunction(&profile.Function{
    				Name:       frame.Func,
    				SystemName: frame.Func,
    				Filename:   frame.File,
    			})
    			l.Line[i] = profile.Line{
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 19:48:28 UTC 2024
    - 10K bytes
    - Viewed (0)
  9. test/nosplit.go

    #
    # 64-bit systems do not attempt to execute test cases with frame sizes
    # that are only 32-bit aligned.
    
    # Ordinary function should work
    start 0
    
    # Large frame marked nosplit is always wrong.
    # Frame is so large it overflows cmd/link's int16.
    start 100000 nosplit
    REJECT
    
    # Calling a large frame is okay.
    start 0 call big
    big 10000
    
    # But not if the frame is nosplit.
    start 0 call big
    big 10000 nosplit
    REJECT
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:25 UTC 2023
    - 11.3K bytes
    - Viewed (0)
  10. src/cmd/trace/pprof.go

    	for stack, record := range m.stacks {
    		rec := *record
    		i := 0
    		stack.Frames(func(frame trace.StackFrame) bool {
    			rec.Stack = append(rec.Stack, &trace.Frame{
    				PC:   frame.PC,
    				Fn:   frame.Func,
    				File: frame.File,
    				Line: int(frame.Line),
    			})
    			i++
    			// Cut this off at pprofMaxStack because that's as far
    			// as our deduplication goes.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 10.1K bytes
    - Viewed (0)
Back to top