- Sort Score
- Result 10 results
- Languages All
Results 151 - 160 of 527 for frame_0 (0.12 sec)
-
src/runtime/testdata/testprogcgo/callback.go
os.Exit(1) } done := make(chan bool) // allocate a bunch of stack frames and spray them with pointers for i := 0; i < P; i++ { go func() { grow() done <- true }() } for i := 0; i < P; i++ { <-done } // now give these stack frames to cgo callbacks for i := 0; i < P; i++ { go func() { C.foo() done <- true }() }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Jun 01 14:05:01 UTC 2023 - 1.9K bytes - Viewed (0) -
src/runtime/cgo/asm_ppc64x.s
// fn is the PC of a func(a unsafe.Pointer) function. // The value of R2 is saved on the new stack frame, and not // the caller's frame due to issue #43228. TEXT crosscall2(SB),NOSPLIT|NOFRAME,$0 // Start with standard C stack frame layout and linkage, allocate // 32 bytes of argument space, save callee-save regs, and set R0 to $0. STACK_AND_SAVE_HOST_TO_GO_ABI(32)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 12 00:43:51 UTC 2023 - 2.4K bytes - Viewed (0) -
src/runtime/textflag.h
#define TLSBSS 256 // Do not insert instructions to allocate a stack frame for this function. // Only valid on functions that declare a frame size of 0. #define NOFRAME 512 // Function can call reflect.Type.Method or reflect.Type.MethodByName. #define REFLECTMETHOD 1024 // Function is the outermost frame of the call stack. Call stack unwinders // should stop at this function. #define TOPFRAME 2048
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Mar 01 17:28:41 UTC 2023 - 1.5K bytes - Viewed (0) -
src/cmd/vendor/github.com/google/pprof/internal/driver/tagroot.go
"github.com/google/pprof/internal/measurement" "github.com/google/pprof/profile" ) // addLabelNodes adds pseudo stack frames "label:value" to each Sample with // labels matching the supplied keys. // // rootKeys adds frames at the root of the callgraph (first key becomes new root). // leafKeys adds frames at the leaf of the callgraph (last key becomes new leaf). // // Returns whether there were matches found for the label keys.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Nov 22 18:58:12 UTC 2022 - 3.3K bytes - Viewed (0) -
src/runtime/cgo/abi_amd64.h
// license that can be found in the LICENSE file. // Macros for transitioning from the host ABI to Go ABI0. // // These save the frame pointer, so in general, functions that use // these should have zero frame size to suppress the automatic frame // pointer, though it's harmless to not do this. #ifdef GOOS_windows // REGS_HOST_TO_ABI0_STACK is the stack bytes used by // PUSH_REGS_HOST_TO_ABI0.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Apr 15 12:38:13 UTC 2021 - 2.7K bytes - Viewed (0) -
src/reflect/makefunc.go
// the function returned from MakeFunc. It expects a *callReflectFunc // as its context register, and its job is to invoke callReflect(ctxt, frame) // where ctxt is the context register and frame is a pointer to the first // word in the passed-in argument frame. func makeFuncStub() // The first 3 words of this type must be kept in sync with // makeFuncImpl and runtime.reflectMethodValue.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 02 15:20:05 UTC 2024 - 5.9K bytes - Viewed (0) -
src/runtime/debug/stack_test.go
} n++ } n++ frame("runtime/debug/stack.go", "runtime/debug.Stack") frame("runtime/debug/stack_test.go", "runtime/debug_test.(*T).ptrmethod") frame("runtime/debug/stack_test.go", "runtime/debug_test.T.method") frame("runtime/debug/stack_test.go", "runtime/debug_test.TestStack") frame("testing/testing.go", "") } func TestSetCrashOutput(t *testing.T) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 16 15:19:04 UTC 2024 - 5.5K bytes - Viewed (0) -
src/runtime/asm_arm64.s
RET // 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. MOVD fn+0(FP), R1 CBNZ R1, loadg // Restore the g from frame. MOVD frame+8(FP), g B dropm loadg:
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sat May 11 20:38:24 UTC 2024 - 43.4K bytes - Viewed (0) -
test/fixedbugs/issue29504.go
panic("did not panic") } var pcs [10]uintptr n := runtime.Callers(1, pcs[:]) iter := runtime.CallersFrames(pcs[:n]) buf := "" for { frame, more := iter.Next() buf += fmt.Sprintf("%s:%d %s\n", frame.File, frame.Line, frame.Function) if !more { break } } if !strings.Contains(buf, "999999") { fmt.Printf("could not find marker line in traceback:\n%s\n", buf) bad = true
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 30 21:30:30 UTC 2019 - 2.9K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/http2/Http2.kt
direction, streamId, length, formattedType, formattedFlags, ) } /** * Returns a human-readable representation of a `WINDOW_UPDATE` frame. This frame includes the * window size increment instead of flags. */ fun frameLogWindowUpdate( inbound: Boolean, streamId: Int, length: Int, windowSizeIncrement: Long, ): String {
Registered: Sun Jun 16 04:42:17 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 5.7K bytes - Viewed (0)