Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 96 for frameset (0.15 sec)

  1. src/cmd/trace/viewer.go

    	"internal/trace"
    	"internal/trace/traceviewer"
    	"time"
    )
    
    // viewerFrames returns the frames of the stack of ev. The given frame slice is
    // used to store the frames to reduce allocations.
    func viewerFrames(stk trace.Stack) []*trace.Frame {
    	var frames []*trace.Frame
    	stk.Frames(func(f trace.StackFrame) bool {
    		frames = append(frames, &trace.Frame{
    			PC:   f.PC,
    			Fn:   f.Func,
    			File: f.File,
    			Line: int(f.Line),
    		})
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  2. src/runtime/tracestack.go

    // pcBuf and dst should not overlap.
    //
    // fpunwindExpand checks if pcBuf contains logical frames (which include inlined
    // frames) or physical frames (produced by frame pointer unwinding) using a
    // sentinel value in pcBuf[0]. Logical frames are simply returned without the
    // sentinel. Physical frames are turned into logical frames via inline unwinding
    // and by applying the skip value that's stored in pcBuf[0].
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 21 14:38:56 UTC 2024
    - 11K bytes
    - Viewed (0)
  3. platforms/core-configuration/declarative-dsl-core/src/main/kotlin/org/gradle/internal/declarativedsl/schemaBuilder/PropertyExtractor.kt

            val nameSet = mutableSetOf<String>()
            val predicateWithNamesFiltered: (String) -> Boolean = { propertyNamePredicate(it) && it !in nameSet }
            extractors.forEach { extractor ->
                val properties = extractor.extractProperties(kClass, predicateWithNamesFiltered)
                addAll(properties)
                nameSet.addAll(properties.map { it.name })
            }
        }
    }
    
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 14 10:08:01 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  4. 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:]
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 40K bytes
    - Viewed (0)
  5. tests/integration/ambient/waypoint_test.go

    				"--name",
    				"w3",
    				"--enroll-namespace",
    				"true",
    				"--wait",
    			})
    			nameSet = append(nameSet, "w3")
    
    			output, _ := istioctl.NewOrFail(t, t, istioctl.Config{}).InvokeOrFail(t, []string{
    				"waypoint",
    				"list",
    				"--namespace",
    				nsConfig.Name(),
    			})
    			for _, name := range nameSet {
    				if !strings.Contains(output, name) {
    					t.Fatalf("expect to find %s in output: %s", name, output)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 22:12:34 UTC 2024
    - 11.4K bytes
    - Viewed (0)
  6. src/internal/trace/raw/event.go

    		s.WriteString(strconv.FormatUint(e.Args[i], 10))
    	}
    	if spec.IsStack {
    		frames := e.Args[len(spec.Args):]
    		for i := 0; i < len(frames); i++ {
    			if i%4 == 0 {
    				s.WriteString("\n\t")
    			} else {
    				s.WriteString(" ")
    			}
    			s.WriteString(frameFields[i%4])
    			s.WriteString("=")
    			s.WriteString(strconv.FormatUint(frames[i], 10))
    		}
    	}
    	if e.Data != nil {
    		s.WriteString("\n\tdata=")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  7. src/runtime/traceback.go

    	// - Keep a ring buffer of the last N logical frames and use this to print
    	//   the bottom frames once we reach the end of the stack. This works, but
    	//   requires keeping a surprising amount of state on the stack, and we have
    	//   to run the cgo symbolizer twice—once to count frames, and a second to
    	//   print them—since we can't retain the strings it returns.
    	//
    	// Instead, we print the outer frames, and if we reach that limit, we clone
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 16:25:21 UTC 2024
    - 55.1K bytes
    - Viewed (0)
  8. src/cmd/pprof/pprof.go

    	if fn != nil {
    		frame := []driver.Frame{
    			{
    				Func: fn.Name,
    				File: file,
    				Line: line,
    			},
    		}
    		return frame, nil
    	}
    
    	frames := f.dwarfSourceLine(addr)
    	if frames != nil {
    		return frames, nil
    	}
    
    	return nil, fmt.Errorf("no line information for PC=%#x", addr)
    }
    
    // dwarfSourceLine tries to get file/line information using DWARF.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 14 19:41:17 UTC 2024
    - 9.5K bytes
    - Viewed (0)
  9. src/cmd/trace/jsontrace_test.go

    		}
    		if keep {
    			filtered.Events = append(filtered.Events, e)
    		}
    	}
    	return
    }
    
    func stackFrames(data *format.Data, stackID int) (frames []string) {
    	for {
    		frame, ok := data.Frames[strconv.Itoa(stackID)]
    		if !ok {
    			return
    		}
    		frames = append(frames, frame.Name)
    		stackID = frame.Parent
    	}
    }
    
    func checkProcStartStop(t *testing.T, data format.Data) {
    	procStarted := map[uint64]bool{}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 7.8K bytes
    - Viewed (0)
  10. src/cmd/vendor/github.com/google/pprof/internal/report/source.go

    			})
    		}
    		return stack
    	}
    
    	for _, addr := range unprocessed {
    		frames := makeFrames(addr)
    		x := instructionInfo{
    			objAddr: addr,
    			length:  1,
    			disasm:  synthAsm,
    		}
    		if len(frames) > 0 {
    			x.file = frames[0].File
    			x.line = frames[0].Line
    		}
    		sp.insts[addr] = x
    
    		sp.addStack(addr, frames)
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 19:48:28 UTC 2024
    - 31.3K bytes
    - Viewed (0)
Back to top