- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 47 for frame_0 (0.13 sec)
-
staging/src/k8s.io/apimachinery/pkg/util/framer/framer.go
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. */ // Package framer implements simple frame decoding techniques for an io.ReadCloser package framer import ( "encoding/binary" "encoding/json" "io" ) type lengthDelimitedFrameWriter struct { w io.Writer h [4]byte }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu May 09 13:33:12 UTC 2024 - 4.9K bytes - Viewed (0) -
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) -
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) -
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) -
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) -
src/cmd/trace/jsontrace_test.go
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) -
src/cmd/vendor/github.com/google/pprof/driver/driver.go
} type internalObjFile struct { ObjFile } func (f *internalObjFile) SourceLine(frame uint64) ([]plugin.Frame, error) { frames, err := f.ObjFile.SourceLine(frame) if err != nil { return nil, err } var pluginFrames []plugin.Frame for _, f := range frames { pluginFrames = append(pluginFrames, plugin.Frame(f)) } return pluginFrames, nil }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 31 19:48:28 UTC 2024 - 9.8K bytes - Viewed (0) -
src/reflect/asm_loong64.s
// Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. #include "textflag.h" #include "funcdata.h" #define REGCTXT R29 // The frames of each of the two functions below contain two locals, at offsets // that are known to the runtime. // // The first local is a bool called retValid with a whole pointer-word reserved
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 13 15:04:25 UTC 2024 - 2.7K bytes - Viewed (0) -
staging/src/k8s.io/apimachinery/pkg/util/framer/framer_test.go
t.Fatalf("unexpected: %v %d %v", err, n, buf) } // read the remaining frame buf = make([]byte, 2) if n, err := r.Read(buf); err != nil && n != 2 && bytes.Equal(buf, []byte{0x03, 0x04}) { t.Fatalf("unexpected: %v %d %v", err, n, buf) } // read with buffer equal to frame buf = make([]byte, 3) if n, err := r.Read(buf); err != nil && n != 3 && bytes.Equal(buf, []byte{0x05, 0x06, 0x07}) {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu May 09 13:33:12 UTC 2024 - 6.3K bytes - Viewed (0) -
src/runtime/traceback_system_test.go
func formatStack(pcs []uintptr) string { // When debugging, show file/line/content of files other than this one. const debug = false var buf strings.Builder i := 0 frames := runtime.CallersFrames(pcs) for { fr, more := frames.Next() if debug { fmt.Fprintf(&buf, "pc=%x ", pcs[i]) i++ } if base := filepath.Base(fr.File); base == "traceback_system_test.go" || debug {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 16 15:19:04 UTC 2024 - 7.4K bytes - Viewed (0)