- Sort Score
- Result 10 results
- Languages All
Results 111 - 120 of 446 for Frame (0.11 sec)
-
src/runtime/testdata/testprogcgo/tracebackctxt.go
//export G1 func G1() { C.C2() } //export G2 func G2() { pc := make([]uintptr, 32) n := runtime.Callers(0, pc) cf := runtime.CallersFrames(pc[:n]) var frames []runtime.Frame for { frame, more := cf.Next() frames = append(frames, frame) if !more { break } } want := []struct { function string line int }{ {"main.G2", 0}, {"cFunction", 0x10200}, {"cFunction", 0x200},
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Jul 29 15:30:38 UTC 2021 - 2.8K bytes - Viewed (0) -
test/fixedbugs/issue17381.go
// run // Copyright 2016 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. // issue 17381: make sure leave function with non-empty frame // saves link register, so that traceback will work. package main import ( "runtime" "unsafe" ) func main() { defer func() { if recover() == nil { panic("did not panic") }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Oct 25 21:44:32 UTC 2016 - 1K bytes - Viewed (0) -
api/go1.7.txt
pkg runtime, method (*Frames) Next() (Frame, bool) pkg runtime, type Frame struct pkg runtime, type Frame struct, Entry uintptr pkg runtime, type Frame struct, File string pkg runtime, type Frame struct, Func *Func pkg runtime, type Frame struct, Function string pkg runtime, type Frame struct, Line int pkg runtime, type Frame struct, PC uintptr pkg runtime, type Frames struct
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jun 28 15:08:11 UTC 2016 - 13.6K bytes - Viewed (0) -
src/runtime/asm_riscv64.s
MOV ZERO, ZERO // NOP // func cgocallback(fn, frame unsafe.Pointer, ctxt uintptr) // See cgocall.go for more details. TEXT ·cgocallback(SB),NOSPLIT,$24-24 NO_LOCAL_POINTERS // Skip cgocallbackg, just dropm when fn is nil, and frame is the saved g. // It is used to dropm while thread is exiting. MOV fn+0(FP), X7 BNE ZERO, X7, loadg // Restore the g from frame. MOV frame+8(FP), g JMP dropm loadg:
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Nov 09 13:57:06 UTC 2023 - 27K bytes - Viewed (0) -
src/runtime/asm_amd64.s
// Gather our arguments into registers. MOVQ fn+0(FP), BX MOVQ frame+8(FP), CX MOVQ ctxt+16(FP), DX // Compute the size of the frame, including return PC and, if // GOEXPERIMENT=framepointer, the saved base pointer LEAQ fn+0(FP), AX SUBQ SP, AX // AX is our actual frame size SUBQ AX, DI // Allocate the same frame size on the g stack MOVQ DI, SP MOVQ BX, 0(SP) MOVQ CX, 8(SP)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sat May 11 20:38:24 UTC 2024 - 60.4K bytes - Viewed (0) -
internal/s3select/message.go
"encoding/binary" "fmt" "hash/crc32" "net/http" "strconv" "sync/atomic" "time" ) // A message is in the format specified in // https://docs.aws.amazon.com/AmazonS3/latest/API/images/s3select-frame-diagram-frame-overview.png // hence the calculation is made accordingly. func totalByteLength(headerLength, payloadLength int) int { return 4 + 4 + 4 + headerLength + payloadLength + 4 }
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Tue Aug 30 15:26:43 UTC 2022 - 15.2K bytes - Viewed (0) -
src/cmd/go/internal/work/security_test.go
{"-O2"}, {"-Osmall"}, {"-W"}, {"-Wall"}, {"-Wp,-Dfoo=bar"}, {"-Wp,-Ufoo"}, {"-Wp,-Dfoo1"}, {"-Wp,-Ufoo1"}, {"-flto"}, {"-fobjc-arc"}, {"-fno-objc-arc"}, {"-fomit-frame-pointer"}, {"-fno-omit-frame-pointer"}, {"-fpic"}, {"-fno-pic"}, {"-fPIC"}, {"-fno-PIC"}, {"-fpie"}, {"-fno-pie"}, {"-fPIE"}, {"-fno-PIE"}, {"-fsplit-stack"}, {"-fno-split-stack"}, {"-fstack-xxx"},
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 20 15:47:34 UTC 2024 - 7.3K bytes - Viewed (0) -
src/runtime/syscall_windows.go
} if a.srcStackOffset+a.len == b.srcStackOffset && a.dstStackOffset+a.len == b.dstStackOffset { a.len += b.len return true } return false } // abiDesc specifies how to translate from a C frame to a Go // frame. This does not specify how to translate back because // the result is always a uintptr. If the C ABI is fastcall, // this assumes the four fastcall registers were first spilled // to the shadow space.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 20:12:46 UTC 2024 - 16.6K bytes - Viewed (0) -
platforms/jvm/language-java/src/test/groovy/org/gradle/api/internal/tasks/compile/AnnotationProcessingCompileTaskTest.groovy
when: processTask.call() then: def e = thrown(Throwable) def root = Throwables.getRootCause(e) root.message == errorMsg root.stackTrace.any { frame -> frame.className == throwingClass } !Throwables.getCausalChain(e).any { c -> c.class == InvocationTargetException.class } where:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Aug 28 11:40:18 UTC 2023 - 3.3K bytes - Viewed (0) -
src/cmd/internal/obj/x86/seh.go
break } if p.Pos.Xlogue() == src.PosPrologueEnd { break } } if pushbp == nil { ctxt.Diag("missing frame pointer instruction: PUSHQ BP") return } // It must be followed by a MOVQ SP, BP. movbp := pushbp.Link if movbp == nil { ctxt.Diag("missing frame pointer instruction: MOVQ SP, BP") return } if !(movbp.As == AMOVQ && movbp.From.Type == obj.TYPE_REG && movbp.From.Reg == REG_SP &&
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 15 14:41:10 UTC 2024 - 4.6K bytes - Viewed (0)