- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 527 for frame_0 (0.39 sec)
-
src/internal/trace/trace_test.go
totalTraceSamples++ if hogRegion != nil && ev.Goroutine() == hogRegion.Goroutine() { traceSamples++ var fns []string ev.Stack().Frames(func(frame trace.StackFrame) bool { if frame.Func != "runtime.goexit" { fns = append(fns, fmt.Sprintf("%s:%d", frame.Func, frame.Line)) } return true }) stack := strings.Join(fns, "|") traceStacks[stack]++ } }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 17 18:48:18 UTC 2024 - 18.5K bytes - Viewed (0) -
src/cmd/pprof/pprof.go
} 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. // This is for C functions that appear in the profile. // Returns nil if there is no information available. func (f *file) dwarfSourceLine(addr uint64) []driver.Frame {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 14 19:41:17 UTC 2024 - 9.5K bytes - Viewed (0) -
hack/lib/logging.sh
local funcname=${FUNCNAME[${frame_no}]} echo " ${i}: ${source_file}:${source_lineno} ${funcname}(...)" >&2 done fi } # Log an error and exit. # Args: # $1 Message to log with the error # $2 The error code to return # $3 The number of stack frames to skip when printing. kube::log::error_exit() { local message="${1:-}" local code="${2:-1}" local stack_skip="${3:-0}"
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Feb 06 14:40:08 UTC 2024 - 4.3K bytes - Viewed (0) -
test/fixedbugs/issue25507.go
// Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. // We have a limit of 1GB for stack frames. // Test that we extend that limit to include large argument/return areas. // Argument/return areas are part of the parent frame, not the frame itself, // so they need to be handled separately. package main // >1GB to trigger failure, <2GB to work on 32-bit platforms. type large struct {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Dec 14 17:37:52 UTC 2020 - 754 bytes - Viewed (0) -
utils/utils.go
len := runtime.Callers(3, pcs[:]) frames := runtime.CallersFrames(pcs[:len]) for i := 0; i < len; i++ { // second return value is "more", not "ok" frame, _ := frames.Next() if (!strings.HasPrefix(frame.File, gormSourceDir) || strings.HasSuffix(frame.File, "_test.go")) && !strings.HasSuffix(frame.File, ".gen.go") { return string(strconv.AppendInt(append([]byte(frame.File), ':'), int64(frame.Line), 10)) } } return ""
Registered: Wed Jun 12 16:27:09 UTC 2024 - Last Modified: Mon Apr 22 06:43:02 UTC 2024 - 3.8K bytes - Viewed (0) -
src/runtime/traceback_test.go
if !found { fatal("missing (") } frame := parseFrame(funcName, args) cur.frames = append(cur.frames, frame) case elidedRe.MatchString(line): // "...N frames elided..." nStr := elidedRe.FindStringSubmatch(line) n, _ := strconv.Atoi(nStr[1]) frame := &tbFrame{elided: n} cur.frames = append(cur.frames, frame) } } return tbs }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Dec 14 17:22:18 UTC 2023 - 22.9K bytes - Viewed (0) -
cmd/kubeadm/app/util/pkiutil/testing/testing.go
lock.Lock() defer lock.Unlock() var pcs [50]uintptr nCallers := runtime.Callers(2, pcs[:]) frames := runtime.CallersFrames(pcs[:nCallers]) thisTest := "" for { frame, more := frames.Next() if strings.HasSuffix(frame.File, "_test.go") && testFunction.MatchString(frame.Function) { thisTest = frame.Function break } if !more { break } } if len(thisTest) == 0 {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Jan 31 21:49:21 UTC 2024 - 3K bytes - Viewed (0) -
platforms/ide/problems-api/src/main/java/org/gradle/internal/problems/failure/StackTraceClassifier.java
/** * Classifies stack frames by their {@link StackTraceRelevance relevance}. * <p> * Classifiers are meant to be heuristic, determining the relevance on the best-effort basis. */ public interface StackTraceClassifier { StackTraceClassifier USER_CODE = new StackTraceClassifier() { @Override public StackTraceRelevance classify(StackTraceElement frame) { return StackTraceRelevance.USER_CODE;
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Mar 25 23:52:10 UTC 2024 - 1.3K bytes - Viewed (0) -
platforms/ide/problems-api/src/main/java/org/gradle/internal/problems/failure/Failure.java
* * @see Throwable#toString() */ String getHeader(); /** * Stack frames from the original exception. */ List<StackTraceElement> getStackTrace(); /** * Relevance of a given stack frame in the {@link #getStackTrace() stack trace}. */ StackTraceRelevance getStackTraceRelevance(int frameIndex); /**
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Apr 23 17:15:42 UTC 2024 - 2K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/http2/Http2Reader.kt
import okio.ByteString import okio.Source import okio.Timeout /** * Reads HTTP/2 transport frames. * * This implementation assumes we do not send an increased [frame][Settings.getMaxFrameSize] to the * peer. Hence, we expect all frames to have a max length of [Http2.INITIAL_MAX_FRAME_SIZE]. */ class Http2Reader( /** Creates a frame reader with max header table size of 4096. */ private val source: BufferedSource,
Registered: Sun Jun 16 04:42:17 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 19.9K bytes - Viewed (0)